8
0
forked from pool/perl-JSON-XS
Christian Wittmer
2010-09-08 23:29:34 +00:00
committed by Git OBS Bridge
parent da4537efa9
commit 79fdde86d6
4 changed files with 62 additions and 43 deletions

View File

@@ -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
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a5a45dd0efd86e20c3027fd0555483cadc98941aea8cd608b17a789da569f53
size 55880

View File

@@ -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
- 2.27 Thu Jan 7 07:35:08 CET 2010
- support relaxed option inside the incremental parser
(testcase provided by IKEGAMI via Makamaka).
- support relaxed option inside the incremental parser
(testcase provided by IKEGAMI via Makamaka).
- 2.26 Sat Oct 10 03:26:19 CEST 2009
- big integers could become truncated (based on patch
by Strobl Anton).
- output format change: indent now adds a final newline, which is
more expected and more true to the documentation.
- big integers could become truncated (based on patch
by Strobl Anton).
- output format change: indent now adds a final newline, which is
more expected and more true to the documentation.
- 2.25 Sat Aug 8 12:04:41 CEST 2009
- the perl debugger completely breaks lvalue subs - try to work
around the issue.
- ignore RMAGICAL hashes w.r.t. CANONICAL.
- try to work around a possible char signedness issue on aix.
- require common sense.
- the perl debugger completely breaks lvalue subs - try to work
around the issue.
- ignore RMAGICAL hashes w.r.t. CANONICAL.
- try to work around a possible char signedness issue on aix.
- require common sense.
-------------------------------------------------------------------
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 fixed deps
-------------------------------------------------------------------
Sun Oct 26 16:54:56 UTC 2008 - gerrit.beine@gmx.de
- first release 2.23

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-JSON-XS
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# spec file for package perl-JSON-XS (Version 2.29)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,27 +17,26 @@
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
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
Version: 2.27
Version: 2.29
Release: 1
License: Artistic
License: GPL+ or Artistic
Group: Development/Libraries/Perl
URL: http://search.cpan.org/dist/JSON-XS/
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.bz2
Url: http://search.cpan.org/dist/JSON-XS/
#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
BuildRequires: perl
BuildRequires: perl-macros perl-common-sense
Requires: perl = %{perl_version}
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(common::sense)
Requires: perl = %{perl_version}
Requires: perl(common::sense)
%description
%{cpan_name} module for perl
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*.
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
to bug reports for other reasons.
Author: Marc Lehmann <schmorp@schmorp.de>
Author:
-------
Marc Lehmann <schmorp@schmorp.de>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -74,14 +74,11 @@ CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
%perl_process_packlist
%perl_gen_filelist
%clean
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%doc Changes README
%defattr(-,root,root,-)
%doc Changes COPYING README
%changelog
* Sun Oct 26 2008 - gerrit.beine@gmx.de
- first release 2.23