Update to 0.021

- New upstream release 0.021
  - Always use the right environmental variable for home directory
  - Use configuration provided manpage extension
- Update patch for building with Test::More < 0.88
This commit is contained in:
Paul Howarth 2013-05-07 10:42:35 +01:00
parent b96c0e35e0
commit cbd1b7de0b
3 changed files with 14 additions and 8 deletions

View File

@ -22,12 +22,12 @@
use warnings FATAL => 'all'; use warnings FATAL => 'all';
-use Test::More; -use Test::More;
+use Test::More tests => 4; +use Test::More tests => 4;
use Config;
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/;
@@ -20,5 +20,3 @@ is man1_pagename('script/foo'), "foo.$Co
@@ -19,5 +19,3 @@ is man1_pagename('script/foo'), 'foo.1', is man3_pagename(catfile(qw/lib ExtUtils.pm/)), "ExtUtils.$Config{man3ext}", 'man3_pagename 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./).$Config{man3ext}, 'man3_pagename 2';
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./).$Config{man3ext}, 'man3_pagename 3';
is man3_pagename(catfile(qw/lib ExtUtils Helpers Unix.pm/)), join($sep, qw/ExtUtils Helpers Unix.3pm/), 'man3_pagename 3';
- -
-done_testing; -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) %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.020 Version: 0.021
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.020-old-Test::More.patch Patch3: ExtUtils-Helpers-0.021-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
@ -81,6 +81,12 @@ rm -rf %{buildroot}
%{_mandir}/man3/ExtUtils::Helpers::Windows.3pm* %{_mandir}/man3/ExtUtils::Helpers::Windows.3pm*
%changelog %changelog
* Tue May 7 2013 Paul Howarth <paul@city-fan.org> - 0.021-1
- Update to 0.021
- Always use the right environmental variable for home directory
- Use configuration provided manpage extension
- Update patch for building with Test::More < 0.88
* Mon Apr 29 2013 Paul Howarth <paul@city-fan.org> - 0.020-1 * Mon Apr 29 2013 Paul Howarth <paul@city-fan.org> - 0.020-1
- Update to 0.020 - Update to 0.020
- Fix man3_pagename for top level domains - Fix man3_pagename for top level domains

View File

@ -1 +1 @@
243a8698b12c7af06d4219146463b3dc ExtUtils-Helpers-0.020.tar.gz 94aa8eaf92def26d9af0cb25fcb1570f ExtUtils-Helpers-0.021.tar.gz