befe13
Name:		perl-List-MoreUtils
befe13
Version:	0.428
befe13
Release:	2%{?dist}
befe13
Summary:	Provide the stuff missing in List::Util
befe13
License:	(GPL+ or Artistic) and ASL 2.0
befe13
URL:		http://search.cpan.org/dist/List-MoreUtils/
befe13
Source0:	http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-%{version}.tar.gz
befe13
BuildArch:	noarch
befe13
# Module Build
befe13
BuildRequires:	coreutils
befe13
BuildRequires:	findutils
befe13
BuildRequires:	make
befe13
BuildRequires:	perl-generators
befe13
BuildRequires:	perl-interpreter
befe13
BuildRequires:	perl(base)
befe13
BuildRequires:	perl(Config)
befe13
BuildRequires:	perl(constant)
befe13
BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.75
befe13
BuildRequires:	perl(File::Basename)
befe13
BuildRequires:	perl(File::Spec)
befe13
BuildRequires:	perl(File::Temp)
befe13
BuildRequires:	perl(IO::File)
befe13
BuildRequires:	perl(IO::Handle)
befe13
BuildRequires:	perl(lib)
befe13
BuildRequires:	perl(PerlIO)
befe13
BuildRequires:	perl(Scalar::Util)
befe13
BuildRequires:	perl(Text::ParseWords)
befe13
# Module Runtime
befe13
BuildRequires:	perl(Carp)
befe13
BuildRequires:	perl(Exporter::Tiny) >= 0.038
befe13
BuildRequires:	perl(List::MoreUtils::XS) >= 0.426
befe13
BuildRequires:	perl(strict)
befe13
BuildRequires:	perl(vars)
befe13
BuildRequires:	perl(warnings)
befe13
# Test Suite
befe13
BuildRequires:	perl(Exporter)
befe13
BuildRequires:	perl(List::Util)
befe13
BuildRequires:	perl(Math::Trig)
befe13
BuildRequires:	perl(overload)
befe13
BuildRequires:	perl(Storable)
befe13
BuildRequires:	perl(Test::Builder::Module)
befe13
BuildRequires:	perl(Test::More) >= 0.96
befe13
BuildRequires:	perl(Tie::Array)
befe13
# Optional Tests
befe13
%if ! ( 0%{?rhel} )
befe13
BuildRequires:	perl(Test::LeakTrace)
befe13
%endif
befe13
# Runtime
befe13
Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
befe13
Requires:	perl(Carp)
befe13
Requires:	perl(List::MoreUtils::XS) >= 0.426
befe13
befe13
%description
befe13
List::MoreUtils provides some trivial but commonly needed functionality
befe13
on lists that is not going to go into List::Util.
befe13
befe13
%prep
befe13
%setup -q -n List-MoreUtils-%{version}
befe13
befe13
%build
befe13
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
befe13
make %{?_smp_mflags}
befe13
befe13
%install
befe13
make install DESTDIR=%{buildroot}
befe13
%{_fixperms} -c %{buildroot}
befe13
befe13
%check
befe13
make test
befe13
befe13
%files
befe13
%if 0%{?_licensedir:1}
befe13
%license ARTISTIC-1.0 GPL-1 LICENSE
befe13
%else
befe13
%doc ARTISTIC-1.0 GPL-1 LICENSE
befe13
%endif
befe13
%doc Changes README.md
befe13
%{perl_vendorlib}/List/
befe13
%{_mandir}/man3/List::MoreUtils.3*
befe13
%{_mandir}/man3/List::MoreUtils::Contributing.3*
befe13
%{_mandir}/man3/List::MoreUtils::PP.3*
befe13
befe13
%changelog
befe13
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.428-2
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
befe13
befe13
* Tue Dec 12 2017 Paul Howarth <paul@city-fan.org> - 0.428-1
befe13
- Update to 0.428
befe13
  - Fix GH#22 (Upgrading from LMU 0.416 to split XS/PP version will fail),
befe13
    this time hopefully the right way (CPAN RT#123310)
befe13
  - Fix GH#29 (pairwise() PP implementation add tail undefs if array sizes
befe13
    differ)
befe13
befe13
* Fri Oct 13 2017 Paul Howarth <paul@city-fan.org> - 0.426-1
befe13
- Update to 0.426
befe13
  - Fix broken arrayify prototype
befe13
  - Revert removal of old List::MoreUtils::XS parts
befe13
  - Re-introduce Config::AutoConf (CPAN RT#122875)
befe13
  - Bump required version of List::MoreUtils::XS to 0.426, if XS is available
befe13
befe13
* Thu Sep  7 2017 Paul Howarth <paul@city-fan.org> - 0.425-1
befe13
- Update to 0.425
befe13
  - Makefile.PL: modify PREREQ_PM instead of recommend dynamically
befe13
befe13
* Tue Aug 22 2017 Paul Howarth <paul@city-fan.org> - 0.423-1
befe13
- Update to 0.423
befe13
  - Sync version with List::MoreUtils::XS
befe13
  - Add some new functions: qsort (XS only), binsert, bremove, listcmp,
befe13
    arrayify (CPAN RT#17230), samples (CPAN RT#77562), minmaxstr
befe13
    (CPAN RT#106401), lower_bound, upper_bound, equal_range, frequencies
befe13
    occurrences, mode (CPAN RT#91991), zip6 (CPAN RT#42921), reduce_0,
befe13
    reduce_1, reduce_u
befe13
  - Add examples for binsert/bremove (LMU::XS GH#1)
befe13
  - Improve tests
befe13
  - Make List::MoreUtils::XS independent from List::MoreUtils
befe13
  - Improve Makefile.PL regarding some build artifacts
befe13
  - Update tests to latest List::MoreUtils::XS
befe13
  - Recommend List::MoreUtils::XS 0.423
befe13
- BR:/R: LMU::XS ≥ 0.423 as there is no longer a bootstrapping issue
befe13
befe13
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.419-3
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
befe13
befe13
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.419-2
befe13
- Perl 5.26 rebuild
befe13
befe13
* Fri Apr  7 2017 Paul Howarth <paul@city-fan.org> - 0.419-1
befe13
- Update to 0.419
befe13
  - Makefile.PL failed due to unescaped paths interpolated in regex pattern
befe13
    (CPAN RT#120799)
befe13
befe13
* Thu Mar 30 2017 Paul Howarth <paul@city-fan.org> - 0.418-1
befe13
- Update to 0.418
befe13
  - Divorce List::MoreUtils and List::MoreUtils::XS
befe13
  - Change license to Apache 2.0 to avoid code stealing without credits
befe13
  - Don't support Perl 5.6 out of the box any more
befe13
  - Fix CPAN RT#120235: uniq examples are incorrect
befe13
  - Remove things that will be never done from TODO list (GH#18)
befe13
  - Spelling fixes
befe13
- Package is now noarch
befe13
befe13
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.416-2
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
befe13
befe13
* Wed Jul  6 2016 Paul Howarth <paul@city-fan.org> - 0.416-1
befe13
- Update to 0.416
befe13
  - Change the way how the XS part is loaded as a result of CPAN RT#115808
befe13
  - Fix some spelling errors (CPAN RT#115807)
befe13
  - Requires XSLoader 0.22
befe13
- Package newly-shipped license files
befe13
- Drop now-redundant provides patch
befe13
befe13
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.415-2
befe13
- Perl 5.24 rebuild
befe13
befe13
* Mon May  2 2016 Paul Howarth <paul@city-fan.org> - 0.415-1
befe13
- Update to 0.415
befe13
  - Fix CPAN RT#75727: After's XS implementation call XSRETURN(-1) when it
befe13
    doesn't find an element
befe13
  - Fix CPAN RT#113117: XS's minmax() sometimes return undef (perl ≥ 5.20)
befe13
  - Explicit test for thesis in CPAN RT#110998: XS implementation of pairwise
befe13
    fails with memory allocation error when there are more return values than
befe13
    in original lists - thesis is proven wrong
befe13
  - Efficiency improvements
befe13
  - Improve some tests to get clearer reports
befe13
  - Distinguish between "Makefile.PL finds a .git directory" and
befe13
    "Makefile.PL runs in maintainer mode"
befe13
- Simplify find command using -delete
befe13
befe13
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.413-3
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
befe13
befe13
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.413-2
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
befe13
befe13
* Sat Jun 13 2015 Paul Howarth <paul@city-fan.org> - 0.413-1
befe13
- Update to 0.413
befe13
  - Fix compiling in c++ mode (deprecated, but some people seem to require it)
befe13
    (CPAN RT#104690)
befe13
befe13
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.412-2
befe13
- Perl 5.22 rebuild
befe13
befe13
* Wed May 20 2015 Paul Howarth <paul@city-fan.org> - 0.412-1
befe13
- Update to 0.412
befe13
  - Move generation of test endpoints to author stage as requested per issue/#9
befe13
  - Add a rough guide for contributors
befe13
  - Fix CPAN RT#103251 to avoid removing bundled stuff by accident
befe13
  - Fix compilation errors under cl
befe13
befe13
* Mon Mar 30 2015 Paul Howarth <paul@city-fan.org> - 0.410-1
befe13
- Update to 0.410
befe13
  - Fix CPAN RT#102885: uniq bug broke tied array
befe13
  - Fix issue/8: Macros introduced in dfd851147f cause problems with MSVC
befe13
  - Update ppport.h from 3.25 to 3.31
befe13
  - Fix multiple mg_get can break weird ties
befe13
  - Fix test run using PERL5OPT=d:Confess
befe13
  - Use base instead of parent, 'cause parent isn't bundled before 5.10.1
befe13
  - Update bundled bootstrap modules
befe13
    - Data::Tumbler to 0.010
befe13
    - Test::WriteVariants to 0.012
befe13
    - Config::AutoConf to 0.311
befe13
  - Fix spelling (and add stop-words for names etc. in author tests)
befe13
befe13
* Wed Mar 18 2015 Paul Howarth <paul@city-fan.org> - 0.408-1
befe13
- Update to 0.408
befe13
  - Fix CPAN RT#102840: uniq broken for call-by-function-return
befe13
  - Fix CPAN RT#102853: hent_val accesses
befe13
  - Fix CPAN RT#102833: Compilation error with perl 5.21.7+
befe13
  - Fix regex for CPAN RT#44518 test
befe13
befe13
* Wed Mar 18 2015 Paul Howarth <paul@city-fan.org> - 0.407-1
befe13
- Update to 0.407
befe13
  - Added one(), onlyidx(), onlyval() (CPAN RT#73134) and onlyres()
befe13
  - Improve XS maintainability
befe13
  - Document how uniq/distinct deal with undef (CPAN RT#49800)
befe13
  - Add bsearchidx to satisfy CPAN RT#63470
befe13
  - Add singleton to satisfy CPAN RT#94382
befe13
  - Fix CPAN RT#82039 - uniq changes the type of its arguments
befe13
  - Fix CPAN RT#44518 again
befe13
befe13
* Tue Mar  3 2015 Paul Howarth <paul@city-fan.org> - 0.406-1
befe13
- Update to 0.406
befe13
  - Add new functions firstres and lastres in addition to firstidx, lastidx,
befe13
    firstval and lastval
befe13
  - Regenerate MANIFEST to bundle README.md
befe13
befe13
* Sat Feb 14 2015 Paul Howarth <paul@city-fan.org> - 0.405-1
befe13
- Update to 0.405
befe13
  - Fix CPAN RT#78527 - first_val/last_val in documentation
befe13
  - Fix CPAN RT#102055 - ExtUtils::MakeMaker required version absurdly high
befe13
  - Fix compiler issue for older/ansi-c89 compilers
befe13
  - Remove local compat workarounds in favour for ppport.h
befe13
befe13
* Thu Jan 29 2015 Paul Howarth <paul@city-fan.org> - 0.404-1
befe13
- Update to 0.404
befe13
  - Fix ancient toolchains (PREREQ_PM & Co. set appropriately)
befe13
  - Bump version required of Test::More to 0.96 (#toolchain calls it a "sane
befe13
    subset")
befe13
  - Fix some meta-data #toolchain pointed out
befe13
befe13
* Tue Jan 27 2015 Paul Howarth <paul@city-fan.org> - 0.403-1
befe13
- Update to 0.403
befe13
  - Remove most recent stable perl recommendation from meta to work around
befe13
    misbehaving CPAN clients blocking update
befe13
  - Update copyright date
befe13
  - Ensure AUTHOR is a string on older toolchains
befe13
befe13
* Wed Jan  7 2015 Paul Howarth <paul@city-fan.org> - 0.402-1
befe13
- Update to 0.402 (significant and slightly incompatible update - see Changes)
befe13
- This release by REHSACK → update source URL
befe13
- Classify buildreqs by usage
befe13
- Modernize spec as this isn't going to anywhere older than F-22
befe13
befe13
* Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-15
befe13
- Perl 5.20 re-rebuild of bootstrapped packages
befe13
befe13
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-14
befe13
- Perl 5.20 rebuild
befe13
befe13
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-13
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
befe13
befe13
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-12
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
befe13
befe13
* Wed Aug 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 0.33-11
befe13
- Perl 5.18 re-rebuild of bootstrapped packages
befe13
befe13
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-10
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
befe13
befe13
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 0.33-9
befe13
- Perl 5.18 rebuild
befe13
befe13
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-8
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
befe13
befe13
* Wed Oct 17 2012 Paul Howarth <paul@city-fan.org> - 0.33-7
befe13
- BR:/R: perl(Carp)
befe13
- BR: perl(constant), perl(Exporter) and perl(ExtUtils::CBuilder)
befe13
- Add commentary regarding non-use of Test::LeakTrace for EL-7 builds
befe13
- Use Test::LeakTrace for EL-5 builds
befe13
- Drop support for EL-4 builds since it was EOL-ed ages ago
befe13
- Drop %%defattr, redundant since rpm 4.4
befe13
- Don't need to remove empty directories from the buildroot
befe13
- Remove more command macros
befe13
befe13
* Mon Oct 15 2012 Petr Pisar <ppisar@redhat.com> - 0.33-6
befe13
- Do not build-require Test::LeakTrace on RHEL 7
befe13
befe13
* Fri Jul 27 2012 Tom Callaway <spot@fedoraproject.org> - 0.33-5
befe13
- Add epel filtering mechanism
befe13
befe13
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33-4
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
befe13
befe13
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.33-3
befe13
- Perl 5.16 re-rebuild of bootstrapped packages
befe13
befe13
* Tue Jun 19 2012 Petr Pisar <ppisar@redhat.com> - 0.33-2
befe13
- Perl 5.16 rebuild
befe13
befe13
* Tue Jan 24 2012 Paul Howarth <paul@city-fan.org> - 0.33-1
befe13
- Update to 0.33
befe13
  - Updated can_xs to fix a bug in it
befe13
- Reinstate compatibility with old distributions like EL-5
befe13
- Drop Test::More version requirement to 0.42
befe13
- BR: perl(ExtUtils::MakeMaker)
befe13
- BR: perl(Test::LeakTrace) except on EL-4/EL-5 where it's not available
befe13
- BR: perl(Pod::Simple), perl(Test::CPAN::Meta), perl(Test::MinimumVersion)
befe13
  (if we're not bootstrapping) and perl(Test::Pod), and run the developer tests
befe13
  too
befe13
- Don't use macros for commands
befe13
- Use %%{_fixperms} macro rather than our own chmod incantation
befe13
- Make %%files list more specific
befe13
- Use tabs
befe13
befe13
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-4
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
befe13
befe13
* Mon Jul 18 2011 Petr Sabata <contyk@redhat.com> - 0.32-3
befe13
- Perl mass rebuild
befe13
befe13
* Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.32-2
befe13
- Rebuild to fix broken rawhide deps
befe13
befe13
* Sat Jul 02 2011 Iain Arnell <iarnell@gmail.com> - 0.32-1
befe13
- Update to latest upstream version
befe13
befe13
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.30-3
befe13
- Perl mass rebuild
befe13
befe13
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30-2
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
befe13
befe13
* Mon Jan 03 2011 Iain Arnell <iarnell@gmail.com> - 0.30-1
befe13
- Update to latest upstream version
befe13
- Clean up spec for modern rpmbuild
befe13
- Use perl_default_filter
befe13
- Remove unnecessary buildrequires
befe13
befe13
* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-12
befe13
- Rebuild to fix problems with vendorarch/lib (#661697)
befe13
befe13
* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.22-11
befe13
- Mass rebuild with perl-5.12.0
befe13
befe13
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.22-10
befe13
- Rebuild against perl 5.10.1
befe13
befe13
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-9
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
befe13
befe13
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-8
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
befe13
befe13
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-7
befe13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
befe13
befe13
* Thu Feb 28 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-6
befe13
- Rebuild normally, second pass
befe13
befe13
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-5
befe13
- Rebuild for perl 5.10 (again), tests disabled for first pass
befe13
befe13
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.22-4
befe13
- Autorebuild for GCC 4.3
befe13
befe13
* Mon Jan 14 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-3
befe13
- Rebuild normally, second pass
befe13
befe13
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.22-2.1
befe13
- Rebuild for new perl, first pass, disable TPC and tests
befe13
befe13
* Sun Sep 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-2
befe13
- Rebuild for FC6
befe13
befe13
* Mon Jul  3 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.22-1
befe13
- Update to 0.22
befe13
befe13
* Mon Jun 19 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.21-1
befe13
- Update to 0.21
befe13
befe13
* Sat Jun 10 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.20-1
befe13
- Update to 0.20
befe13
befe13
* Sat Apr 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.19-1
befe13
- First build