From 2d3c07cdc5acdb4989e6f2998284441875a5e627 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 11 Jun 2019 09:29:44 -0400 Subject: [PATCH] import perl-File-Find-Rule-Perl-1.15-10.el8+733+86cf098e --- .gitignore | 1 + .perl-File-Find-Rule-Perl.metadata | 1 + SOURCES/File-Find-Rule-Perl-1.15-fedora.patch | 11 ++ SPECS/perl-File-Find-Rule-Perl.spec | 185 ++++++++++++++++++ 4 files changed, 198 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-File-Find-Rule-Perl.metadata create mode 100644 SOURCES/File-Find-Rule-Perl-1.15-fedora.patch create mode 100644 SPECS/perl-File-Find-Rule-Perl.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..798ba24 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/File-Find-Rule-Perl-1.15.tar.gz diff --git a/.perl-File-Find-Rule-Perl.metadata b/.perl-File-Find-Rule-Perl.metadata new file mode 100644 index 0000000..5f27396 --- /dev/null +++ b/.perl-File-Find-Rule-Perl.metadata @@ -0,0 +1 @@ +5e8ea84b61860e33265516eb4188e73518bc87b8 SOURCES/File-Find-Rule-Perl-1.15.tar.gz diff --git a/SOURCES/File-Find-Rule-Perl-1.15-fedora.patch b/SOURCES/File-Find-Rule-Perl-1.15-fedora.patch new file mode 100644 index 0000000..63ffb5b --- /dev/null +++ b/SOURCES/File-Find-Rule-Perl-1.15-fedora.patch @@ -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/ diff --git a/SPECS/perl-File-Find-Rule-Perl.spec b/SPECS/perl-File-Find-Rule-Perl.spec new file mode 100644 index 0000000..cd0f29f --- /dev/null +++ b/SPECS/perl-File-Find-Rule-Perl.spec @@ -0,0 +1,185 @@ +Name: perl-File-Find-Rule-Perl +Version: 1.15 +Release: 10%{?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/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-generators +BuildRequires: perl(constant) +BuildRequires: perl(lib) +BuildRequires: perl(Carp) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find::Rule) >= 0.20 +BuildRequires: perl(File::Spec) >= 0.82 +BuildRequires: perl(File::Spec::Functions) +BuildRequires: perl(File::Spec::Unix) +BuildRequires: perl(Params::Util) >= 0.38 +BuildRequires: perl(Parse::CPAN::Meta) >= 1.38 +BuildRequires: perl(Test::More) >= 0.47 + +%description +Common rules for searching for Perl things. + +%prep +%setup -q -n File-Find-Rule-Perl-%{version} +%patch0 -p1 + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +chmod -R u+w $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes +%{perl_vendorlib}/File +%{_mandir}/man3/* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.15-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.15-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.15-8 +- Perl 5.26 rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 1.15-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.15-6 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.15-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Sun Jan 31 2016 Ralf Corsépius - 1.15-4 +- Modernize spec. + +* Thu Jun 18 2015 Fedora Release Engineering - 1.15-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Jun 04 2015 Jitka Plesnikova - 1.15-2 +- Perl 5.22 rebuild + +* Wed Apr 15 2015 Ralf Corsépius - 1.15-1 +- Upstream update. +- Reflect Source0: having changed. +- Rework spec to reflect upstream changes. + +* Sun Sep 07 2014 Jitka Plesnikova - 1.13-8 +- Perl 5.20 re-rebuild of bootstrapped packages + +* Wed Aug 27 2014 Jitka Plesnikova - 1.13-7 +- Perl 5.20 rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.13-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Aug 14 2013 Jitka Plesnikova - 1.13-5 +- Perl 5.18 re-rebuild of bootstrapped packages + +* Sat Aug 03 2013 Fedora Release Engineering - 1.13-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jul 21 2013 Petr Pisar - 1.13-3 +- Perl 5.18 rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.13-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Nov 07 2012 Ralf Corsépius - 1.13-1 +- Revert parts of previous changes. +- Upstream update. + +* Tue Oct 23 2012 Petr Šabata - 1.12-6 +- Specify all dependencies +- Modernize specfile +- Drop command macros +- Fix mixed whitespace + +* Fri Jul 20 2012 Fedora Release Engineering - 1.12-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 10 2012 Petr Pisar - 1.12-4 +- Perl 5.16 re-rebuild of bootstrapped packages + +* Tue Jun 12 2012 Petr Pisar - 1.12-3 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 1.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Fri Nov 25 2011 Ralf Corsépius - 1.12-1 +- Upstream update. +- Update BRs. +- Spec file cleanup. + +* Tue Jun 28 2011 Marcela Mašláňová - 1.10-3 +- rebuild with Perl 5.14.1 +- add perl_bootstrap macro for test BR + +* Tue Feb 08 2011 Fedora Release Engineering - 1.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Nov 03 2010 Ralf Corsépius - 1.10-1 +- Upstream update. + +* Sun May 09 2010 Ralf Corsépius - 1.09-5 +- Re-enable pmv-test. + +* Sat May 01 2010 Marcela Maslanova - 1.09-4 +- Mass rebuild with perl-5.12.0 + +* Fri Apr 30 2010 Marcela Maslanova - 1.09-3 +- Mass rebuild with perl-5.12.0 + +* Mon Dec 7 2009 Stepan Kasal - 1.09-2 +- rebuild against perl 5.10.1 + +* Fri Aug 07 2009 Ralf Corsépius - 1.09-1 +- Upstream update. + +* Sat Jul 25 2009 Fedora Release Engineering - 1.08-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jul 20 2009 Ralf Corsépius - 1.08-1 +- Upstream update. + +* Wed Jun 17 2009 Ralf Corsépius - 1.06-1 +- Upstream update. +- Build in subdir to work-around rpm disturbing testsuite. +- Rework BRs. + +* Fri Feb 27 2009 Ralf Corsépius - 1.04-4 +- Adjust minimum perl version in META.yml (Add File-Find-Rule-Perl-1.04.diff). + +* Thu Feb 26 2009 Fedora Release Engineering - 1.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Jun 24 2008 Ralf Corsépius - 1.04-2 +- Unconditionally BR: perl(Test::CPAN::Meta). + +* Tue Jun 10 2008 Ralf Corsépius - 1.04-1 +- Upstream update. + +* Wed Feb 27 2008 Tom "spot" Callaway - 0.03-3 +- Rebuild for perl 5.10 (again) + +* Fri Jan 11 2008 Tom "spot" Callaway - 0.03-2 +- rebuild for new perl + +* Mon Nov 19 2007 Ralf Corsépius - 0.03-1 +- Initial version.