Hello community,
here is the log from the commit of package perl-JSON for openSUSE:Factory
checked in at Wed Apr 6 11:26:29 CEST 2011.
--------
--- perl-JSON/perl-JSON.changes 2011-03-08 12:49:17.000000000 +0100
+++ /mounts/work_src_done/STABLE/perl-JSON/perl-JSON.changes 2011-04-05 10:22:42.000000000 +0200
@@ -1,0 +2,5 @@
+Tue Apr 5 08:17:48 UTC 2011 - coolo@novell.com
+
+- fix provides - JSON::PP is really another module
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
JSON-2.51.tar.bz2
New:
----
JSON-2.51.tar.gz
fix_provides.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-JSON.spec ++++++
--- /var/tmp/diff_new_pack.Uo6lBp/_old 2011-04-06 11:24:15.000000000 +0200
+++ /var/tmp/diff_new_pack.Uo6lBp/_new 2011-04-06 11:24:15.000000000 +0200
@@ -15,38 +15,39 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
-# norootforbuild
-%bcond_with pod
Name: perl-JSON
-%define cpan_name JSON
-Summary: JSON (JavaScript Object Notation) encoder/decoder
Version: 2.51
-Release: 1
+Release: 4
License: GPL+ or Artistic
-Group: Development/Libraries/Perl
+%define cpan_name JSON
+Summary: JSON (JavaScript Object Notation) encoder/decoder
Url: http://search.cpan.org/dist/JSON/
-# http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
-Source: %{cpan_name}-%{version}.tar.bz2
+Group: Development/Libraries/Perl
+#Source: http://www.cpan.org/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
+Source: %{cpan_name}-%{version}.tar.gz
+Patch0: fix_provides.diff
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
-%if %{with pod}
-BuildRequires: perl(Test::Pod) >= 1.00
-%endif
-BuildRequires: perl(JSON::XS) >= 2.27
-BuildRequires: perl(Test::More)
-Recommends: perl(JSON::XS) >= 2.27
+%{perl_requires}
%description
-JSON (JavaScript Object Notation) is a simple data format. See to
-http://www.json.org/ and RFC4627(http://www.ietf.org/rfc/rfc4627.txt).
+ ************************** CAUTION ********************************
+ * This is 'JSON module version 2' and there are many differences *
+ * to version 1.xx *
+ * Please check your applications useing old version. *
+ * See to 'INCOMPATIBLE CHANGES TO OLD VERSION' *
+ *******************************************************************
+
+JSON (JavaScript Object Notation) is a simple data format. See to the
+http://www.json.org/ manpage and 'RFC4627'(the
+http://www.ietf.org/rfc/rfc4627.txt manpage).
-This module converts Perl data structures to JSON and vice versa using either
-JSON::XS or JSON::PP.
+This module converts Perl data structures to JSON and vice versa using
+either the JSON::XS manpage or the JSON::PP manpage.
JSON::XS is the fastest and most proper JSON module on CPAN which must be
compiled and installed in your environment. JSON::PP is a pure-Perl module
@@ -56,12 +57,19 @@
This module try to use JSON::XS by default and fail to it, use JSON::PP
instead. So its features completely depend on JSON::XS or JSON::PP.
-Authors:
---------
- Makamaka Hannyaharamitu,