From d4007db343058bb17cb107da183504fa69d86281 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 06:11:09 -0400 Subject: [PATCH] import perl-List-Pairwise-1.03-10.el8 --- .gitignore | 1 + .perl-List-Pairwise.metadata | 1 + ...-building-on-Perl-without-dot-in-INC.patch | 9 ++ SPECS/perl-List-Pairwise.spec | 88 +++++++++++++++++++ 4 files changed, 99 insertions(+) create mode 100644 .gitignore create mode 100644 .perl-List-Pairwise.metadata create mode 100644 SOURCES/List-Pairwise-1.03-Fix-building-on-Perl-without-dot-in-INC.patch create mode 100644 SPECS/perl-List-Pairwise.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..27ce909 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/List-Pairwise-1.03.tar.gz diff --git a/.perl-List-Pairwise.metadata b/.perl-List-Pairwise.metadata new file mode 100644 index 0000000..7ec6972 --- /dev/null +++ b/.perl-List-Pairwise.metadata @@ -0,0 +1 @@ +80b1c33535fe0145b128a8f98a63b66a9965f752 SOURCES/List-Pairwise-1.03.tar.gz diff --git a/SOURCES/List-Pairwise-1.03-Fix-building-on-Perl-without-dot-in-INC.patch b/SOURCES/List-Pairwise-1.03-Fix-building-on-Perl-without-dot-in-INC.patch new file mode 100644 index 0000000..abe27a6 --- /dev/null +++ b/SOURCES/List-Pairwise-1.03-Fix-building-on-Perl-without-dot-in-INC.patch @@ -0,0 +1,9 @@ +diff -up List-Pairwise-1.03/Makefile.PL.orig List-Pairwise-1.03/Makefile.PL +--- List-Pairwise-1.03/Makefile.PL.orig 2017-05-17 13:08:57.451809670 +0200 ++++ List-Pairwise-1.03/Makefile.PL 2017-05-17 13:09:08.730761932 +0200 +@@ -1,3 +1,5 @@ ++BEGIN { push @INC, '.'; } ++ + use inc::Module::Install; + + name 'List-Pairwise'; diff --git a/SPECS/perl-List-Pairwise.spec b/SPECS/perl-List-Pairwise.spec new file mode 100644 index 0000000..fa52a80 --- /dev/null +++ b/SPECS/perl-List-Pairwise.spec @@ -0,0 +1,88 @@ +Name: perl-List-Pairwise +Version: 1.03 +Release: 10%{?dist} +Summary: Map/grep arrays and hashes pairwise +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/List-Pairwise/ +Source0: http://www.cpan.org/authors/id/T/TD/TDRUGEON/List-Pairwise-%{version}.tar.gz +Patch0: List-Pairwise-1.03-Fix-building-on-Perl-without-dot-in-INC.patch +BuildArch: noarch +# Build +BuildRequires: make +BuildRequires: perl-interpreter +BuildRequires: perl-generators +BuildRequires: perl(Config) +BuildRequires: perl(Cwd) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +BuildRequires: perl(ExtUtils::MM_Unix) +BuildRequires: perl(Fcntl) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Path) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +# Runtime +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +# List::Util is not used +BuildRequires: perl(warnings) +# Tests only +# Devel::Cover is not used, because t/coverage.pl is not executed +BuildRequires: perl(lib) +BuildRequires: perl(Test::More) >= 0.42 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) + +%description +List::Pairwise provides functions to map and grep lists two elements at a +time, setting $a and $b to each pair instead of setting $_ to each element. + +%prep +%setup -q -n List-Pairwise-%{version} +%patch0 -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%doc Changelog +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Feb 08 2018 Fedora Release Engineering - 1.03-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 1.03-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sun Jun 04 2017 Jitka Plesnikova - 1.03-8 +- Perl 5.26 rebuild + +* Wed May 17 2017 Jitka Plesnikova - 1.03-7 +- Fix building on Perl without '.' in @INC + +* Sat Feb 11 2017 Fedora Release Engineering - 1.03-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Sun May 15 2016 Jitka Plesnikova - 1.03-5 +- Perl 5.24 rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.03-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Jun 18 2015 Fedora Release Engineering - 1.03-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Jun 12 2015 Jitka Plesnikova - 1.03-2 +- Perl 5.22 rebuild +- Disable BR Devel::Cover, coverage.pl is not executed during the check + +* Thu Nov 27 2014 Petr Ĺ abata 1.03-1 +- Initial packaging