Upstream update.

- Reflect Source0: having changed.
- Rework spec to reflect upstream changes.
epel9
Ralf Corsépius 10 years ago
parent 0ff7ee1d10
commit 4bc5b9da8d

2
.gitignore vendored

@ -1 +1 @@
/File-Find-Rule-Perl-1.13.tar.gz
/File-Find-Rule-Perl-1.15.tar.gz

@ -0,0 +1,11 @@
--- File-Find-Rule-Perl-1.15.orig/t/03_no_index.t 2015-04-05 22:57:10.000000000 +0200
+++ File-Find-Rule-Perl-1.15/t/03_no_index.t 2015-04-15 12:39:45.612810084 +0200
@@ -38,6 +38,8 @@
MYMETA.json
};
my @files = sort grep {
+ ! /^(debug|elf).*\.list/
+ and
! /^debian\b/
and
! /(?:^|\W)\.\w/

@ -1,11 +1,13 @@
Name: perl-File-Find-Rule-Perl
Version: 1.13
Release: 8%{?dist}
Version: 1.15
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
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))
BuildArch: noarch
BuildRequires: perl(constant)
@ -19,48 +21,38 @@ BuildRequires: perl(File::Spec::Unix)
BuildRequires: perl(Params::Util) >= 0.38
BuildRequires: perl(Parse::CPAN::Meta) >= 1.38
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
Common rules for searching for Perl things.
%prep
%setup -q -T -c
%setup -q -T -D -a0
%setup -q -n File-Find-Rule-Perl-%{version}
%patch0 -p1
%build
cd File-Find-Rule-Perl-%{version}
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
cd ..
%install
cd File-Find-Rule-Perl-%{version}
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 d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
%if !%{defined perl_bootstrap}
cd File-Find-Rule-Perl-%{version}
make test AUTOMATED_TESTING=1
cd ..
%endif
make test
%files
%doc File-Find-Rule-Perl-%{version}/Changes File-Find-Rule-Perl-%{version}/LICENSE
%doc Changes
%{perl_vendorlib}/File
%{_mandir}/man3/*
%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
- Perl 5.20 re-rebuild of bootstrapped packages

@ -1 +1 @@
c3ee4f00f643f82fdb6f1cbcebfa90de File-Find-Rule-Perl-1.13.tar.gz
d8b458792b7eed83c744ae30b1bc3348 File-Find-Rule-Perl-1.15.tar.gz

Loading…
Cancel
Save