[perl-Class-C3] Update to 0.24 - New upstream release 0.24: - Require Class::C3::XS on 5.8 perls if a working comp

Paul Howarth pghmcfc at fedoraproject.org
Sat May 12 19:34:05 UTC 2012


commit 80fc9d5892c34e1720d592ef9eef730268082984
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat May 12 20:33:22 2012 +0100

    Update to 0.24
    - New upstream release 0.24:
      - Require Class::C3::XS on 5.8 perls if a working compiler is found
    - Bump Algorithm::C3 version requirement to 0.07
    - Always BR:/R: Algorithm::C3 and Scalar::Util
    - Don't need to remove empty directories from buildroot

 perl-Class-C3.spec |   21 ++++++++++++++-------
 sources            |    2 +-
 2 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/perl-Class-C3.spec b/perl-Class-C3.spec
index 3f9b63e..c391fb4 100644
--- a/perl-Class-C3.spec
+++ b/perl-Class-C3.spec
@@ -2,8 +2,8 @@
 %global mro_in_core %(perl -e 'print $] > 5.009005 ? 1 : 0;')
 
 Name:		perl-Class-C3
-Version:	0.23
-Release:	5%{?dist}
+Version:	0.24
+Release:	1%{?dist}
 Summary:	Pragma to use the C3 method resolution order algorithm
 License:	GPL+ or Artistic
 Group:		Development/Libraries
@@ -13,6 +13,9 @@ BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
 BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module
+BuildRequires:	perl(Algorithm::C3) >= 0.07
+BuildRequires:	perl(Scalar::Util) >= 1.10
 # Test suite
 BuildRequires:	perl(Sub::Name)
 BuildRequires:	perl(Test::Exception) >= 0.15
@@ -26,15 +29,13 @@ BuildRequires:	perl(MRO::Compat)
 %endif
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:	perl(Algorithm::C3) >= 0.07
+Requires:	perl(Scalar::Util) >= 1.10
 
 # Requirements for older distributions with Perl < 5.9.5
 %if ! %{mro_in_core}
-BuildRequires:	perl(Algorithm::C3) >= 0.06
 BuildRequires:	perl(Class::C3::XS) >= 0.07
-BuildRequires:	perl(Scalar::Util) >= 1.10
-Requires:	perl(Algorithm::C3) >= 0.06
 Requires:	perl(Class::C3::XS) >= 0.07
-Requires:	perl(Scalar::Util) >= 1.10
 %endif
 
 # Let people "use c3;"
@@ -71,7 +72,6 @@ make %{?_smp_mflags}
 rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null
 cp -p opt/c3.pm %{buildroot}%{perl_vendorlib}/
 %{_fixperms} %{buildroot}
 
@@ -90,6 +90,13 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Class::C3::next.3pm*
 
 %changelog
+* Sat May 12 2012 Paul Howarth <paul at city-fan.org> - 0.24-1
+- Update to 0.24:
+  - Require Class::C3::XS on 5.8 perls if a working compiler is found
+- Bump Algorithm::C3 version requirement to 0.07
+- Always BR:/R: Algorithm::C3 and Scalar::Util
+- Don't need to remove empty directories from buildroot
+
 * Sat Jan 21 2012 Paul Howarth <paul at city-fan.org> - 0.23-5
 - Obsolete/provide old -tests subpackage to support upgrades
 
diff --git a/sources b/sources
index 78405fb..a25623b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5b997841af85a5f8ed8add7120d56611  Class-C3-0.23.tar.gz
+c53c143998d0700c5b3190801b6800ea  Class-C3-0.24.tar.gz


More information about the scm-commits mailing list