diff --git a/.gitignore b/.gitignore index 5700013..cb5fa48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /PathTools-3.33.tar.gz /PathTools-3.39_01.tar.gz /PathTools-3.40.tar.gz +/PathTools-3.47.tar.gz diff --git a/PathTools-3.40-Disable-VMS-tests.patch b/PathTools-3.47-Disable-VMS-tests.patch similarity index 94% rename from PathTools-3.40-Disable-VMS-tests.patch rename to PathTools-3.47-Disable-VMS-tests.patch index 02a101c..8de2deb 100644 --- a/PathTools-3.40-Disable-VMS-tests.patch +++ b/PathTools-3.47-Disable-VMS-tests.patch @@ -1,22 +1,6 @@ -From cf567d042fbe7b7ffb68457c13b182651249cf4a Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Fri, 12 Jul 2013 12:47:41 +0200 -Subject: [PATCH] Disable VMS tests -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -File::Spec::VMS is not available because of bug #973713. - -Signed-off-by: Petr Písař ---- - t/Spec.t | 182 +-------------------------------------------------------------- - 1 file changed, 1 insertion(+), 181 deletions(-) - -diff --git a/t/Spec.t b/t/Spec.t -index 7dcb58e..cedd9da 100644 ---- a/t/Spec.t -+++ b/t/Spec.t +diff -up PathTools-3.47/t/Spec.t.orig PathTools-3.47/t/Spec.t +--- PathTools-3.47/t/Spec.t.orig 2014-05-23 18:39:28.000000000 +0200 ++++ PathTools-3.47/t/Spec.t 2014-05-27 12:32:22.473486887 +0200 @@ -38,7 +38,7 @@ if ( $@ ) { $INC{"VMS/Filespec.pm"} = 1 ; } @@ -26,13 +10,13 @@ index 7dcb58e..cedd9da 100644 require_ok("File::Spec::$_"); } -@@ -287,186 +287,6 @@ my @tests = ( +@@ -322,190 +322,6 @@ my @tests = ( [ "FakeWin32->rel2abs('../','//prague_main/work')", '\\\\prague_main\\work' ], [ "FakeWin32->rel2abs('D:foo.txt')", 'D:\\alpha\\beta\\foo.txt' ], -[ "VMS->case_tolerant()", '1' ], - --[ "VMS->catfile('a','b','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ], +-[ "VMS->catfile('a','b','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ], -[ "VMS->catfile('a','b','[]c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ], -[ "VMS->catfile('[.a]','b','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ], -[ "VMS->catfile('a/b/','c')", $vms_unix_rpt ? 'a/b/c' : '[.a.b]c' ], @@ -115,7 +99,7 @@ index 7dcb58e..cedd9da 100644 -[ "VMS->catpath('node\"access_spec\"::volume:','[d1.d2.d3]','')", 'node"access_spec"::volume:[d1.d2.d3]' ], -[ "VMS->catpath('node\"access_spec\"::volume:','[d1.d2.d3]','file')", 'node"access_spec"::volume:[d1.d2.d3]file' ], - --[ "VMS->canonpath('')", '' ], +-[ "VMS->canonpath('')", '' ], -[ "VMS->canonpath('volume:[d1]file')", $vms_unix_rpt ? '/volume/d1/file' : 'volume:[d1]file' ], -[ "VMS->canonpath('volume:[d1.-.d2.][d3.d4.-]')", $vms_unix_rpt ? '/volume/d2/d3/' : 'volume:[d2.d3]' ], -[ "VMS->canonpath('volume:[000000.d1]d2.dir;1')", $vms_unix_rpt ? '/volume/d1/d2.dir.1' : 'volume:[d1]d2.dir;1' ], @@ -192,7 +176,7 @@ index 7dcb58e..cedd9da 100644 -[ "VMS->abs2rel('node::volume:[t1.t2.t4]','node::volume:[t1.t2.t3]')", $vms_unix_rpt ? '../t4/' : '[-.t4]' ], -[ "VMS->abs2rel('node::volume:[t1.t2.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/node//volume/t1/t2/t4/' : 'node::volume:[t1.t2.t4]' ], -[ "VMS->abs2rel('[t1.t2.t3]','[t1.t2.t3]')", $vms_unix_rpt ? './' : '[]' ], --[ "VMS->abs2rel('[t1.t2.t3]file','[t1.t2.t3]')", 'file' ], +-[ "VMS->abs2rel('[t1.t2.t3]file','[t1.t2.t3]')", 'file' ], -[ "VMS->abs2rel('[t1.t2.t3]file','[t1.t2]')", $vms_unix_rpt ? 't3/file' : '[.t3]file' ], -[ "VMS->abs2rel('v:[t1.t2.t3]file','v:[t1.t2]')", $vms_unix_rpt ? 't3/file' : '[.t3]file' ], -[ "VMS->abs2rel('[t1.t2.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '../t4/' : '[-.t4]' ], @@ -210,9 +194,10 @@ index 7dcb58e..cedd9da 100644 -[ "VMS->rel2abs('[-]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/' : '[t1.t2]' ], -[ "VMS->rel2abs('[-.t4]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/t2/t4/' : '[t1.t2.t4]' ], -[ "VMS->rel2abs('[t1]','[t1.t2.t3]')", $vms_unix_rpt ? '/sys$disk/t1/' : '[t1]' ], +- +-[ "VMS->file_name_is_absolute('foo:')", '1' ], +-[ "VMS->file_name_is_absolute('foo:bar.dat')", '1' ], +-[ "VMS->file_name_is_absolute('foo:[000000]bar.dat')", '1' ], [ "OS2->case_tolerant()", '1' ], --- -1.8.1.4 - diff --git a/perl-PathTools.spec b/perl-PathTools.spec index 1d6ba4e..a316fae 100644 --- a/perl-PathTools.spec +++ b/perl-PathTools.spec @@ -1,14 +1,14 @@ -%global cpan_version 3.40 +%global cpan_version 3.47 Name: perl-PathTools Version: %(echo '%{cpan_version}' | tr _ .) -Release: 291%{?dist} +Release: 1%{?dist} Summary: PathTools Perl module (Cwd, File::Spec) License: (GPL+ or Artistic) and BSD Group: Development/Libraries URL: http://search.cpan.org/dist/PathTools/ Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/PathTools-%{cpan_version}.tar.gz # Disable VMS test (bug #973713) -Patch0: PathTools-3.40-Disable-VMS-tests.patch +Patch0: PathTools-3.47-Disable-VMS-tests.patch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) # Run-time: @@ -64,6 +64,9 @@ make test %{_mandir}/man3/* %changelog +* Tue May 27 2014 Jitka Plesnikova - 3.47-1 +- 3.47 bump + * Sun Aug 04 2013 Fedora Release Engineering - 3.40-291 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild diff --git a/sources b/sources index 357528f..2d30358 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7da19c34dc2d1017cbb675a6ff4fe283 PathTools-3.40.tar.gz +5b97a7f64ab964aa470919ca11133809 PathTools-3.47.tar.gz