From 2b642154d2c67787a6c96c53c78b04209e4d4c4e Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Sep 06 2016 10:11:56 +0000 Subject: BR: perl(Test::CleanNamespaces) --- 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 - 0.09-9 +- BR: perl(Test::CleanNamespaces) +- Simplify find command using -delete + * Wed May 18 2016 Jitka Plesnikova - 0.09-8 - Perl 5.24 re-rebuild of bootstrapped packages