cleanup Test::More module usage ( perl-File-ChangeNotify-fix-SLE_11-build.patch ) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-ChangeNotify?expand=0&rev=3
52 lines
1.5 KiB
Diff
52 lines
1.5 KiB
Diff
Index: File-ChangeNotify-0.20/Build.PL
|
|
===================================================================
|
|
--- File-ChangeNotify-0.20.orig/Build.PL
|
|
+++ File-ChangeNotify-0.20/Build.PL
|
|
@@ -2,7 +2,7 @@
|
|
use strict;
|
|
use warnings;
|
|
|
|
-use Module::Build 0.3601;
|
|
+use Module::Build 0.280801;
|
|
|
|
|
|
my %module_build_args = (
|
|
@@ -23,12 +23,12 @@ my %module_build_args = (
|
|
'build_requires' => {
|
|
'File::Path' => '0',
|
|
'File::Temp' => '0',
|
|
- 'Module::Build' => '0.3601',
|
|
+ 'Module::Build' => '0.280801',
|
|
'Test::Exception' => '0',
|
|
'Test::More' => '0.88'
|
|
},
|
|
'configure_requires' => {
|
|
- 'Module::Build' => '0.3601'
|
|
+ 'Module::Build' => '0.280801'
|
|
},
|
|
'dist_abstract' => 'Watch for changes to files, cross-platform style',
|
|
'dist_author' => [
|
|
Index: File-ChangeNotify-0.20/t/excluded-dirs.t
|
|
===================================================================
|
|
--- File-ChangeNotify-0.20.orig/t/excluded-dirs.t
|
|
+++ File-ChangeNotify-0.20/t/excluded-dirs.t
|
|
@@ -1,5 +1,6 @@
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
|
|
use FindBin;
|
|
use File::ChangeNotify::Watcher;
|
|
Index: File-ChangeNotify-0.20/t/lib/File/ChangeNotify/TestHelper.pm
|
|
===================================================================
|
|
--- File-ChangeNotify-0.20.orig/t/lib/File/ChangeNotify/TestHelper.pm
|
|
+++ File-ChangeNotify-0.20/t/lib/File/ChangeNotify/TestHelper.pm
|
|
@@ -2,6 +2,7 @@ package File::ChangeNotify::TestHelper;
|
|
|
|
use strict;
|
|
use warnings;
|
|
+use lib '__vendorperl__';
|
|
|
|
use File::ChangeNotify;
|
|
use File::Temp qw( tempdir );
|