forked from pool/perl-JSON-XS
update to 2.29
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-JSON-XS?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
da4537efa9
commit
79fdde86d6
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c58608ccff61ba460afcc1c17b76d3a41ae72f16b6df3d258fa8df6b2c6abb6
|
|
||||||
size 54818
|
|
||||||
3
JSON-XS-2.29.tar.bz2
Normal file
3
JSON-XS-2.29.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7a5a45dd0efd86e20c3027fd0555483cadc98941aea8cd608b17a789da569f53
|
||||||
|
size 55880
|
||||||
@@ -1,23 +1,40 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 8 23:24:16 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- update to 2.29
|
||||||
|
- fix a memory leak when callbacks set using filter_json_object
|
||||||
|
or filter_json_single_key_object were called (great testcase
|
||||||
|
by Eric Wilhelm).
|
||||||
|
2.28 Thu Mar 11 20:30:46 CET 2010
|
||||||
|
- implement our own atof function - perl's can be orders of
|
||||||
|
magnitudes slower than even the system one. on the positive
|
||||||
|
side, ours seems to be more exact in general than perl's.
|
||||||
|
(testcase provided by Tim Meadowcroft).
|
||||||
|
- clarify floating point conversion issues a bit.
|
||||||
|
- update jpsykes csrf article url.
|
||||||
|
- updated benchmark section - JSON::PP became much faster!
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
- fix deps
|
||||||
|
o missing Req perl(common::sense)
|
||||||
|
- changelog to changes file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 23:29:13 UTC 2010 - jw@novell.com
|
Wed Jan 13 23:29:13 UTC 2010 - jw@novell.com
|
||||||
|
|
||||||
- 2.27 Thu Jan 7 07:35:08 CET 2010
|
- 2.27 Thu Jan 7 07:35:08 CET 2010
|
||||||
- support relaxed option inside the incremental parser
|
- support relaxed option inside the incremental parser
|
||||||
(testcase provided by IKEGAMI via Makamaka).
|
(testcase provided by IKEGAMI via Makamaka).
|
||||||
|
|
||||||
- 2.26 Sat Oct 10 03:26:19 CEST 2009
|
- 2.26 Sat Oct 10 03:26:19 CEST 2009
|
||||||
- big integers could become truncated (based on patch
|
- big integers could become truncated (based on patch
|
||||||
by Strobl Anton).
|
by Strobl Anton).
|
||||||
- output format change: indent now adds a final newline, which is
|
- output format change: indent now adds a final newline, which is
|
||||||
more expected and more true to the documentation.
|
more expected and more true to the documentation.
|
||||||
|
|
||||||
- 2.25 Sat Aug 8 12:04:41 CEST 2009
|
- 2.25 Sat Aug 8 12:04:41 CEST 2009
|
||||||
- the perl debugger completely breaks lvalue subs - try to work
|
- the perl debugger completely breaks lvalue subs - try to work
|
||||||
around the issue.
|
around the issue.
|
||||||
- ignore RMAGICAL hashes w.r.t. CANONICAL.
|
- ignore RMAGICAL hashes w.r.t. CANONICAL.
|
||||||
- try to work around a possible char signedness issue on aix.
|
- try to work around a possible char signedness issue on aix.
|
||||||
- require common sense.
|
- require common sense.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 19:38:56 CEST 2009 - chris@computersalat.de
|
Sat Jul 25 19:38:56 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
@@ -35,3 +52,8 @@ Sat Jun 20 19:03:42 CEST 2009 - chris@computersalat.de
|
|||||||
o added header
|
o added header
|
||||||
o fixed deps
|
o fixed deps
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 26 16:54:56 UTC 2008 - gerrit.beine@gmx.de
|
||||||
|
|
||||||
|
- first release 2.23
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-JSON-XS
|
# spec file for package perl-JSON-XS (Version 2.29)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,27 +17,26 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
#Distribution: %dist
|
|
||||||
#Packager: %packager
|
|
||||||
#Vendor: %vendor
|
|
||||||
|
|
||||||
Name: perl-JSON-XS
|
Name: perl-JSON-XS
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name JSON-XS
|
||||||
Summary: JSON serialising/deserialising, done correctly and fast
|
Summary: JSON serialising/deserialising, done correctly and fast
|
||||||
Version: 2.27
|
Version: 2.29
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
URL: http://search.cpan.org/dist/JSON-XS/
|
Url: http://search.cpan.org/dist/JSON-XS/
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.bz2
|
#Source: http://www.cpan.org/modules/by-module/JSON/JSON-XS-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros perl-common-sense
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(common::sense)
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
|
Requires: perl(common::sense)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{cpan_name} module for perl
|
|
||||||
|
|
||||||
This module converts Perl data structures to JSON and vice versa. Its
|
This module converts Perl data structures to JSON and vice versa. Its
|
||||||
primary goal is to be *correct* and its secondary goal is to be *fast*.
|
primary goal is to be *correct* and its secondary goal is to be *fast*.
|
||||||
To reach the latter goal it was written in C.
|
To reach the latter goal it was written in C.
|
||||||
@@ -56,15 +55,16 @@ modules, none of them correctly handle all corner cases, and in most
|
|||||||
cases their maintainers are unresponsive, gone missing, or not listening
|
cases their maintainers are unresponsive, gone missing, or not listening
|
||||||
to bug reports for other reasons.
|
to bug reports for other reasons.
|
||||||
|
|
||||||
Author: Marc Lehmann <schmorp@schmorp.de>
|
Author:
|
||||||
|
-------
|
||||||
|
Marc Lehmann <schmorp@schmorp.de>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
%{__make}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
@@ -78,10 +78,7 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
|||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README
|
%doc Changes COPYING README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sun Oct 26 2008 - gerrit.beine@gmx.de
|
|
||||||
- first release 2.23
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user