From 381ebe97babc7b3e90e187e5d82203ae2e0f950c Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Wed, 6 Jul 2016 17:24:14 +0100 Subject: [PATCH] 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 --- List-MoreUtils-0.402-provides.patch | 12 ------------ perl-List-MoreUtils.spec | 27 ++++++++++++++++++++------- sources | 2 +- 3 files changed, 21 insertions(+), 20 deletions(-) delete mode 100644 List-MoreUtils-0.402-provides.patch diff --git a/List-MoreUtils-0.402-provides.patch b/List-MoreUtils-0.402-provides.patch deleted file mode 100644 index bff09d9..0000000 --- a/List-MoreUtils-0.402-provides.patch +++ /dev/null @@ -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 = <= 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 - 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 - 0.415-2 - Perl 5.24 rebuild diff --git a/sources b/sources index 1ea9e47..e4e9432 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a8e42767dd4f41f51b96749efe5ef31a List-MoreUtils-0.415.tar.gz +0c5c4650eb52ed58cac67d81be1004f3 List-MoreUtils-0.416.tar.gz