commit af264c886b4b941d29a9c46260962f7b5f9963c5 Author: Tom Callaway <spot@xxxxxxxxxxxxxxxxx> Date: Fri Jul 27 13:52:41 2012 -0400 add epel provides glue perl-List-MoreUtils.spec | 170 ++++++++++++++++++++++++++++++++++++---------- sources | 2 +- 2 files changed, 134 insertions(+), 38 deletions(-) --- diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec index a47e144..683b026 100644 --- a/perl-List-MoreUtils.spec +++ b/perl-List-MoreUtils.spec @@ -1,69 +1,165 @@ -Name: perl-List-MoreUtils -Version: 0.22 -Release: 2%{?dist} -Summary: Provide the stuff missing in List::Util - -Group: Development/Libraries -License: GPL or Artistic -URL: http://search.cpan.org/dist/List-MoreUtils/ -Source0: http://www.cpan.org/authors/id/V/VP/VPARSEVAL/List-MoreUtils-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Name: perl-List-MoreUtils +Version: 0.33 +Release: 5%{?dist} +Summary: Provide the stuff missing in List::Util +Group: Development/Libraries +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/List-MoreUtils/ +Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Pod::Simple) +BuildRequires: perl(Test::CPAN::Meta) +%if "%{rhel}" != "4" && "%{rhel}" != "5" +BuildRequires: perl(Test::LeakTrace) +# Test::MinimumVersion -> Perl::MinimumVersion -> PPI -> List::MoreUtils +%if 0%{!?perl_bootstrap:1} +BuildRequires: perl(Test::MinimumVersion) +%endif +%endif +BuildRequires: perl(Test::More) >= 0.42 +BuildRequires: perl(Test::Pod) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +# Don't "provide" private Perl libs +%{?perl_default_filter} + +%if 0%{?rhel} < 6 +%global _use_internal_dependency_generator 0 +%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u +%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}" +%global __find_requires /bin/sh -c "%{__deploop R}" +%endif %description List::MoreUtils provides some trivial but commonly needed functionality -on lists which is not going to go into List::Util. - +on lists that is not going to go into List::Util. %prep %setup -q -n List-MoreUtils-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type f -name '*.bs' -empty -exec rm -f {} ';' -find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +rm -rf %{buildroot} +make pure_install DESTDIR=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';' +find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null +%{_fixperms} %{buildroot} %check make test - +make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1 %clean -rm -rf $RPM_BUILD_ROOT - +rm -rf %{buildroot} %files %defattr(-,root,root,-) -%doc Changes README +%doc Changes README LICENSE %{perl_vendorarch}/List/ %{perl_vendorarch}/auto/List/ -%{_mandir}/man3/*.3pm* - +%{_mandir}/man3/List::MoreUtils.3pm* %changelog +* Fri Jul 27 2012 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.33-5 +- add epel filtering mechanism + +* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.33-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.33-3 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Tue Jun 19 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 0.33-2 +- Perl 5.16 rebuild + +* Tue Jan 24 2012 Paul Howarth <paul@xxxxxxxxxxxx> - 0.33-1 +- Update to 0.33 + - Updated can_xs to fix a bug in it +- Reinstate compatibility with old distributions like EL-5 +- Drop Test::More version requirement to 0.42 +- BR: perl(ExtUtils::MakeMaker) +- BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available +- BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion) + (if we're not bootstrapping) and perl(Test::Pod), and run the developer tests + too +- Don't use macros for commands +- Use %%{_fixperms} macro rather than our own chmod incantation +- Make %%files list more specific +- Use tabs + +* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.32-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Jul 18 2011 Petr Sabata <contyk@xxxxxxxxxx> - 0.32-3 +- Perl mass rebuild + +* Tue Jul 12 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.32-2 +- Rebuild to fix broken rawhide deps + +* Sat Jul 02 2011 Iain Arnell <iarnell@xxxxxxxxx> - 0.32-1 +- Update to latest upstream version + +* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.30-3 +- Perl mass rebuild + +* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.30-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Jan 03 2011 Iain Arnell <iarnell@xxxxxxxxx> - 0.30-1 +- Update to latest upstream version +- Clean up spec for modern rpmbuild +- Use perl_default_filter +- Remove unnecessary buildrequires + +* Mon Dec 20 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.22-12 +- Rebuild to fix problems with vendorarch/lib (#661697) + +* Mon May 03 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.22-11 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.22-10 +- Rebuild against perl 5.10.1 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.22-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.22-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.22-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.22-6 +- Rebuild normally, second pass + +* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.22-5 +- Rebuild for perl 5.10 (again), tests disabled for first pass + +* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxx> - 0.22-4 +- Autorebuild for GCC 4.3 + +* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.22-3 +- Rebuild normally, second pass + +* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.22-2.1 +- Rebuild for new perl, first pass, disable TPC and tests + * Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2 -- Rebuild for FC6. +- Rebuild for FC6 * Mon Jul 3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1 -- Update to 0.22. +- Update to 0.22 * Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1 -- Update to 0.21. +- Update to 0.21 * Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1 -- Update to 0.20. +- Update to 0.20 * Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1 -- First build. +- First build diff --git a/sources b/sources index 2bef54c..79f7ce7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3a6ec506f40662ab1296c48c5eb72016 List-MoreUtils-0.22.tar.gz +8a33c84028cc2ff3e92c92434b326c0f List-MoreUtils-0.33.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