Update to 0.103009

- New upstream release 0.103009
  - Updated FSF mailing address in license text for GFDL version 1.2, GPL
    versions 1 and 2, and LGPL 2.1
- Update patch for building with old Test::More versions
- Don't try to run the extra tests with EL-5 or EL-6
This commit is contained in:
Paul Howarth 2014-02-21 14:08:35 +00:00
parent 001cbe8fd0
commit 1173f2abfe
3 changed files with 16 additions and 7 deletions

View File

@ -34,9 +34,9 @@
-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");
}
@@ -64,4 +64,3 @@ is_deeply(
[ ],
);
-done_testing;
--- t/meta-names.t
@ -77,7 +77,7 @@
-note 'Checking Changes';
+diag 'Checking Changes';
my $changes_file = 'Changes';
my $newver = '0.103008';
my $newver = '0.103009';
my $trial_token = '-TRIAL';
@@ -14,8 +14,6 @@ SKIP: {
ok(_get_changes($newver), "$changes_file has content for $newver");

View File

@ -2,7 +2,7 @@
%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.103008
Version: 0.103009
Release: 1%{?dist}
Summary: Package that provides templated software licenses
License: GPL+ or Artistic
@ -11,7 +11,7 @@ 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.103008-old-Test::More.patch
Patch1: Software-License-0.103009-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
BuildRequires: perl(Carp)
@ -51,7 +51,9 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%check
make test
%if 0%{?fedora} || 0%{?rhel} > 6
make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%endif
%clean
rm -rf $RPM_BUILD_ROOT
@ -64,6 +66,13 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/Software::LicenseUtils.3pm*
%changelog
* Fri Feb 21 2014 Paul Howarth <paul@city-fan.org> - 0.103009-1
- Update to 0.103009
- Updated FSF mailing address in license text for GFDL version 1.2, GPL
versions 1 and 2, and LGPL 2.1
- Update patch for building with old Test::More versions
- Don't try to run the extra tests with EL-5 or EL-6
* Sun Nov 17 2013 Paul Howarth <paul@city-fan.org> - 0.103008-1
- Update to 0.103008
- Faster!

View File

@ -1 +1 @@
14522397d2b34562b3a30be9e411267f Software-License-0.103008.tar.gz
56207e8cc99b2a9b4a05a46b730fbca4 Software-License-0.103009.tar.gz