commit 842cd16b9fb47c5816b082eefa34f0699e820fb4 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Wed Mar 20 11:20:37 2013 +0100 Import .gitignore | 1 + perl-List-AllUtils.spec | 52 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..22c5eb7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/List-AllUtils-0.03.tar.gz diff --git a/perl-List-AllUtils.spec b/perl-List-AllUtils.spec new file mode 100644 index 0000000..d95c419 --- /dev/null +++ b/perl-List-AllUtils.spec @@ -0,0 +1,52 @@ +Name: perl-List-AllUtils +Version: 0.03 +Release: 1%{?dist} +Summary: Combines List::Util and List::MoreUtils +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/List-AllUtils/ +Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/List-AllUtils-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(base) +BuildRequires: perl(Exporter) +BuildRequires: perl(List::MoreUtils) >= 0.28 +BuildRequires: perl(List::Util) +# Tests: +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(List::Util) + +%description +Are you sick of trying to remember whether a particular helper is defined +in List::Util or List::MoreUtils? I sure am. Now you don't have to remember. +This module will export all of the functions that either of those two +modules defines. + +%prep +%setup -q -n List-AllUtils-%{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 LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Mar 07 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.03-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..9215418 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6fe9fb39bc1e091a8ecc4791808e2f25 List-AllUtils-0.03.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