Update to 0.022

- New upstream release 0.022
  - Cleaned up remains of former functions
  - Skip IO layers on <5.8 for 5.6 compatibility
  - Don't swallow pl2bat exceptions
- Drop patch for using Text::ParseWords < 3.24; even EL-5 has it
This commit is contained in:
Paul Howarth 2014-03-07 13:55:49 +00:00
parent 927d249259
commit 6b99baa9c3
3 changed files with 17 additions and 26 deletions

View File

@ -1,11 +0,0 @@
--- lib/ExtUtils/Helpers/Unix.pm
+++ lib/ExtUtils/Helpers/Unix.pm
@@ -10,7 +10,7 @@
use Carp qw/croak/;
use Config;
-use Text::ParseWords 3.24 qw/shellwords/;
+use Text::ParseWords 3.22 qw/shellwords/;
sub make_executable {
my $filename = shift;

View File

@ -1,18 +1,14 @@
# We don't really need Text::ParseWords ≥ 3.24
%global old_tpw %(perl -MText::ParseWords -e 'print (($Text::ParseWords::VERSION) < 3.24 ? 1 : 0);' 2>/dev/null || echo 0)
# Test suite needs patching if we have Test::More < 0.88
%global old_test_more %(perl -MTest::More -e 'print (($Test::More::VERSION) < 0.88 ? 1 : 0);' 2>/dev/null || echo 0)
Name: perl-ExtUtils-Helpers
Version: 0.021
Release: 4%{?dist}
Version: 0.022
Release: 1%{?dist}
Summary: Various portability utilities for module builders
Group: Development/Libraries
License: GPL+ or Artistic
URL: https://metacpan.org/release/ExtUtils-Helpers
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-%{version}.tar.gz
Patch2: ExtUtils-Helpers-0.016-old-Text::ParseWords.patch
Patch3: ExtUtils-Helpers-0.021-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
@ -26,11 +22,15 @@ BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Copy)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(Module::Load)
BuildRequires: perl(Text::ParseWords) >= 3.22
BuildRequires: perl(strict)
BuildRequires: perl(Text::ParseWords) >= 3.24
BuildRequires: perl(warnings)
# Test Suite
BuildRequires: perl(Cwd)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(lib)
BuildRequires: perl(Test::More)
# Release Tests
# perl-Pod-Coverage-TrustPod -> perl-Pod-Eventual -> perl-Mixin-Linewise ->
@ -50,11 +50,6 @@ modules.
%prep
%setup -q -n ExtUtils-Helpers-%{version}
# We don't really need Text::ParseWords ≥ 3.24
%if %{old_tpw}
%patch2
%endif
# Test suite needs patching if we have Test::More < 0.88
%if %{old_test_more}
%patch3
@ -85,6 +80,13 @@ rm -rf %{buildroot}
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
%changelog
* Fri Mar 7 2014 Paul Howarth <paul@city-fan.org> - 0.022-1
- Update to 0.022
- Cleaned up remains of former functions
- Skip IO layers on <5.8 for 5.6 compatibility
- Don't swallow pl2bat exceptions
- Drop patch for using Text::ParseWords < 3.24; even EL-5 has it
* Wed Sep 4 2013 Paul Howarth <paul@city-fan.org> - 0.021-4
- Skip the release tests when bootstrapping

View File

@ -1 +1 @@
94aa8eaf92def26d9af0cb25fcb1570f ExtUtils-Helpers-0.021.tar.gz
cf4fd6f8caa6daac33b1111c9e93162b ExtUtils-Helpers-0.022.tar.gz