BR: perl(Test::CleanNamespaces)
This commit is contained in:
parent
882b925d84
commit
2b642154d2
@ -1,8 +1,6 @@
|
|||||||
#TODO: BR: Test::CleanNamespaces when available
|
|
||||||
|
|
||||||
Name: perl-Module-Implementation
|
Name: perl-Module-Implementation
|
||||||
Version: 0.09
|
Version: 0.09
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: Loads one of several alternate underlying implementations for a module
|
Summary: Loads one of several alternate underlying implementations for a module
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: Artistic 2.0
|
License: Artistic 2.0
|
||||||
@ -13,6 +11,9 @@ BuildArch: noarch
|
|||||||
# ===================================================================
|
# ===================================================================
|
||||||
# Build requirements
|
# Build requirements
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: findutils
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
@ -38,6 +39,7 @@ BuildRequires: perl(Test::Requires)
|
|||||||
# Optional test requirements
|
# Optional test requirements
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||||
|
BuildRequires: perl(Test::CleanNamespaces)
|
||||||
BuildRequires: perl(Test::Taint)
|
BuildRequires: perl(Test::Taint)
|
||||||
# ===================================================================
|
# ===================================================================
|
||||||
# Author/Release test requirements
|
# Author/Release test requirements
|
||||||
@ -80,17 +82,13 @@ something like a plugin system, not this module.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Module-Implementation-%{version}
|
%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
|
%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
|
||||||
@ -109,9 +107,13 @@ make test RELEASE_TESTING=1
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc Changes README.md
|
%doc Changes README.md
|
||||||
%{perl_vendorlib}/Module/
|
%{perl_vendorlib}/Module/
|
||||||
%{_mandir}/man3/Module::Implementation.3pm*
|
%{_mandir}/man3/Module::Implementation.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Sep 6 2016 Paul Howarth <paul@city-fan.org> - 0.09-9
|
||||||
|
- BR: perl(Test::CleanNamespaces)
|
||||||
|
- Simplify find command using -delete
|
||||||
|
|
||||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-8
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.09-8
|
||||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user