89 lines
2.8 KiB
RPMSpec
89 lines
2.8 KiB
RPMSpec
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 <releng@fedoraproject.org> - 1.03-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-9
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-8
|
|
- Perl 5.26 rebuild
|
|
|
|
* Wed May 17 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-7
|
|
- Fix building on Perl without '.' in @INC
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.03-5
|
|
- Perl 5.24 rebuild
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.03-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.03-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
* Fri Jun 12 2015 Jitka Plesnikova <jplesnik@redhat.com> - 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 <contyk@redhat.com> 1.03-1
|
|
- Initial packaging
|