commit 52ad4bce024ec80c8f36dd3dffacc02b95dffd2e Author: Emmanuel Seyman <emmanuel@xxxxxxxxx> Date: Wed Mar 13 08:00:48 2013 +0100 Initial import. .gitignore | 1 + perl-Any-URI-Escape.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..ed69501 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Any-URI-Escape-0.01.tar.gz diff --git a/perl-Any-URI-Escape.spec b/perl-Any-URI-Escape.spec new file mode 100644 index 0000000..1b3c7ed --- /dev/null +++ b/perl-Any-URI-Escape.spec @@ -0,0 +1,52 @@ +Name: perl-Any-URI-Escape +Version: 0.01 +Release: 2%{?dist} +Summary: Load URI::Escape::XS preferentially over URI::Escape +License: GPL+ or Artistic + +URL: http://search.cpan.org/dist/Any-URI-Escape/ +Source0: http://www.cpan.org/authors/id/P/PH/PHRED/Any-URI-Escape-%{version}.tar.gz + +BuildArch: noarch +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Test::More) +BuildRequires: perl(URI::Escape) +Requires: perl(URI::Escape) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +URI::Escape is great, but URI::Escape::XS is faster. This module loads +URI::Escape::XS and imports the two most common methods if XS is installed. + +%prep +%setup -q -n Any-URI-Escape-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/Any* +%{_mandir}/man3/* + +%changelog +* Sun Mar 10 2013 Emmanuel Seyman <emmanuel@xxxxxxxxx> - 0.01-2 +- Take into account review comments (#916672) + +* Mon Jul 30 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.01-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..685e177 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2a1d051af8842a46bff7001678fedb55 Any-URI-Escape-0.01.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel