fix provides
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Apache-Test?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
5cfa0f2ade
commit
939c3a6ea6
28
fix-provides.diff
Normal file
28
fix-provides.diff
Normal file
@@ -0,0 +1,28 @@
|
||||
Index: Apache-Test-1.36/lib/Apache/Test5005compat.pm
|
||||
===================================================================
|
||||
--- Apache-Test-1.36.orig/lib/Apache/Test5005compat.pm 2011-02-01 08:51:44.000000000 +0100
|
||||
+++ Apache-Test-1.36/lib/Apache/Test5005compat.pm 2011-04-14 11:51:40.672730852 +0200
|
||||
@@ -72,7 +72,8 @@ sub warnings_pm {
|
||||
my $fh = open_file(shift);
|
||||
|
||||
print $fh <<'EOF';
|
||||
-package warnings;
|
||||
+package
|
||||
+ warnings;
|
||||
|
||||
sub import {}
|
||||
|
||||
Index: Apache-Test-1.36/lib/Apache/TestRequest.pm
|
||||
===================================================================
|
||||
--- Apache-Test-1.36.orig/lib/Apache/TestRequest.pm 2011-02-01 08:51:44.000000000 +0100
|
||||
+++ Apache-Test-1.36/lib/Apache/TestRequest.pm 2011-04-14 11:47:55.317641991 +0200
|
||||
@@ -43,7 +43,8 @@ unless ($ENV{APACHE_TEST_PRETEND_NO_LWP}
|
||||
require HTTP::Request::Common;
|
||||
|
||||
unless (defined &HTTP::Request::Common::OPTIONS) {
|
||||
- package HTTP::Request::Common;
|
||||
+ package
|
||||
+ HTTP::Request::Common;
|
||||
no strict 'vars';
|
||||
*OPTIONS = sub { _simple_req(OPTIONS => @_) };
|
||||
push @EXPORT, 'OPTIONS';
|
Reference in New Issue
Block a user