From 52e928b5d1028c053898ec6d491321059ccefb2c Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Thu, 9 Oct 2014 14:19:13 +0100 Subject: [PATCH] Update to 0.11 - New upstream release 0.11 - Added #10 to CAVEATS (redefined warnings) - Fixed #11 (failing tests on newer perls) - Use %license where possible --- perl-Test-Synopsis.spec | 25 ++++++++++++++++++------- sources | 2 +- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/perl-Test-Synopsis.spec b/perl-Test-Synopsis.spec index 5723d1d..d7c11c0 100644 --- a/perl-Test-Synopsis.spec +++ b/perl-Test-Synopsis.spec @@ -1,11 +1,9 @@ -# TODO: BR: perl(Test::Kwalitee::Extra) when available - # noarch, but to avoid debug* files interfering with manifest test: %global debug_package %{nil} Name: perl-Test-Synopsis -Version: 0.10 -Release: 4%{?dist} +Version: 0.11 +Release: 1%{?dist} Summary: Test your SYNOPSIS code Group: Development/Libraries License: GPL+ or Artistic @@ -14,7 +12,8 @@ Source0: http://search.cpan.org/CPAN/authors/id/Z/ZO/ZOFFIX/Test-Synopsis-%{vers BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch # Module Build -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(base) BuildRequires: perl(ExtUtils::Manifest) @@ -28,7 +27,7 @@ BuildRequires: perl(IO::Handle) BuildRequires: perl(IPC::Open3) BuildRequires: perl(Test::Builder) >= 0.34 BuildRequires: perl(Test::Builder::Tester) -BuildRequires: perl(Test::More) +BuildRequires: perl(Test::More) >= 0.82 # Extra Tests; can't run these when bootstrapping or in EL since many # of these packages won't be available %if 0%{!?perl_bootstrap:1} && 0%{!?rhel:1} @@ -38,6 +37,7 @@ BuildRequires: perl(Test::CPAN::Changes) BuildRequires: perl(Test::CPAN::Meta) BuildRequires: perl(Test::DistManifest) BuildRequires: perl(Test::EOL) +BuildRequires: perl(Test::Kwalitee) >= 1.21 BuildRequires: perl(Test::MinimumVersion) BuildRequires: perl(Test::Mojibake) BuildRequires: perl(Test::More) >= 0.96 @@ -85,11 +85,22 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))" rm -rf %{buildroot} %files -%doc Changes LICENSE README README.md +%if 0%{?_licensedir:1} +%license LICENSE +%else +%doc LICENSE +%endif +%doc Changes README README.md %{perl_vendorlib}/Test/ %{_mandir}/man3/Test::Synopsis.3pm* %changelog +* Thu Oct 9 2014 Paul Howarth - 0.11-1 +- Update to 0.11 + - Added #10 to CAVEATS (redefined warnings) + - Fixed #11 (failing tests on newer perls) +- Use %%license where possible + * Sun Sep 07 2014 Jitka Plesnikova - 0.10-4 - Perl 5.20 re-rebuild of bootstrapped packages diff --git a/sources b/sources index 58e17fa..7b1b1dd 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9b9f333678d51e32966538b380e3cc41 Test-Synopsis-0.10.tar.gz +c6b0eb651f8b95757ccee4f430d659bf Test-Synopsis-0.11.tar.gz