Update to 0.416

- New upstream release 0.416
  - Change the way how the XS part is loaded as a result of CPAN RT#115808
  - Fix some spelling errors (CPAN RT#115807)
  - Requires XSLoader 0.22
- Package newly-shipped license files
- Drop now-redundant provides patch
This commit is contained in:
Paul Howarth 2016-07-06 17:24:14 +01:00
parent 30878593bc
commit 381ebe97ba
3 changed files with 21 additions and 20 deletions

View File

@ -1,12 +0,0 @@
--- lib/List/MoreUtils/XS.pm
+++ lib/List/MoreUtils/XS.pm
@@ -13,7 +13,8 @@ BEGIN
# Load the XS at compile-time so that redefinition warnings will be
# thrown correctly if the XS versions of part or indexes loaded
my $ldr = <<EOLDR;
- package List::MoreUtils;
+ package # hide from rpm
+ List::MoreUtils;
# PERL_DL_NONLAZY must be false, or any errors in loading will just
# cause the perl code to be tested

View File

@ -1,11 +1,10 @@
Name: perl-List-MoreUtils
Version: 0.415
Release: 2%{?dist}
Version: 0.416
Release: 1%{?dist}
Summary: Provide the stuff missing in List::Util
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/List-MoreUtils/
Source0: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/List-MoreUtils-%{version}.tar.gz
Patch0: List-MoreUtils-0.402-provides.patch
# Module Build
BuildRequires: coreutils
BuildRequires: findutils
@ -36,7 +35,7 @@ BuildRequires: perl(Exporter::Tiny) >= 0.038
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
BuildRequires: perl(XSLoader)
BuildRequires: perl(XSLoader) >= 0.22
# Test Suite
BuildRequires: perl(Cwd)
BuildRequires: perl(Data::Dumper) >= 0.002
@ -56,10 +55,14 @@ BuildRequires: perl(Test::LeakTrace)
# Runtime
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(Carp)
Requires: perl(XSLoader) >= 0.22
# Don't "provide" private Perl libs
%{?perl_default_filter}
# Filter underspecified dependencies
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(XSLoader\\)\\s*$
%description
List::MoreUtils provides some trivial but commonly needed functionality
on lists that is not going to go into List::Util.
@ -67,9 +70,6 @@ on lists that is not going to go into List::Util.
%prep
%setup -q -n List-MoreUtils-%{version}
# Avoid unversioned provides
%patch0
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1 NO_PACKLIST=1
make %{?_smp_mflags}
@ -83,6 +83,11 @@ find %{buildroot} -type f -name '*.bs' -empty -delete
make test
%files
%if 0%{?_licensedir:1}
%license ARTISTIC-1.0 GPL-1 LICENSE
%else
%doc ARTISTIC-1.0 GPL-1 LICENSE
%endif
%doc Changes README.md
%{perl_vendorarch}/auto/List/
%{perl_vendorarch}/List/
@ -92,6 +97,14 @@ make test
%{_mandir}/man3/List::MoreUtils::XS.3*
%changelog
* Wed Jul 6 2016 Paul Howarth <paul@city-fan.org> - 0.416-1
- Update to 0.416
- Change the way how the XS part is loaded as a result of CPAN RT#115808
- Fix some spelling errors (CPAN RT#115807)
- Requires XSLoader 0.22
- Package newly-shipped license files
- Drop now-redundant provides patch
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.415-2
- Perl 5.24 rebuild

View File

@ -1 +1 @@
a8e42767dd4f41f51b96749efe5ef31a List-MoreUtils-0.415.tar.gz
0c5c4650eb52ed58cac67d81be1004f3 List-MoreUtils-0.416.tar.gz