|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
Name: perl-File-Find-Rule-Perl
|
|
|
|
|
Version: 1.10
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Version: 1.12
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Common rules for searching for Perl things
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/File-Find-Rule-Perl/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-Find-Rule-Perl-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -19,10 +18,10 @@ 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
|
|
|
|
|
BuildRequires: perl(Perl::MinimumVersion) >= 1.27
|
|
|
|
|
BuildRequires: perl(Test::MinimumVersion) >= 0.101080
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.44
|
|
|
|
|
BuildRequires: perl(Test::CPAN::Meta) >= 0.17
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -39,7 +38,6 @@ make %{?_smp_mflags}
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
|
cd ..
|
|
|
|
@ -47,9 +45,6 @@ find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
@ -64,6 +59,11 @@ cd ..
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 25 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.12-1
|
|
|
|
|
- Upstream update.
|
|
|
|
|
- Update BRs.
|
|
|
|
|
- Spec file cleanup.
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|