[perl-Software-License] Update to 0.103007

Paul Howarth pghmcfc at fedoraproject.org
Sun Oct 27 20:10:30 UTC 2013


commit 232beef32a6d951c8ab3a7fa4c99ef77baee8d27
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Oct 27 20:10:06 2013 +0000

    Update to 0.103007
    
    - New upstream release 0.103007
      - Fix regex to allow guessing from meta things like perl_5
      - Replace 'use base' with 'use parent'
    - BR: perl(Try::Tiny) for the test suite
    - Update patch for building with old Test::More versions

 ... Software-License-0.103007-old-Test::More.patch |   11 +++++++++--
 perl-Software-License.spec                         |   16 ++++++++++++----
 sources                                            |    2 +-
 3 files changed, 22 insertions(+), 7 deletions(-)
---
diff --git a/Software-License-0.103006-old-Test::More.patch b/Software-License-0.103007-old-Test::More.patch
similarity index 89%
rename from Software-License-0.103006-old-Test::More.patch
rename to Software-License-0.103007-old-Test::More.patch
index f8e9ede..d528289 100644
--- a/Software-License-0.103006-old-Test::More.patch
+++ b/Software-License-0.103007-old-Test::More.patch
@@ -32,6 +32,13 @@
  END_OF_FULLTEXT
 -
 -done_testing;
+--- t/guess_meta_license.t
++++ t/guess_meta_license.t
+@@ -49,4 +49,3 @@ foreach my $license_name (@cpan_meta_spe
+ 	ok(@guess, "$license_name -> @guess");
+ }
+ 
+-done_testing;
 --- t/meta-names.t
 +++ t/meta-names.t
 @@ -2,13 +2,16 @@
@@ -70,9 +77,9 @@
 -note 'Checking Changes';
 +diag 'Checking Changes';
  my $changes_file = 'Changes';
- my $newver = '0.103006';
+ my $newver = '0.103007';
  my $trial_token = '-TRIAL';
-@@ -14,8 +14,6 @@
+@@ -14,8 +14,6 @@ SKIP: {
      ok(_get_changes($newver), "$changes_file has content for $newver");
  }
  
diff --git a/perl-Software-License.spec b/perl-Software-License.spec
index 401bb5b..6e32937 100644
--- a/perl-Software-License.spec
+++ b/perl-Software-License.spec
@@ -2,8 +2,8 @@
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:           perl-Software-License
-Version:        0.103006
-Release:        2%{?dist}
+Version:        0.103007
+Release:        1%{?dist}
 Summary:        Package that provides templated software licenses
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -11,20 +11,21 @@ URL:            http://search.cpan.org/dist/Software-License/
 # For unknown reasons this module URL is currently missing
 #Source0:        http://www.cpan.org/modules/by-module/Software/Software-License-%{version}.tar.gz
 Source0:        http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Software-License-%{version}.tar.gz
-Patch1:         Software-License-0.103006-old-Test::More.patch
+Patch1:         Software-License-0.103007-old-Test::More.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
-BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Section)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(IO::Dir)
 BuildRequires:  perl(Module::Load)
+BuildRequires:  perl(parent)
 BuildRequires:  perl(Sub::Install)
 BuildRequires:  perl(Text::Template)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Try::Tiny)
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -63,6 +64,13 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/Software::LicenseUtils.3pm*
 
 %changelog
+* Sun Oct 27 2013 Paul Howarth <paul at city-fan.org> - 0.103007-1
+- Update to 0.103007
+  - Fix regex to allow guessing from meta things like perl_5
+  - Replace 'use base' with 'use parent'
+- BR: perl(Try::Tiny) for the test suite
+- Update patch for building with old Test::More versions
+
 * Mon Oct 21 2013 Paul Howarth <paul at city-fan.org> - 0.103006-2
 - Update patch for building with old Test::More versions
 - Update core buildreqs for completeness
diff --git a/sources b/sources
index 1630f46..5182003 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-caed1a42a645a98e816344f3a1c8c947  Software-License-0.103006.tar.gz
+c7884f8de01cede923e79c8c367ecf48  Software-License-0.103007.tar.gz



More information about the perl-devel mailing list