[perl-Class-C3] update to 0.23

Iain Arnell iarnell at fedoraproject.org
Sun Mar 13 09:23:07 UTC 2011


commit 7c2461cafa882dc77de8d6284432aa13ca576d5d
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Mar 13 10:10:18 2011 +0100

    update to 0.23

 .gitignore         |    1 +
 perl-Class-C3.spec |   19 ++++++++-----------
 sources            |    2 +-
 3 files changed, 10 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 989a0c2..ba0a179 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Class-C3-0.22.tar.gz
+/Class-C3-0.23.tar.gz
diff --git a/perl-Class-C3.spec b/perl-Class-C3.spec
index 6927792..66a2d70 100644
--- a/perl-Class-C3.spec
+++ b/perl-Class-C3.spec
@@ -1,20 +1,17 @@
 %global older_perl %(%{__perl} -e '$] < 5.009_005 ? print 1 : print 0')
 
 Name:           perl-Class-C3
-Version:        0.22
-Release:        6%{?dist}
+Version:        0.23
+Release:        1%{?dist}
 Summary:        Pragma to use the C3 method resolution order algorithm
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Class-C3/
 Source0:        http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Class-C3-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-# see rh#205081,rh#204800
-%define         __perl_provides %{nil}
-Provides:       perl(Class::C3) = %{version}
+# not automatically detected
 Provides:       perl(c3) = %{version}
 
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
@@ -52,8 +49,6 @@ method resolution order.
 make %{?_smp_mflags}
 
 %install
-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 \;
@@ -64,9 +59,6 @@ cp opt/c3.pm %{buildroot}%{perl_vendorlib}/
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog README util/
@@ -74,6 +66,11 @@ rm -rf %{buildroot}
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 13 2011 Iain Arnell <iarnell at gmail.com> 0.23-1
+- update to latest upstream version
+- clean up spec for modern rpmbuild
+- no more need to disable __perl_provides
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.22-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 7037e58..78405fb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-9b5ad010984a7d276d13b91151e2183d  Class-C3-0.22.tar.gz
+5b997841af85a5f8ed8add7120d56611  Class-C3-0.23.tar.gz



More information about the perl-devel mailing list