commit 17b0da4f901c5a312a83fabb1ba8a53e4cb30858
Author: Paul Howarth <p...@city-fan.org>
Date:   Thu Sep 4 15:27:25 2014 +0100

    Update to 2.11
    
    - New upstream release 2.11
      - Add documentation for modifying multiple methods at once (GitHub #2)
    - Use %license where possible

 perl-Class-Method-Modifiers.spec |   33 +++++++++++++++++++++------------
 sources                          |    2 +-
 2 files changed, 22 insertions(+), 13 deletions(-)
---
diff --git a/perl-Class-Method-Modifiers.spec b/perl-Class-Method-Modifiers.spec
index 9c39936..39b3f00 100644
--- a/perl-Class-Method-Modifiers.spec
+++ b/perl-Class-Method-Modifiers.spec
@@ -1,13 +1,14 @@
 Name:           perl-Class-Method-Modifiers
 Summary:        Provides Moose-like method modifiers
-Version:        2.10
-Release:        3%{?dist}
+Version:        2.11
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Class-Method-Modifiers
 Source0:        
http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Class-Method-Modifiers-%{version}.tar.gz
 BuildArch:      noarch
 # Module Build
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
 # Module Runtime
 BuildRequires:  perl(B)
 BuildRequires:  perl(base)
@@ -16,20 +17,18 @@ BuildRequires:  perl(Exporter)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 # Test Suite
-BuildRequires:  perl(File::Spec::Functions)
-BuildRequires:  perl(List::Util)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(if)
 BuildRequires:  perl(Test::Fatal)
 BuildRequires:  perl(Test::More) >= 0.88
-BuildRequires:  perl(if)
-BuildRequires:  perl(version)
+BuildRequires:  perl(Test::Requires)
 # Optional Test Requirements
 %if 0%{!?perl_bootstrap:1}
-BuildRequires:  perl(CPAN::Meta)
-BuildRequires:  perl(CPAN::Meta::Requirements) >= 2.120900
+BuildRequires:  perl(CPAN::Meta) >= 2.120900
 BuildRequires:  perl(Moose)
 %endif
 # Runtime
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(B)
 Requires:       perl(Carp)
 Requires:       perl(Exporter)
@@ -60,7 +59,7 @@ particular modifiers work.
 chmod -c -x t/*.t
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
@@ -72,11 +71,21 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 make test
 
 %files
-%doc Changes CONTRIBUTING LICENSE README README.md t/
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes CONTRIBUTING README t/
 %{perl_vendorlib}/Class/
 %{_mandir}/man3/Class::Method::Modifiers.3*
 
 %changelog
+* Thu Sep  4 2014 Paul Howarth <p...@city-fan.org> <p...@city-fan.org> - 2.11-1
+- Update to 2.11
+  - Add documentation for modifying multiple methods at once (GitHub #2)
+- Use %%license where possible
+
 * Fri Aug 29 2014 Jitka Plesnikova <jples...@redhat.com> - 2.10-3
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 2d08f5c..a8d1391 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-bd56ab860d1a24e6d9c7e87e36e2b09c  Class-Method-Modifiers-2.10.tar.gz
+c6982e9e89325713d5afaff82cfe1744  Class-Method-Modifiers-2.11.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to