[perl-ExtUtils-Config] Update to 0.008

Paul Howarth pghmcfc at fedoraproject.org
Thu Jun 26 22:19:53 UTC 2014


commit f34ea90b31506e88813d1e80ec8fe034a6b3d13b
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Jun 26 23:18:52 2014 +0100

    Update to 0.008
    
    - New upstream release 0.008
      - Remove set, clear, clone methods
    - Don't bother with the release tests, which can't be run on EPEL < 7 anyway
    - Update patch for building with old Test::More versions

 ExtUtils-Config-0.007-old-Test::More.patch |   16 ----------------
 ExtUtils-Config-0.008-old-Test::More.patch |   16 ++++++++++++++++
 perl-ExtUtils-Config.spec                  |   28 ++++++++++++----------------
 sources                                    |    2 +-
 4 files changed, 29 insertions(+), 33 deletions(-)
---
diff --git a/ExtUtils-Config-0.008-old-Test::More.patch b/ExtUtils-Config-0.008-old-Test::More.patch
new file mode 100644
index 0000000..ae11df3
--- /dev/null
+++ b/ExtUtils-Config-0.008-old-Test::More.patch
@@ -0,0 +1,16 @@
+--- t/basics.t
++++ t/basics.t
+@@ -2,7 +2,7 @@
+ 
+ use strict;
+ use warnings FATAL => 'all';
+-use Test::More 0.88;
++use Test::More tests=> 8;
+ 
+ use Config;
+ 
+@@ -29,4 +29,3 @@ my $set = $config->values_set;
+ $set->{more} = 'more3';
+ is($config->get('more'), $Config{more}, "more is still '$Config{more}'");
+ 
+-done_testing;
diff --git a/perl-ExtUtils-Config.spec b/perl-ExtUtils-Config.spec
index 1fc28a8..56094aa 100644
--- a/perl-ExtUtils-Config.spec
+++ b/perl-ExtUtils-Config.spec
@@ -2,18 +2,19 @@
 %global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION) < 0.88 ? 1 : 0);' 2>/dev/null || echo 0)
 
 Name:		perl-ExtUtils-Config
-Version:	0.007
-Release:	8%{?dist}
+Version:	0.008
+Release:	1%{?dist}
 Summary:	A wrapper for perl's configuration
 Group:		Development/Libraries
 License:	GPL+ or Artistic
 URL:		https://metacpan.org/release/ExtUtils-Config
 Source0:	http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Config-%{version}.tar.gz
-Patch1:		ExtUtils-Config-0.007-old-Test::More.patch
+Patch1:		ExtUtils-Config-0.008-old-Test::More.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:	noarch
 # Build
-BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl
+BuildRequires:	perl(ExtUtils::MakeMaker) >= 6.30
 # Module
 BuildRequires:	perl(Config)
 BuildRequires:	perl(Data::Dumper)
@@ -21,17 +22,6 @@ BuildRequires:	perl(Data::Dumper)
 BuildRequires:	perl(File::Find)
 BuildRequires:	perl(File::Temp)
 BuildRequires:	perl(Test::More)
-# Release Tests
-# perl-Pod-Coverage-TrustPod -> perl-Pod-Eventual -> perl-Mixin-Linewise ->
-#   perl-YAML-Tiny -> perl-Module-Build-Tiny -> perl-ExtUtils-Config
-%if 0%{!?perl_bootstrap:1}
-BuildRequires:	perl(Pod::Coverage::TrustPod)
-BuildRequires:	perl(Test::Pod)
-BuildRequires:	perl(Test::Pod::Coverage)
-%endif
-# Avoid Test::Kwalitee as it tries to verify the module's signature, which will fail
-# if we have to patch Makefile.PL, tests etc. for old distribution support
-BuildConflicts:	perl(Test::Kwalitee)
 # Runtime
 Requires:	perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
@@ -57,7 +47,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
 %{_fixperms} %{buildroot}
 
 %check
-make test RELEASE_TESTING=1
+make test
 
 %clean
 rm -rf %{buildroot}
@@ -68,6 +58,12 @@ rm -rf %{buildroot}
 %{_mandir}/man3/ExtUtils::Config.3pm*
 
 %changelog
+* Thu Jun 26 2014 Paul Howarth <paul at city-fan.org> - 0.008-1
+- Update to 0.008
+  - Remove set, clear, clone methods
+- Don't bother with the release tests, which can't be run on EPEL < 7 anyway
+- Update patch for building with old Test::More versions
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.007-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 79e5a3e..8e21268 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2829c0dfa8a7e51b3f582efbee4bb128  ExtUtils-Config-0.007.tar.gz
+565a7b09c7cac5907a25bbe2c959a717  ExtUtils-Config-0.008.tar.gz


More information about the scm-commits mailing list