|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
Name: perl-File-Find-Rule-Perl
|
|
|
|
|
Version: 1.10
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: Common rules for searching for Perl things
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
@ -18,10 +18,12 @@ BuildRequires: perl(Params::Util) >= 0.38
|
|
|
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 0.04
|
|
|
|
|
|
|
|
|
|
# For improved tests
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.20
|
|
|
|
|
BuildRequires: perl(Test::MinimumVersion) >= 0.008
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.26
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.12
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Common rules for searching for Perl things.
|
|
|
|
@ -49,9 +51,11 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
|
make test AUTOMATED_TESTING=1
|
|
|
|
|
cd ..
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
@ -60,6 +64,10 @@ cd ..
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jun 28 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.10-3
|
|
|
|
|
- rebuild with Perl 5.14.1
|
|
|
|
|
- add perl_bootstrap macro for test BR
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|