From 232beef32a6d951c8ab3a7fa4c99ef77baee8d27 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sun, 27 Oct 2013 20:10:06 +0000 Subject: [PATCH] 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 --- ...oftware-License-0.103007-old-Test::More.patch | 11 +++++++++-- perl-Software-License.spec | 16 ++++++++++++---- sources | 2 +- 3 files changed, 22 insertions(+), 7 deletions(-) rename Software-License-0.103006-old-Test::More.patch => Software-License-0.103007-old-Test::More.patch (89%) 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 @@ -31,6 +31,13 @@ Yes, spanning more lines and more paragraphs. 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 @@ -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 - 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 - 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