SHA256
8
0
forked from pool/perl-JSON

- fix provides - JSON::PP is really another module

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON?expand=0&rev=20
This commit is contained in:
Stephan Kulow
2011-04-05 08:22:42 +00:00
committed by Git OBS Bridge
parent 17847c63a7
commit aae7f2cbc4
5 changed files with 56 additions and 35 deletions

14
fix_provides.diff Normal file
View File

@@ -0,0 +1,14 @@
Index: perl-JSON/JSON-2.51/lib/JSON/backportPP.pm
===================================================================
--- perl-JSON.orig/JSON-2.51/lib/JSON/backportPP.pm 2011-03-08 07:30:52.000000000 +0100
+++ perl-JSON/JSON-2.51/lib/JSON/backportPP.pm 2011-04-05 10:21:44.246841693 +0200
@@ -1286,7 +1286,8 @@ BEGIN {
}
if ($] >= 5.008 and $] < 5.008003) { # join() in 5.8.0 - 5.8.2 is broken.
- package JSON::PP;
+ package
+ JSON::PP;
require subs;
subs->import('join');
eval q|