Update to 0.103012
- New upstream release 0.103012 - Consider license names without parentheses when scanning text for license - When scanning text for license, put known substrings inside \b..\b - Simplify find command using -delete - Update patch for building with old Test::More versions
This commit is contained in:
parent
f2af0baf61
commit
c25f8019ea
@ -1,3 +1,19 @@
|
|||||||
|
--- t/creative_commons.t
|
||||||
|
+++ t/creative_commons.t
|
||||||
|
@@ -10,6 +10,8 @@ BEGIN {
|
||||||
|
or plan skip_all => "requires Software::License::CCpack to test this";
|
||||||
|
}
|
||||||
|
|
||||||
|
+plan tests => 1;
|
||||||
|
+
|
||||||
|
{
|
||||||
|
my $license = Software::License::CC_BY_1_0->new({holder => 'DUMMY'})->notice;
|
||||||
|
my $pod = "=head1 LICENSE\n\n$license\n=cut\n";
|
||||||
|
@@ -19,4 +21,3 @@ BEGIN {
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
-done_testing;
|
||||||
--- t/custom.t
|
--- t/custom.t
|
||||||
+++ t/custom.t
|
+++ t/custom.t
|
||||||
@@ -2,7 +2,7 @@
|
@@ -2,7 +2,7 @@
|
||||||
@ -14,6 +30,22 @@
|
|||||||
Yes, spanning more lines and more paragraphs.
|
Yes, spanning more lines and more paragraphs.
|
||||||
END_OF_FULLTEXT
|
END_OF_FULLTEXT
|
||||||
-
|
-
|
||||||
|
-done_testing;
|
||||||
|
--- t/guess_license_from_pod.t
|
||||||
|
+++ t/guess_license_from_pod.t
|
||||||
|
@@ -3,7 +3,7 @@
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
-use Test::More;
|
||||||
|
+use Test::More tests => 1;
|
||||||
|
use Software::LicenseUtils;
|
||||||
|
|
||||||
|
{
|
||||||
|
@@ -32,4 +32,3 @@ LICENSE
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
-done_testing;
|
-done_testing;
|
||||||
--- t/guess_meta_license.t
|
--- t/guess_meta_license.t
|
||||||
+++ t/guess_meta_license.t
|
+++ t/guess_meta_license.t
|
||||||
@ -76,7 +108,7 @@
|
|||||||
-note 'Checking Changes';
|
-note 'Checking Changes';
|
||||||
+diag 'Checking Changes';
|
+diag 'Checking Changes';
|
||||||
my $changes_file = 'Changes';
|
my $changes_file = 'Changes';
|
||||||
my $newver = '0.103011';
|
my $newver = '0.103012';
|
||||||
my $trial_token = '-TRIAL';
|
my $trial_token = '-TRIAL';
|
||||||
@@ -14,8 +14,6 @@ SKIP: {
|
@@ -14,8 +14,6 @@ SKIP: {
|
||||||
ok(_get_changes($newver), "$changes_file has content for $newver");
|
ok(_get_changes($newver), "$changes_file has content for $newver");
|
@ -2,14 +2,14 @@
|
|||||||
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION < 0.88) ? 1 : 0);' 2>/dev/null || echo 0)
|
%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
|
Name: perl-Software-License
|
||||||
Version: 0.103011
|
Version: 0.103012
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Package that provides templated software licenses
|
Summary: Package that provides templated software licenses
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Software-License/
|
URL: http://search.cpan.org/dist/Software-License/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/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.103011-old-Test::More.patch
|
Patch1: Software-License-0.103012-old-Test::More.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Module Build
|
# Module Build
|
||||||
@ -33,6 +33,11 @@ BuildRequires: perl(File::Spec)
|
|||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Try::Tiny)
|
BuildRequires: perl(Try::Tiny)
|
||||||
|
# Optional Tests
|
||||||
|
%if 0%{!?perl_bootstrap:1} && 0%{?fedora}
|
||||||
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
|
BuildRequires: perl(Software::License::CCpack)
|
||||||
|
%endif
|
||||||
# Runtime
|
# Runtime
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
@ -52,10 +57,10 @@ perl Makefile.PL INSTALLDIRS=vendor
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf %{buildroot}
|
||||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
%{_fixperms} $RPM_BUILD_ROOT
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -79,6 +84,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/Software::LicenseUtils.3*
|
%{_mandir}/man3/Software::LicenseUtils.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Apr 24 2016 Paul Howarth <paul@city-fan.org> - 0.103012-1
|
||||||
|
- Update to 0.103012
|
||||||
|
- Consider license names without parentheses when scanning text for license
|
||||||
|
- When scanning text for license, put known substrings inside \b..\b
|
||||||
|
- Simplify find command using -delete
|
||||||
|
- Update patch for building with old Test::More versions
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.103011-2
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.103011-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user