From d9dfc85ab52f30f5a6ab62df1de4c74df08e8908 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Mon, 20 Jun 2016 14:30:57 +0100 Subject: [PATCH] Update to 0.17 - New upstream release 0.17 - Remove use of namespace::autoclean - BR: perl-generators - Simplify find command using -delete - Author and Release Tests moved to xt/ so don't bother trying to run them --- ...nManager-0.14-no-Test::Code::TidyAll.patch | 16 ------ ...ge-DeprecationManager-0.16-stopwords.patch | 9 ---- perl-Package-DeprecationManager.spec | 51 ++++--------------- sources | 2 +- 4 files changed, 12 insertions(+), 66 deletions(-) delete mode 100644 Package-DeprecationManager-0.14-no-Test::Code::TidyAll.patch delete mode 100644 Package-DeprecationManager-0.16-stopwords.patch diff --git a/Package-DeprecationManager-0.14-no-Test::Code::TidyAll.patch b/Package-DeprecationManager-0.14-no-Test::Code::TidyAll.patch deleted file mode 100644 index ec8824c..0000000 --- a/Package-DeprecationManager-0.14-no-Test::Code::TidyAll.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- t/release-tidyall.t -+++ t/release-tidyall.t -@@ -9,9 +9,12 @@ BEGIN { - - # This file was automatically generated by Dist::Zilla::Plugin::Test::TidyAll - --use Test::Code::TidyAll 0.24; - use Test::More 0.88; - -+eval 'use Test::Code::TidyAll 0.24;'; -+plan skip_all => 'Test::Code::TidyAll 0.24 required for testing tidiness' -+ if $@; -+ - tidyall_ok(); - - done_testing(); diff --git a/Package-DeprecationManager-0.16-stopwords.patch b/Package-DeprecationManager-0.16-stopwords.patch deleted file mode 100644 index 4a43bdf..0000000 --- a/Package-DeprecationManager-0.16-stopwords.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- t/author-pod-spell.t -+++ t/author-pod-spell.t -@@ -40,3 +40,6 @@ bobtfish - lib - Package - DeprecationManager -+LICENCE -+PayPal -+ve diff --git a/perl-Package-DeprecationManager.spec b/perl-Package-DeprecationManager.spec index b392a0d..7068008 100644 --- a/perl-Package-DeprecationManager.spec +++ b/perl-Package-DeprecationManager.spec @@ -1,26 +1,21 @@ -# TODO: BR: perl(Test::Code::TidyAll) ≥ 0.24 when available -# NOTE: BR: perl(Test::Pod::No404s) not included as it requires network access - Name: perl-Package-DeprecationManager -Version: 0.16 -Release: 3%{?dist} +Version: 0.17 +Release: 1%{?dist} Summary: Manage deprecation warnings for your distribution License: Artistic 2.0 URL: http://search.cpan.org/dist/Package-DeprecationManager/ Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz -Patch0: Package-DeprecationManager-0.14-no-Test::Code::TidyAll.patch -Patch3: Package-DeprecationManager-0.16-stopwords.patch BuildArch: noarch # Module Build BuildRequires: coreutils BuildRequires: findutils BuildRequires: make BuildRequires: perl +BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) # Module Runtime BuildRequires: perl(Carp) BuildRequires: perl(List::Util) >= 1.33 -BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Package::Stash) BuildRequires: perl(Params::Util) BuildRequires: perl(strict) @@ -36,27 +31,6 @@ BuildRequires: perl(Test::Warnings) # Optional Tests BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta::Prereqs) -%if 0%{!?perl_bootstrap:1} && ! 0%{?rhel} -# Author Tests -BuildRequires: perl(blib) -BuildRequires: perl(IO::Handle) -BuildRequires: perl(IPC::Open3) -BuildRequires: perl(Pod::Wordlist) -BuildRequires: perl(Test::CleanNamespaces) >= 0.15 -BuildRequires: perl(Test::EOL) -BuildRequires: perl(Test::Mojibake) -BuildRequires: perl(Test::NoTabs) -BuildRequires: perl(Test::Pod) >= 1.41 -BuildRequires: perl(Test::Spelling), hunspell-en -BuildRequires: perl(Test::Version) >= 1.002 -# Release Tests -BuildRequires: perl(Pod::Coverage::TrustPod) -BuildRequires: perl(Test::CPAN::Changes) >= 0.19 -BuildRequires: perl(Test::CPAN::Meta::JSON) -BuildRequires: perl(Test::Pod::Coverage) >= 1.08 -BuildRequires: perl(Test::Pod::LinkCheck) -BuildRequires: perl(Test::Portability::Files) -%endif # Runtime Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) @@ -70,27 +44,17 @@ the version when that feature was deprecated. %prep %setup -q -n Package-DeprecationManager-%{version} -# Test::Code::TidyAll not yet available in Fedora -%patch0 - -# "PayPal" not a common dictionary word -%patch3 - %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -type f -name .packlist -delete %{_fixperms} %{buildroot} %check -%if 0%{!?perl_bootstrap:1} && ! 0%{?rhel} -make test AUTHOR_TESTING=1 RELEASE_TESTING=1 -%else make test -%endif %files %if 0%{?_licensedir:1} @@ -103,6 +67,13 @@ make test %{_mandir}/man3/Package::DeprecationManager.3* %changelog +* Mon Jun 20 2016 Paul Howarth - 0.17-1 +- Update to 0.17 + - Remove use of namespace::autoclean +- BR: perl-generators +- Simplify find command using -delete +- Author and Release Tests moved to xt/ so don't bother trying to run them + * Wed May 18 2016 Jitka Plesnikova - 0.16-3 - Perl 5.24 re-rebuild of bootstrapped packages diff --git a/sources b/sources index c806ace..d5773d5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6d457e26f23daeff18ae74b57ab57274 Package-DeprecationManager-0.16.tar.gz +7b46e92aaae3047ede3c67c1714ab88e Package-DeprecationManager-0.17.tar.gz