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
epel9
Paul Howarth 9 years ago
parent 7b284347ed
commit d9dfc85ab5

@ -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();

@ -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

@ -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 Name: perl-Package-DeprecationManager
Version: 0.16 Version: 0.17
Release: 3%{?dist} Release: 1%{?dist}
Summary: Manage deprecation warnings for your distribution Summary: Manage deprecation warnings for your distribution
License: Artistic 2.0 License: Artistic 2.0
URL: http://search.cpan.org/dist/Package-DeprecationManager/ URL: http://search.cpan.org/dist/Package-DeprecationManager/
Source0: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/Package-DeprecationManager-%{version}.tar.gz 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 BuildArch: noarch
# Module Build # Module Build
BuildRequires: coreutils BuildRequires: coreutils
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
# Module Runtime # Module Runtime
BuildRequires: perl(Carp) BuildRequires: perl(Carp)
BuildRequires: perl(List::Util) >= 1.33 BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(namespace::autoclean)
BuildRequires: perl(Package::Stash) BuildRequires: perl(Package::Stash)
BuildRequires: perl(Params::Util) BuildRequires: perl(Params::Util)
BuildRequires: perl(strict) BuildRequires: perl(strict)
@ -36,27 +31,6 @@ BuildRequires: perl(Test::Warnings)
# Optional Tests # Optional Tests
BuildRequires: perl(CPAN::Meta) >= 2.120900 BuildRequires: perl(CPAN::Meta) >= 2.120900
BuildRequires: perl(CPAN::Meta::Prereqs) 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 # Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
@ -70,27 +44,17 @@ the version when that feature was deprecated.
%prep %prep
%setup -q -n Package-DeprecationManager-%{version} %setup -q -n Package-DeprecationManager-%{version}
# Test::Code::TidyAll not yet available in Fedora
%patch0
# "PayPal" not a common dictionary word
%patch3
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make pure_install DESTDIR=%{buildroot} make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot} %{_fixperms} %{buildroot}
%check %check
%if 0%{!?perl_bootstrap:1} && ! 0%{?rhel}
make test AUTHOR_TESTING=1 RELEASE_TESTING=1
%else
make test make test
%endif
%files %files
%if 0%{?_licensedir:1} %if 0%{?_licensedir:1}
@ -103,6 +67,13 @@ make test
%{_mandir}/man3/Package::DeprecationManager.3* %{_mandir}/man3/Package::DeprecationManager.3*
%changelog %changelog
* Mon Jun 20 2016 Paul Howarth <paul@city-fan.org> - 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 <jplesnik@redhat.com> - 0.16-3 * Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.16-3
- Perl 5.24 re-rebuild of bootstrapped packages - Perl 5.24 re-rebuild of bootstrapped packages

@ -1 +1 @@
6d457e26f23daeff18ae74b57ab57274 Package-DeprecationManager-0.16.tar.gz 7b46e92aaae3047ede3c67c1714ab88e Package-DeprecationManager-0.17.tar.gz

Loading…
Cancel
Save