From 79259a2248bca25f7d4a7956a6daf0830b6d3211 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 25 Nov 2014 12:41:49 +0200 Subject: [PATCH] use generic url --- perl-Exporter-Lite.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/perl-Exporter-Lite.spec b/perl-Exporter-Lite.spec index 090e5c2..0d3cc5d 100644 --- a/perl-Exporter-Lite.spec +++ b/perl-Exporter-Lite.spec @@ -2,9 +2,9 @@ # Conditional build: %bcond_without tests # do not perform "make test" -%include /usr/lib/rpm/macros.perl %define pdir Exporter %define pnam Lite +%include /usr/lib/rpm/macros.perl Summary: Exporter::Lite - lightweight exporting of variables Summary(pl.UTF-8): Exporter::Lite - lekkie eksportowanie zmiennych Name: perl-Exporter-Lite @@ -15,6 +15,7 @@ License: unknown Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: e2ed5978a09020de16b5cf30c84566b0 +URL: http://search.cpan.org/dist/Exporter-Lite/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch @@ -22,12 +23,12 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This is an alternative to Exporter intended to provide a lightweight -subset of its functionality. It supports import(), @EXPORT and +subset of its functionality. It supports import(), @EXPORT and @EXPORT_OK and not a whole lot else. Unlike Exporter, it is not necessary to inherit from Exporter::Lite -(ie. no @ISA = qw(Exporter::Lite) mantra). Exporter::Lite simply -exports its import() function. This might be called a "mix-in". +(ie. no @ISA = qw(Exporter::Lite) mantra). Exporter::Lite simply +exports its import() function. This might be called a "mix-in". %description -l pl.UTF-8 Ten moduł jest alternatywą dla Exportera mającą udostępnić lekki @@ -36,8 +37,8 @@ podzbiór jego funkcjonalności. Obsługuje import(), @EXPORT oraz W przeciwieństwie do Exportera, nie trzeba dziedziczyć z Exporter::Lite (czyli wykonywać mantry @ISA = qw(Exporter::Lite)). -Exporter::Lite po prostu eksportuje swoją funkcję import(). Można -to nazwać "miksowaniem". +Exporter::Lite po prostu eksportuje swoją funkcję import(). Można to +nazwać "miksowaniem". %prep %setup -q -n %{pdir}-%{pnam}-%{version} -- 2.44.0