Update to 0.017

- New upstream release 0.017
  - Fix man3_pagename to properly split dirs
- Update patch for building with Test::More < 0.88
This commit is contained in:
Paul Howarth 2013-04-15 17:20:26 +01:00
parent ea02e0aecf
commit 2ba2d4994d
3 changed files with 13 additions and 8 deletions

View File

@ -1,6 +1,6 @@
--- t/author-split_like_shell.t
+++ t/author-split_like_shell.t
@@ -69,6 +69,8 @@
@@ -69,6 +69,8 @@ my @win_splits =
{ 'a " b " c' => [ 'a', ' b ', 'c' ] },
);
@ -9,7 +9,7 @@
foreach my $test (@win_splits) {
my ($string, $expected) = %$test;
my @result = ExtUtils::Helpers::Windows::split_like_shell($string);
@@ -86,4 +88,3 @@
@@ -86,4 +88,3 @@ foreach my $test (@unix_splits) {
diag("split_like_shell error \n>$string< is not splitting as >" . join("|", @$expected) . '<');
}
@ -21,13 +21,13 @@
use strict;
use warnings FATAL => 'all';
-use Test::More;
+use Test::More tests => 2;
+use Test::More tests => 3;
use File::Spec::Functions qw/catfile/;
use ExtUtils::Helpers qw/man1_pagename man3_pagename/;
@@ -17,5 +17,3 @@
is man1_pagename('script/foo'), 'foo.1', 'man1_pagename';
@@ -18,5 +18,3 @@ is man1_pagename('script/foo'), 'foo.1',
is man3_pagename(catfile(qw/lib ExtUtils Helpers.pm/)), join($sep, qw/ExtUtils Helpers.3pm/), 'man3_pagename';
is man3_pagename(catfile(qw/lib ExtUtils Helpers Unix.pm/)), join($sep, qw/ExtUtils Helpers Unix.3pm/), 'man3_pagename';
-
-done_testing;

View File

@ -5,7 +5,7 @@
%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.016
Version: 0.017
Release: 1%{?dist}
Summary: Various portability utilities for module builders
Group: Development/Libraries
@ -13,7 +13,7 @@ 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.014-old-Test::More.patch
Patch3: ExtUtils-Helpers-0.017-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
@ -82,6 +82,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
%changelog
* Mon Apr 15 2013 Paul Howarth <paul@city-fan.org> - 0.017-1
- Update to 0.017
- Fix man3_pagename to properly split dirs
- Update patch for building with Test::More < 0.88
* Sat Apr 13 2013 Paul Howarth <paul@city-fan.org> - 0.016-1
- Update to 0.016
- Made man3_pagename more flexible with paths

View File

@ -1 +1 @@
dac17d14ef75b11246551bbac73694ad ExtUtils-Helpers-0.016.tar.gz
1e6a4a404f83dda60513cc7fe28b9c74 ExtUtils-Helpers-0.017.tar.gz