[perl-List-MoreUtils] Update to 0.402

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 95778ffe578566f0c90e3e8d24609455de5c1377
Author: Paul Howarth <paul@xxxxxxxxxxxx>
Date:   Wed Jan 7 16:50:44 2015 +0000

    Update to 0.402
    
    - New upstream release 0.402
      (significant and slightly incompatible update - see Changes)
    - This release by REHSACK → update source URL
    - Classify buildreqs by usage
    - Modernize spec as this isn't going to anywhere older than F-22

 List-MoreUtils-0.402-provides.patch |   12 ++++
 perl-List-MoreUtils.spec            |   95 +++++++++++++++++++++-------------
 sources                             |    2 +-
 3 files changed, 72 insertions(+), 37 deletions(-)
---
diff --git a/List-MoreUtils-0.402-provides.patch b/List-MoreUtils-0.402-provides.patch
new file mode 100644
index 0000000..bff09d9
--- /dev/null
+++ b/List-MoreUtils-0.402-provides.patch
@@ -0,0 +1,12 @@
+--- 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
diff --git a/perl-List-MoreUtils.spec b/perl-List-MoreUtils.spec
index 78a6416..273bcf3 100644
--- a/perl-List-MoreUtils.spec
+++ b/perl-List-MoreUtils.spec
@@ -1,41 +1,59 @@
 Name:		perl-List-MoreUtils
-Version:	0.33
-Release:	15%{?dist}
+Version:	0.402
+Release:	1%{?dist}
 Summary:	Provide the stuff missing in List::Util
-Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		http://search.cpan.org/dist/List-MoreUtils/
-Source0:	http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/List-MoreUtils-%{version}.tar.gz
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
-BuildRequires:	perl(Carp)
+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:	perl >= 4:5.10.0
+BuildRequires:	perl(base)
+BuildRequires:	perl(Config)
 BuildRequires:	perl(constant)
-BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::CBuilder)
-BuildRequires:	perl(ExtUtils::MakeMaker)
-BuildRequires:	perl(Pod::Simple)
-BuildRequires:	perl(Test::CPAN::Meta)
-# For EL-7 onwards, this package is imported to RHEL, where Test::LeakTrace in EPEL isn't available
-%if 0%{?rhel} < 7
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.75
+BuildRequires:	perl(File::Basename)
+BuildRequires:	perl(File::Copy)
+BuildRequires:	perl(File::Path)
+BuildRequires:	perl(File::Spec)
+BuildRequires:	perl(File::Temp)
+BuildRequires:	perl(IO::File)
+BuildRequires:	perl(IO::Handle)
+BuildRequires:	perl(lib)
+BuildRequires:	perl(PerlIO)
+BuildRequires:	perl(Scalar::Util)
+BuildRequires:	perl(Text::ParseWords)
+# Module Runtime
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(Exporter::Tiny) >= 0.038
+BuildRequires:	perl(strict)
+BuildRequires:	perl(vars)
+BuildRequires:	perl(warnings)
+BuildRequires:	perl(XSLoader)
+# Test Suite
+BuildRequires:	perl(Cwd)
+BuildRequires:	perl(Data::Dumper) >= 0.002
+BuildRequires:	perl(Exporter)
+BuildRequires:	perl(File::Find)
+BuildRequires:	perl(File::Spec::Functions)
+BuildRequires:	perl(FindBin)
+BuildRequires:	perl(if)
+BuildRequires:	perl(overload)
+BuildRequires:	perl(parent)
+BuildRequires:	perl(Storable)
+BuildRequires:	perl(Test::Builder::Module)
+BuildRequires:	perl(Test::More) >= 0.88
+# Optional Tests
+%if ! ( 0%{?rhel} )
 BuildRequires:	perl(Test::LeakTrace)
 %endif
-# Test::MinimumVersion -> Perl::MinimumVersion -> PPI -> List::MoreUtils
-%if 0%{!?perl_bootstrap:1}
-BuildRequires:	perl(Test::MinimumVersion)
-%endif
-BuildRequires:	perl(Test::More) >= 0.42
-BuildRequires:	perl(Test::Pod)
+# Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:	perl(Carp)
 
 # Don't "provide" private Perl libs
-%if 0%{?rhel}%{?fedora} < 6
-%global _use_internal_dependency_generator 0
-%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | sort -u
-%global __find_provides /bin/sh -c "grep -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
-%global __find_requires /bin/sh -c "%{__deploop R}"
-%else
 %{?perl_default_filter}
-%endif
 
 %description
 List::MoreUtils provides some trivial but commonly needed functionality
@@ -44,31 +62,36 @@ 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}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1 NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+make install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
 make test
-make test TEST_FILES="xt/*.t" AUTOMATED_TESTING=1
-
-%clean
-rm -rf %{buildroot}
 
 %files
-%doc Changes README LICENSE
-%{perl_vendorarch}/List/
+%doc Changes README
 %{perl_vendorarch}/auto/List/
-%{_mandir}/man3/List::MoreUtils.3pm*
+%{perl_vendorarch}/List/
+%{_mandir}/man3/List::MoreUtils.3*
+%{_mandir}/man3/List::MoreUtils::PP.3*
+%{_mandir}/man3/List::MoreUtils::XS.3*
 
 %changelog
+* Wed Jan  7 2015 Paul Howarth <paul@xxxxxxxxxxxx> - 0.402-1
+- Update to 0.402 (significant and slightly incompatible update - see Changes)
+- This release by REHSACK → update source URL
+- Classify buildreqs by usage
+- Modernize spec as this isn't going to anywhere older than F-22
+
 * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.33-15
 - Perl 5.20 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 79f7ce7..06bbc16 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8a33c84028cc2ff3e92c92434b326c0f  List-MoreUtils-0.33.tar.gz
+6b51d19182cc7ee2251b82743a682e99  List-MoreUtils-0.402.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux