Update to 0.020

- New upstream release 0.020
  - Fix man3_pagename for top level domains
- Update patch for building with Test::More < 0.88
This commit is contained in:
Paul Howarth 2013-04-29 21:45:49 +01:00
parent 55b6b3d0be
commit b96c0e35e0
3 changed files with 13 additions and 8 deletions

View File

@ -21,13 +21,13 @@
use strict;
use warnings FATAL => 'all';
-use Test::More;
+use Test::More tests => 3;
+use Test::More tests => 4;
use File::Spec::Functions qw/catfile/;
use ExtUtils::Helpers qw/man1_pagename man3_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';
@@ -19,5 +19,3 @@ is man1_pagename('script/foo'), 'foo.1',
is man3_pagename(catfile(qw/lib ExtUtils.pm/)), join($sep, qw/ExtUtils.3pm/), 'man3_pagename 1';
is man3_pagename(catfile(qw/lib ExtUtils Helpers.pm/)), join($sep, qw/ExtUtils Helpers.3pm/), 'man3_pagename 2';
is man3_pagename(catfile(qw/lib ExtUtils Helpers Unix.pm/)), join($sep, qw/ExtUtils Helpers Unix.3pm/), 'man3_pagename 3';
-
-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.019
Version: 0.020
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.017-old-Test::More.patch
Patch3: ExtUtils-Helpers-0.020-old-Test::More.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
BuildArch: noarch
# Build
@ -81,6 +81,11 @@ rm -rf %{buildroot}
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
%changelog
* Mon Apr 29 2013 Paul Howarth <paul@city-fan.org> - 0.020-1
- Update to 0.020
- Fix man3_pagename for top level domains
- Update patch for building with Test::More < 0.88
* Wed Apr 24 2013 Paul Howarth <paul@city-fan.org> - 0.019-1
- Update to 0.019
- Fix make_executable for '#!/usr/bin/perl'

View File

@ -1 +1 @@
c6f55eb606c3639eedb634172168f155 ExtUtils-Helpers-0.019.tar.gz
243a8698b12c7af06d4219146463b3dc ExtUtils-Helpers-0.020.tar.gz