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
This commit is contained in:
Paul Howarth 2013-10-27 20:10:06 +00:00
parent ee29560c72
commit 232beef32a
3 changed files with 22 additions and 7 deletions

View File

@ -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");
}

View File

@ -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@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@city-fan.org> - 0.103006-2
- Update patch for building with old Test::More versions
- Update core buildreqs for completeness

View File

@ -1 +1 @@
caed1a42a645a98e816344f3a1c8c947 Software-License-0.103006.tar.gz
c7884f8de01cede923e79c8c367ecf48 Software-License-0.103007.tar.gz