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
This commit is contained in:
Paul Howarth 2014-06-26 23:18:52 +01:00
parent a8a05378d4
commit f34ea90b31
4 changed files with 29 additions and 33 deletions

View File

@ -1,16 +0,0 @@
--- 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=> 11;
use Config;
@@ -44,4 +44,3 @@
is_deeply($config2->values_set, { more => 'more3' }, "\$config2 has 'more' set to 'more3'");
-done_testing;

View File

@ -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;

View File

@ -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@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@lists.fedoraproject.org> - 0.007-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

View File

@ -1 +1 @@
2829c0dfa8a7e51b3f582efbee4bb128 ExtUtils-Config-0.007.tar.gz
565a7b09c7cac5907a25bbe2c959a717 ExtUtils-Config-0.008.tar.gz