From d07f770a8491a8c82321047c9b9556c29a05a641 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:58:24 +0000 Subject: import perl-Perl-OSType-1.003-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..66b0d0c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Perl-OSType-1.003.tar.gz diff --git a/SOURCES/Perl-OSType-1.003-old-EU::MM.patch b/SOURCES/Perl-OSType-1.003-old-EU::MM.patch new file mode 100644 index 0000000..a4fdb83 --- /dev/null +++ b/SOURCES/Perl-OSType-1.003-old-EU::MM.patch @@ -0,0 +1,30 @@ +--- Makefile.PL ++++ Makefile.PL +@@ -4,7 +4,7 @@ use warnings; + + use 5.006; + +-use ExtUtils::MakeMaker 6.30; ++use ExtUtils::MakeMaker; + + + +@@ -21,7 +21,7 @@ my %WriteMakefileArgs = ( + "constant" => 0 + }, + "CONFIGURE_REQUIRES" => { +- "ExtUtils::MakeMaker" => "6.30" ++ "ExtUtils::MakeMaker" => "0" + }, + "DISTNAME" => "Perl-OSType", + "EXE_FILES" => [], +@@ -55,6 +55,9 @@ unless ( eval { ExtUtils::MakeMaker->VER + delete $WriteMakefileArgs{CONFIGURE_REQUIRES} + unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; + ++delete $WriteMakefileArgs{LICENSE} ++ unless eval { ExtUtils::MakeMaker->VERSION(6.31) }; ++ + WriteMakefile(%WriteMakefileArgs); + + diff --git a/SOURCES/Perl-OSType-1.003-old-Test::More.patch b/SOURCES/Perl-OSType-1.003-old-Test::More.patch new file mode 100644 index 0000000..d173617 --- /dev/null +++ b/SOURCES/Perl-OSType-1.003-old-Test::More.patch @@ -0,0 +1,35 @@ +--- t/OSType.t ++++ t/OSType.t +@@ -1,7 +1,7 @@ + use strict; + use warnings; + +-use Test::More 0.88; ++use Test::More tests => 19; + + use constant NON_EXISTENT_OS => 'titanix'; #the system they said could not go down... + +@@ -66,6 +66,3 @@ can_ok( $test_pkg, @functions ); + ok( is_os_type( 'VOS' ), "$fcn: true" ); + ok( ! is_os_type(), "$fcn: false if no type provided" ); + } +- +-done_testing; +- +--- xt/release/test-version.t ++++ xt/release/test-version.t +@@ -1,6 +1,6 @@ + use strict; + use warnings; +-use Test::More; ++use Test::More tests => 2; + + # generated by Dist::Zilla::Plugin::Test::Version 0.002004 + BEGIN { eval "use Test::Version; 1;" or die $@; } +@@ -18,5 +18,4 @@ push @imports, $params + + Test::Version->import(@imports); + +-version_all_ok; +-done_testing; ++version_all_ok();