- fix build on distributions with old Test::More module
( perl-Catalyst-Plugin-Authentication-use_lib.patch ) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Catalyst-Plugin-Authentication?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
c6b0c123a1
commit
e7cb60f9ee
56
perl-Catalyst-Plugin-Authentication-use_lib.patch
Normal file
56
perl-Catalyst-Plugin-Authentication-use_lib.patch
Normal file
@@ -0,0 +1,56 @@
|
||||
Index: Catalyst-Plugin-Authentication-0.10017/t/06_user.t
|
||||
===================================================================
|
||||
--- Catalyst-Plugin-Authentication-0.10017.orig/t/06_user.t
|
||||
+++ Catalyst-Plugin-Authentication-0.10017/t/06_user.t
|
||||
@@ -1,6 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
-
|
||||
+use lib '__vendorperl__';
|
||||
use Test::More;
|
||||
use Test::Exception;
|
||||
|
||||
Index: Catalyst-Plugin-Authentication-0.10017/t/live_app_realms_progressive.t
|
||||
===================================================================
|
||||
--- Catalyst-Plugin-Authentication-0.10017.orig/t/live_app_realms_progressive.t
|
||||
+++ Catalyst-Plugin-Authentication-0.10017/t/live_app_realms_progressive.t
|
||||
@@ -1,6 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
-
|
||||
+use lib '__vendorperl__';
|
||||
use Test::More;
|
||||
|
||||
use lib 't/lib';
|
||||
Index: Catalyst-Plugin-Authentication-0.10017/t/live_app_remote1.t
|
||||
===================================================================
|
||||
--- Catalyst-Plugin-Authentication-0.10017.orig/t/live_app_remote1.t
|
||||
+++ Catalyst-Plugin-Authentication-0.10017/t/live_app_remote1.t
|
||||
@@ -1,5 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
+use lib '__vendorperl__';
|
||||
use Test::More;
|
||||
|
||||
use lib 't/lib';
|
||||
Index: Catalyst-Plugin-Authentication-0.10017/t/live_app_remote2.t
|
||||
===================================================================
|
||||
--- Catalyst-Plugin-Authentication-0.10017.orig/t/live_app_remote2.t
|
||||
+++ Catalyst-Plugin-Authentication-0.10017/t/live_app_remote2.t
|
||||
@@ -1,5 +1,6 @@
|
||||
use strict;
|
||||
use warnings;
|
||||
+use lib '__vendorperl__';
|
||||
use Test::More;
|
||||
|
||||
use lib 't/lib';
|
||||
Index: Catalyst-Plugin-Authentication-0.10017/Makefile.PL
|
||||
===================================================================
|
||||
--- Catalyst-Plugin-Authentication-0.10017.orig/Makefile.PL
|
||||
+++ Catalyst-Plugin-Authentication-0.10017/Makefile.PL
|
||||
@@ -1,4 +1,5 @@
|
||||
use inc::Module::Install 0.87;
|
||||
+use lib '__vendorperl__';
|
||||
|
||||
if ( $Module::Install::AUTHOR ) {
|
||||
system( 'pod2text lib/Catalyst/Plugin/Authentication.pm > README' )
|
||||
Reference in New Issue
Block a user