BR: perl-generators unconditionally
This commit is contained in:
parent
ab16a294c1
commit
25c291ea05
@ -4,7 +4,7 @@
|
||||
Name: perl-namespace-clean
|
||||
Summary: Keep your namespace tidy
|
||||
Version: 0.27
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/namespace-clean/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/namespace-clean-%{version}.tar.gz
|
||||
@ -13,10 +13,8 @@ BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter >= 4:5.12
|
||||
%if 0%{?fedora} > 20 || 0%{?rhel} > 7
|
||||
BuildRequires: perl-generators
|
||||
%endif
|
||||
BuildRequires: perl-interpreter >= 4:5.12
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
BuildRequires: perl(File::Temp)
|
||||
@ -74,7 +72,7 @@ make %{?_smp_mflags}
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -85,6 +83,9 @@ make test
|
||||
%{_mandir}/man3/namespace::clean.3*
|
||||
|
||||
%changelog
|
||||
* Fri Feb 9 2018 Paul Howarth <paul@city-fan.org> - 0.27-7
|
||||
- BR: perl-generators unconditionally
|
||||
|
||||
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.27-6
|
||||
- Escape macros in %%changelog
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user