From 2b642154d2c67787a6c96c53c78b04209e4d4c4e Mon Sep 17 00:00:00 2001 From: Paul Howarth <p...@city-fan.org> Date: Tue, 6 Sep 2016 11:11:56 +0100 Subject: BR: perl(Test::CleanNamespaces)
--- perl-Module-Implementation.spec | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/perl-Module-Implementation.spec b/perl-Module-Implementation.spec index 68e6e93..4a16927 100644 --- a/perl-Module-Implementation.spec +++ b/perl-Module-Implementation.spec @@ -1,8 +1,6 @@ -#TODO: BR: Test::CleanNamespaces when available - Name: perl-Module-Implementation Version: 0.09 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Loads one of several alternate underlying implementations for a module Group: Development/Libraries License: Artistic 2.0 @@ -13,6 +11,9 @@ BuildArch: noarch # =================================================================== # Build requirements # =================================================================== +BuildRequires: coreutils +BuildRequires: findutils +BuildRequires: make BuildRequires: perl BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) @@ -38,6 +39,7 @@ BuildRequires: perl(Test::Requires) # Optional test requirements # =================================================================== BuildRequires: perl(CPAN::Meta) >= 2.120900 +BuildRequires: perl(Test::CleanNamespaces) BuildRequires: perl(Test::Taint) # =================================================================== # Author/Release test requirements @@ -80,17 +82,13 @@ something like a plugin system, not this module. %prep %setup -q -n Module-Implementation-%{version} -# Can't try namespace-cleanliness.t until we have Test::CleanNamespaces -sed -i -e '/namespace-cleanliness.t/d' MANIFEST t/00-report-prereqs.t t/author-no-tabs.t -rm t/namespace-cleanliness.t - %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 @@ -109,9 +107,13 @@ make test RELEASE_TESTING=1 %license LICENSE %doc Changes README.md %{perl_vendorlib}/Module/ -%{_mandir}/man3/Module::Implementation.3pm* +%{_mandir}/man3/Module::Implementation.3* %changelog +* Tue Sep 6 2016 Paul Howarth <p...@city-fan.org> - 0.09-9 +- BR: perl(Test::CleanNamespaces) +- Simplify find command using -delete + * Wed May 18 2016 Jitka Plesnikova <jples...@redhat.com> - 0.09-8 - Perl 5.24 re-rebuild of bootstrapped packages -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Module-Implementation.git/commit/?h=perl-Module-Implementation-0.09-9.fc26&id=2b642154d2c67787a6c96c53c78b04209e4d4c4e -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org