[perl-Sub-Name] Update to 0.12

Paul Howarth pghmcfc at fedoraproject.org
Tue Sep 23 15:48:02 UTC 2014


commit 6e7edecc13ce168b26913ff7f7061ba25b26a27d
Author: Paul Howarth <paul at city-fan.org>
Date:   Tue Sep 23 16:39:25 2014 +0100

    Update to 0.12
    
    - New upstream release 0.12
      - Move variable declaration to fix warning under
        -Werror=declaration-after-statement, to allow compilation under MSVC (GH#3)
      - Converted distribution packaging to Dist::Zilla
      - Fix licence in LICENSE and pod
    - Package new upstream CONTRIBUTING and LICENSE files
    - Classify buildreqs by usage

 perl-Sub-Name.spec |   37 +++++++++++++++++++++++++++++--------
 sources            |    2 +-
 2 files changed, 30 insertions(+), 9 deletions(-)
---
diff --git a/perl-Sub-Name.spec b/perl-Sub-Name.spec
index 8a02072..c13e9cb 100644
--- a/perl-Sub-Name.spec
+++ b/perl-Sub-Name.spec
@@ -1,21 +1,28 @@
 # TODO: BR: perl(B::C) when available
 
 Name:		perl-Sub-Name
-Version:	0.09
-Release:	2%{?dist}
+Version:	0.12
+Release:	1%{?dist}
 Summary:	Name - or rename - a sub
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/Sub-Name/
 Source0:	http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/Sub-Name-%{version}.tar.gz
+# Module Build
 BuildRequires:	perl
-BuildRequires:	perl(base)
-BuildRequires:	perl(Devel::CheckBin)
-BuildRequires:	perl(DynaLoader)
-BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::MakeMaker)
+# Module Runtime
+BuildRequires:	perl(Exporter) >= 5.57
 BuildRequires:	perl(strict)
-BuildRequires:	perl(Test::More)
 BuildRequires:	perl(warnings)
+BuildRequires:	perl(XSLoader)
+# Test Suite
+BuildRequires:	perl(B::Deparse)
+BuildRequires:	perl(Devel::CheckBin)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(Test::More) >= 0.88
+# Optional Tests
+BuildRequires:	perl(CPAN::Meta) >= 2.120900
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Don't "provide" private perl objects
@@ -45,12 +52,26 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 make test
 
 %files
-%doc Changes README
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
+%doc Changes CONTRIBUTING README
 %{perl_vendorarch}/auto/Sub/
 %{perl_vendorarch}/Sub/
 %{_mandir}/man3/Sub::Name.3pm*
 
 %changelog
+* Tue Sep 23 2014 Paul Howarth <paul at city-fan.org> - 0.12-1
+- Update to 0.12
+  - Move variable declaration to fix warning under
+    -Werror=declaration-after-statement, to allow compilation under MSVC (GH#3)
+  - Converted distribution packaging to Dist::Zilla
+  - Fix licence in LICENSE and pod
+- Package new upstream CONTRIBUTING and LICENSE files
+- Classify buildreqs by usage
+
 * Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.09-2
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 7cf43db..70943ab 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-24f2fadd4e4c42907cfcd7c03ee8f4c8  Sub-Name-0.09.tar.gz
+421afad5e34c0b4f753d578d99be535f  Sub-Name-0.12.tar.gz



More information about the perl-devel mailing list