|
|
62aa2e |
%{?scl:%scl_package perl-Scalar-List-Utils}
|
|
|
62aa2e |
|
|
|
62aa2e |
Name: %{?scl_prefix}perl-Scalar-List-Utils
|
|
|
62aa2e |
Epoch: 3
|
|
|
62aa2e |
Version: 1.45
|
|
|
62aa2e |
Release: 3%{?dist}
|
|
|
62aa2e |
Summary: A selection of general-utility scalar and list subroutines
|
|
|
62aa2e |
License: GPL+ or Artistic
|
|
|
62aa2e |
Group: Development/Libraries
|
|
|
62aa2e |
URL: http://search.cpan.org/dist/Scalar-List-Utils/
|
|
|
62aa2e |
Source0: http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/Scalar-List-Utils-%{version}.tar.gz
|
|
|
62aa2e |
# Build
|
|
|
62aa2e |
BuildRequires: findutils
|
|
|
62aa2e |
BuildRequires: gcc
|
|
|
62aa2e |
BuildRequires: make
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl-devel
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(File::Spec)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(warnings)
|
|
|
62aa2e |
# Runtime
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(XSLoader)
|
|
|
62aa2e |
# Tests only
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(B::Deparse)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(base)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(constant)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(IO::File)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(IO::Handle)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(List::Util)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Math::BigInt)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(overload)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Symbol)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Test::More)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(threads)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(threads::shared)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Tie::Handle)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Tie::Scalar)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(Tie::StdScalar)
|
|
|
62aa2e |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
62aa2e |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
62aa2e |
Requires: %{?scl_prefix}perl(Carp)
|
|
|
62aa2e |
|
|
|
62aa2e |
%{?perl_default_filter}
|
|
|
62aa2e |
|
|
|
62aa2e |
%description
|
|
|
62aa2e |
This package contains a selection of subroutines that people have expressed
|
|
|
62aa2e |
would be nice to have in the perl core, but the usage would not really be
|
|
|
62aa2e |
high enough to warrant the use of a keyword, and the size so small such
|
|
|
62aa2e |
that being individual extensions would be wasteful.
|
|
|
62aa2e |
|
|
|
62aa2e |
%prep
|
|
|
62aa2e |
%setup -q -n Scalar-List-Utils-%{version}
|
|
|
62aa2e |
|
|
|
62aa2e |
%build
|
|
|
62aa2e |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 && make %{?_smp_mflags}%{?scl:'}
|
|
|
62aa2e |
|
|
|
62aa2e |
%install
|
|
|
62aa2e |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
62aa2e |
find %{buildroot} -type f -name '*.bs' -size 0 -delete
|
|
|
62aa2e |
%{_fixperms} %{buildroot}/*
|
|
|
62aa2e |
|
|
|
62aa2e |
%check
|
|
|
62aa2e |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
62aa2e |
|
|
|
62aa2e |
%files
|
|
|
62aa2e |
%doc Changes README
|
|
|
62aa2e |
%{perl_vendorarch}/auto/*
|
|
|
62aa2e |
%{perl_vendorarch}/List*
|
|
|
62aa2e |
%{perl_vendorarch}/Scalar*
|
|
|
62aa2e |
%{perl_vendorarch}/Sub*
|
|
|
62aa2e |
%{_mandir}/man3/*
|
|
|
62aa2e |
|
|
|
62aa2e |
%changelog
|
|
|
62aa2e |
* Mon Jul 11 2016 Petr Pisar <ppisar@redhat.com> - 3:1.45-3
|
|
|
62aa2e |
- SCL
|
|
|
62aa2e |
|
|
|
62aa2e |
* Sat May 14 2016 Jitka Plesnikova <jplesnik@redhat.com> - 3:1.45-2
|
|
|
62aa2e |
- Increase epoch to favour standalone package
|
|
|
62aa2e |
|
|
|
62aa2e |
* Tue Mar 29 2016 Jan Pazdziora <jpazdziora@redhat.com> - 2:1.45-1
|
|
|
62aa2e |
- 1.45 bump
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Mar 18 2016 Jan Pazdziora <jpazdziora@redhat.com> - 2:1.44-1
|
|
|
62aa2e |
- 1.44 bump
|
|
|
62aa2e |
|
|
|
62aa2e |
* Tue Feb 09 2016 Petr Šabata <contyk@redhat.com> - 2:1.43-1
|
|
|
62aa2e |
- 1.43 bump
|
|
|
62aa2e |
|
|
|
62aa2e |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.42-4
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2:1.42-3
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.42-2
|
|
|
62aa2e |
- Perl 5.22 rebuild
|
|
|
62aa2e |
- Increase Epoch to favour standalone package
|
|
|
62aa2e |
|
|
|
62aa2e |
* Tue May 26 2015 Petr Šabata <contyk@redhat.com> - 1:1.42-1
|
|
|
62aa2e |
- 1.42 bump
|
|
|
62aa2e |
|
|
|
62aa2e |
* Mon Nov 24 2014 Petr Šabata <contyk@redhat.com> - 1:1.41-1
|
|
|
62aa2e |
- 1.41 bump; various enhancements
|
|
|
62aa2e |
|
|
|
62aa2e |
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1:1.38-5
|
|
|
62aa2e |
- Increase Epoch to favour standalone package
|
|
|
62aa2e |
|
|
|
62aa2e |
* Tue Aug 26 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.38-4
|
|
|
62aa2e |
- Perl 5.20 rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38-3
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38-2
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Wed Mar 26 2014 Paul Howarth <paul@city-fan.org> - 1.38-1
|
|
|
62aa2e |
- Update to 1.38
|
|
|
62aa2e |
- Skip pairmap()'s MULTICALL implementation 5.8.9/5.10.0 as it doesn't work
|
|
|
62aa2e |
(CPAN RT#87857)
|
|
|
62aa2e |
- Comment on the fact that package "0" is defined but false (CPAN RT#88201)
|
|
|
62aa2e |
- TODO test in t/readonly.t now passes since 5.19.3 (CPAN RT#88223)
|
|
|
62aa2e |
- Added any, all, none, notall list reduction functions (inspired by
|
|
|
62aa2e |
List::MoreUtils)
|
|
|
62aa2e |
- Added List::Util::product()
|
|
|
62aa2e |
- Added Scalar::Util::unweaken()
|
|
|
62aa2e |
- Avoid C99/C++-style comments in XS code
|
|
|
62aa2e |
- Fix dualvar tests for perl 5.6; fix skip() test counts in dualvar.t
|
|
|
62aa2e |
- Neater documentation examples of other functions that can be built using
|
|
|
62aa2e |
reduce
|
|
|
62aa2e |
- Implement reduce() and first() even in the absence of MULTICALL
|
|
|
62aa2e |
- Various documentation changes/updates
|
|
|
62aa2e |
- Correct uses of overload operators in unit tests (CPAN RT#91969)
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Aug 16 2013 Iain Arnell <iarnell@gmail.com> 1.31-293
|
|
|
62aa2e |
- update to latest upstream version
|
|
|
62aa2e |
|
|
|
62aa2e |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-292
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Wed Jul 31 2013 Petr Pisar <ppisar@redhat.com> - 1.27-291
|
|
|
62aa2e |
- Specify all dependencies
|
|
|
62aa2e |
|
|
|
62aa2e |
* Mon Jul 15 2013 Petr Pisar <ppisar@redhat.com> - 1.27-290
|
|
|
62aa2e |
- Increase release to favour standalone package
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Jul 12 2013 Petr Pisar <ppisar@redhat.com> - 1.27-247
|
|
|
62aa2e |
- Link minimal build-root packages against libperl.so explicitly
|
|
|
62aa2e |
|
|
|
62aa2e |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.27-246
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Jan 04 2013 Iain Arnell <iarnell@gmail.com> 1.27-245
|
|
|
62aa2e |
- update to latest upstream version
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Aug 17 2012 Petr Pisar <ppisar@redhat.com> - 1.25-240
|
|
|
62aa2e |
- Increase release to replace perl sub-package (bug #848961)
|
|
|
62aa2e |
|
|
|
62aa2e |
* Thu Aug 16 2012 Petr Pisar <ppisar@redhat.com> - 1.25-4
|
|
|
62aa2e |
- Correct dependencies
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.25-3
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Wed Jun 06 2012 Petr Pisar <ppisar@redhat.com> - 1.25-2
|
|
|
62aa2e |
- Perl 5.16 rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Sun Mar 25 2012 Iain Arnell <iarnell@gmail.com> 1.25-1
|
|
|
62aa2e |
- update to latest upstream version
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.23-3
|
|
|
62aa2e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.23-2
|
|
|
62aa2e |
- Perl mass rebuild
|
|
|
62aa2e |
|
|
|
62aa2e |
* Mon Feb 21 2011 Iain Arnell <iarnell@gmail.com> 1.23-1
|
|
|
62aa2e |
- Specfile autogenerated by cpanspec 1.79.
|