[perl-List-MoreUtils] Update to 0.33
Paul Howarth
pghmcfc at fedoraproject.org
Tue Jan 24 16:53:39 UTC 2012
commit 4ed7cee9920029271b379ae41a7e095e1040d595
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Jan 24 15:25:42 2012 +0000
Update to 0.33
- New upstream release 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(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion)
(if we're not bootstrapping) and perl(Test::Pod), and run the developer tests
too
- BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available
- Don't use macros for commands
- Use %{_fixperms} macro rather than our own chmod incantation
- Make %files list more specific
- Use tabs
.gitignore | 4 +-
perl-List-MoreUtils.spec | 114 ++++++++++++++++++++++++++++------------------
sources | 2 +-
3 files changed, 72 insertions(+), 48 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index f2eb576..df89d26 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1 @@
-List-MoreUtils-0.22.tar.gz
-/List-MoreUtils-0.30.tar.gz
-/List-MoreUtils-0.32.tar.gz
+/List-MoreUtils-[0-9.]*.tar.gz
diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec
index 35edc49..1b4656a 100644
--- a/perl-List-MoreUtils.spec
+++ b/perl-List-MoreUtils.spec
@@ -1,63 +1,89 @@
-Name: perl-List-MoreUtils
-Version: 0.32
-Release: 4%{?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
-
-BuildRequires: perl(Test::More) >= 0.82
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+Name: perl-List-MoreUtils
+Version: 0.33
+Release: 1%{?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}
%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
-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 %{buildroot}
%files
+%defattr(-,root,root,-)
%doc Changes README LICENSE
%{perl_vendorarch}/List/
%{perl_vendorarch}/auto/List/
-%{_mandir}/man3/*.3pm*
-
+%{_mandir}/man3/List::MoreUtils.3pm*
%changelog
+* Tue Jan 24 2012 Paul Howarth <paul at city-fan.org> - 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 at lists.fedoraproject.org> - 0.32-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Mon Jul 18 2011 Petr Sabata <contyk at redhat.com> - 0.32-3
- Perl mass rebuild
-* Tue Jul 12 2011 Tom Callaway <spot at fedoraproject.org> 0.32-2
-- rebuild to fix broken rawhide deps
+* Tue Jul 12 2011 Tom Callaway <spot at fedoraproject.org> - 0.32-2
+- Rebuild to fix broken rawhide deps
-* Sat Jul 02 2011 Iain Arnell <iarnell at gmail.com> 0.32-1
-- update to latest upstream version
+* Sat Jul 02 2011 Iain Arnell <iarnell at gmail.com> - 0.32-1
+- Update to latest upstream version
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano at redhat.com> - 0.30-3
- Perl mass rebuild
@@ -65,20 +91,20 @@ make test
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-* Mon Jan 03 2011 Iain Arnell <iarnell at gmail.com> 0.30-1
-- update to latest upstream version
-- clean up spec for modern rpmbuild
-- use perl_default_filter
-- remove unnecessary buildrequires
+* Mon Jan 03 2011 Iain Arnell <iarnell at gmail.com> - 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 at redhat.com> - 0.22-12
-- 661697 rebuild for fixing problems with vendorach/lib
+- Rebuild to fix problems with vendorarch/lib (#661697)
* Mon May 03 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.22-11
- Mass rebuild with perl-5.12.0
* Mon Dec 7 2009 Stepan Kasal <skasal at redhat.com> - 0.22-10
-- rebuild against perl 5.10.1
+- Rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.22-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@@ -99,22 +125,22 @@ make test
- Autorebuild for GCC 4.3
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.22-3
-- rebuild normally, second pass
+- Rebuild normally, second pass
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.22-2.1
-- rebuild for new perl, first pass, disable TPC and tests
+- 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 1c1e8a0..79f7ce7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5af56334f8261f4662bd5e2b3f5e4e62 List-MoreUtils-0.32.tar.gz
+8a33c84028cc2ff3e92c92434b326c0f List-MoreUtils-0.33.tar.gz
More information about the scm-commits
mailing list