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