|
|
@ -1,11 +1,13 @@
|
|
|
|
Name: perl-File-Find-Rule-Perl
|
|
|
|
Name: perl-File-Find-Rule-Perl
|
|
|
|
Version: 1.13
|
|
|
|
Version: 1.15
|
|
|
|
Release: 8%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Common rules for searching for Perl things
|
|
|
|
Summary: Common rules for searching for Perl things
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
URL: http://search.cpan.org/dist/File-Find-Rule-Perl/
|
|
|
|
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
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/E/ET/ETHER/File-Find-Rule-Perl-%{version}.tar.gz
|
|
|
|
|
|
|
|
# Filter out the files rpm generates in sourcedir.
|
|
|
|
|
|
|
|
Patch0: File-Find-Rule-Perl-1.15-fedora.patch
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(constant)
|
|
|
|
BuildRequires: perl(constant)
|
|
|
@ -19,48 +21,38 @@ BuildRequires: perl(File::Spec::Unix)
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.38
|
|
|
|
BuildRequires: perl(Params::Util) >= 0.38
|
|
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.38
|
|
|
|
BuildRequires: perl(Parse::CPAN::Meta) >= 1.38
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
BuildRequires: perl(Test::More) >= 0.47
|
|
|
|
# For improved tests
|
|
|
|
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
|
|
|
|
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
|
|
|
|
%description
|
|
|
|
Common rules for searching for Perl things.
|
|
|
|
Common rules for searching for Perl things.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -T -c
|
|
|
|
%setup -q -n File-Find-Rule-Perl-%{version}
|
|
|
|
%setup -q -T -D -a0
|
|
|
|
%patch0 -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%if !%{defined perl_bootstrap}
|
|
|
|
make test
|
|
|
|
cd File-Find-Rule-Perl-%{version}
|
|
|
|
|
|
|
|
make test AUTOMATED_TESTING=1
|
|
|
|
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc File-Find-Rule-Perl-%{version}/Changes File-Find-Rule-Perl-%{version}/LICENSE
|
|
|
|
%doc Changes
|
|
|
|
%{perl_vendorlib}/File
|
|
|
|
%{perl_vendorlib}/File
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 15 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.15-1
|
|
|
|
|
|
|
|
- Upstream update.
|
|
|
|
|
|
|
|
- Reflect Source0: having changed.
|
|
|
|
|
|
|
|
- Rework spec to reflect upstream changes.
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-8
|
|
|
|
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.13-8
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
- Perl 5.20 re-rebuild of bootstrapped packages
|
|
|
|
|
|
|
|
|
|
|
|