[perl-Class-Mix] updating to latest GA CPAN version (0.004)

Iain Arnell iarnell at fedoraproject.org
Sat Nov 6 10:50:04 UTC 2010


commit 3f66f29315310adba76ae1675b585ef8c07a8210
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Nov 6 11:47:13 2010 +0100

    updating to latest GA CPAN version (0.004)
    
    - update by Fedora::App::MaintainerTools 0.006
    - added a new br on perl(Carp) (version 0)
    - added a new br on perl(Exporter) (version 0)
    - added a new br on perl(Params::Classify) (version 0)
    - added a new br on perl(constant) (version 0)
    - added a new br on perl(if) (version 0)
    - force-adding ExtUtils::MakeMaker as a BR
    - update spec for modern rpmbuild

 .gitignore          |    1 +
 perl-Class-Mix.spec |   36 ++++++++++++++++++++++++++----------
 sources             |    2 +-
 3 files changed, 28 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3421cf3..5866625 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Class-Mix-0.003.tar.gz
+/Class-Mix-0.004.tar.gz
diff --git a/perl-Class-Mix.spec b/perl-Class-Mix.spec
index becc299..d6fbc7d 100644
--- a/perl-Class-Mix.spec
+++ b/perl-Class-Mix.spec
@@ -1,20 +1,30 @@
 Name:           perl-Class-Mix
-Version:        0.003
-Release:        4%{?dist}
 Summary:        Dynamic class mixing
+Version:        0.004
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
+Source0:        http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/Class-Mix-%{version}.tar.gz 
 URL:            http://search.cpan.org/dist/Class-Mix/
-Source0:        http://www.cpan.org/authors/id/Z/ZE/ZEFRAM/Class-Mix-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
+
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(if)
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Params::Classify)
 BuildRequires:  perl(parent)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
+
 Requires:       perl(Exporter)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+%{?perl_default_subpackage_tests}
 
 %description
 The mix_class function provided by this module dynamically generates
@@ -28,8 +38,6 @@ The mix_class function provided by this module dynamically generates
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -38,9 +46,6 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %check
 ./Build test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %defattr(-,root,root,-)
 %doc Changes README
@@ -48,6 +53,17 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Sat Nov 06 2010 Iain Arnell <iarnell at gmail.com> 0.004-1
+- update by Fedora::App::MaintainerTools 0.006
+- updating to latest GA CPAN version (0.004)
+- added a new br on perl(Carp) (version 0)
+- added a new br on perl(Exporter) (version 0)
+- added a new br on perl(Params::Classify) (version 0)
+- added a new br on perl(constant) (version 0)
+- added a new br on perl(if) (version 0)
+- force-adding ExtUtils::MakeMaker as a BR
+- update spec for modern rpmbuild
+
 * Fri Apr 30 2010 Marcela Maslanova <mmaslano at redhat.com> - 0.003-4
 - Mass rebuild with perl-5.12.0
 
diff --git a/sources b/sources
index e17a416..838eba5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b7ef3377beceadc3ae05f2e118eb3dfa  Class-Mix-0.003.tar.gz
+c689a527394cd0c2bccb1a6cde3fe679  Class-Mix-0.004.tar.gz



More information about the perl-devel mailing list