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:
parent
ea02e0aecf
commit
2ba2d4994d
@ -1,6 +1,6 @@
|
|||||||
--- t/author-split_like_shell.t
|
--- t/author-split_like_shell.t
|
||||||
+++ 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' ] },
|
{ 'a " b " c' => [ 'a', ' b ', 'c' ] },
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
foreach my $test (@win_splits) {
|
foreach my $test (@win_splits) {
|
||||||
my ($string, $expected) = %$test;
|
my ($string, $expected) = %$test;
|
||||||
my @result = ExtUtils::Helpers::Windows::split_like_shell($string);
|
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) . '<');
|
diag("split_like_shell error \n>$string< is not splitting as >" . join("|", @$expected) . '<');
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -21,13 +21,13 @@
|
|||||||
use strict;
|
use strict;
|
||||||
use warnings FATAL => 'all';
|
use warnings FATAL => 'all';
|
||||||
-use Test::More;
|
-use Test::More;
|
||||||
+use Test::More tests => 2;
|
+use Test::More tests => 3;
|
||||||
use File::Spec::Functions qw/catfile/;
|
use File::Spec::Functions qw/catfile/;
|
||||||
use ExtUtils::Helpers qw/man1_pagename man3_pagename/;
|
use ExtUtils::Helpers qw/man1_pagename man3_pagename/;
|
||||||
|
|
||||||
@@ -17,5 +17,3 @@
|
@@ -18,5 +18,3 @@ is man1_pagename('script/foo'), 'foo.1',
|
||||||
is man1_pagename('script/foo'), 'foo.1', 'man1_pagename';
|
|
||||||
|
|
||||||
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.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;
|
-done_testing;
|
@ -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)
|
%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
|
Name: perl-ExtUtils-Helpers
|
||||||
Version: 0.016
|
Version: 0.017
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Various portability utilities for module builders
|
Summary: Various portability utilities for module builders
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -13,7 +13,7 @@ License: GPL+ or Artistic
|
|||||||
URL: https://metacpan.org/release/ExtUtils-Helpers
|
URL: https://metacpan.org/release/ExtUtils-Helpers
|
||||||
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-%{version}.tar.gz
|
Source0: http://cpan.metacpan.org/authors/id/L/LE/LEONT/ExtUtils-Helpers-%{version}.tar.gz
|
||||||
Patch2: ExtUtils-Helpers-0.016-old-Text::ParseWords.patch
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
# Build
|
# Build
|
||||||
@ -82,6 +82,11 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
|
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Apr 13 2013 Paul Howarth <paul@city-fan.org> - 0.016-1
|
||||||
- Update to 0.016
|
- Update to 0.016
|
||||||
- Made man3_pagename more flexible with paths
|
- Made man3_pagename more flexible with paths
|
||||||
|
Loading…
Reference in New Issue
Block a user