rpms/php-json/devel .cvsignore, 1.3, 1.4 php-json.html, 1.2, 1.3 php-json.spec, 1.4, 1.5 sources, 1.3, 1.4

Ignacio Vazquez-Abrams (ivazquez) fedora-extras-commits at redhat.com
Thu Apr 13 09:14:14 UTC 2006


Author: ivazquez

Update of /cvs/extras/rpms/php-json/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26835

Modified Files:
	.cvsignore php-json.html php-json.spec sources 
Log Message:
- Upstream update
- Added Requires on php-api (#186903)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-json/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	14 Feb 2006 05:03:16 -0000	1.3
+++ .cvsignore	13 Apr 2006 09:14:14 -0000	1.4
@@ -1 +1 @@
-php-json-ext-1.1.1.tar.bz2
+php-json-ext-1.2.1.tar.bz2


Index: php-json.html
===================================================================
RCS file: /cvs/extras/rpms/php-json/devel/php-json.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- php-json.html	14 Feb 2006 05:03:16 -0000	1.2
+++ php-json.html	13 Apr 2006 09:14:14 -0000	1.3
@@ -28,8 +28,10 @@
 	<td valign="top" class="full_width">
 	<!-- START CONTENT -->
 	<h1>php-json</h1>
-        <p><b>php-json</b> is an extremely fast PHP C extension for <a href="http://www.json.org/">JSON</a> (JavaScript Object Notation) serialisation. <b>php-json</b> uses a forked version of <a href="http://oss.metaparadigm.com/json-c/">json-c</a>.</p>
+        <p><b>php-json</b> is an extremely fast PHP C extension for <a href="http://www.json.org/">JSON</a> (JavaScript Object Notation) serialisation.</p>
         <h2>Download</h2>
+        <p>Version <a href="/projects/php-json/php-json-ext-1.2.1.tar.bz2">1.2.1</a> (<a href="/projects/php-json/php-json-4.3.2_1.2.1-1.aurore.src.rpm">SRPM</a>, <a href="http://pecl4win.php.net/ext.php/php_json.dll">Win32</a>) - Released 2006-04-01 - Rework comma insertion during encoding.</p>
+        <p>Version <a href="/projects/php-json/php-json-ext-1.2.0.tar.bz2">1.2.0</a> (<a href="/projects/php-json/php-json-4.3.2_1.2.0-1.aurore.src.rpm">SRPM</a>, <a href="http://pecl4win.php.net/ext.php/php_json.dll">Win32</a>) - Released 2006-03-14 - Complete rewrite using <a href="http://www.json.org/JSON_checker/">JSON_checker</a> as the base for the parser. Implements the <a href="http://www.ietf.org/internet-drafts/draft-crockford-jsonorg-json-04.txt">JSON specification</a>. Significant performance improvement on encoding.</p>
         <p>Version <a href="/projects/php-json/php-json-ext-1.1.1.tar.bz2">1.1.1</a> (<a href="/projects/php-json/php-json-4.3.2_1.1.1-1.aurore.src.rpm">SRPM</a>, <a href="win32/">Win32</a>) - Released 2006-01-25 - TSRM performance improvements, changed license to version 3.01 of the PHP license, avoid a potential memory leak on invalid JSON input.</p>
         <p>Version <a href="/projects/php-json/php-json-ext-1.1.0.tar.bz2">1.1.0</a> (<a href="/projects/php-json/php-json-4.3.2_1.1.0-1.aurore.src.rpm">SRPM</a>, <b>Win32</b>: <a href="/projects/php-json/php_json-1.1.0_php-4.x.zip">PHP 4.x</a>, <a href="/projects/php-json/php_json-1.1.0_php-5.0.x.zip">PHP 5.0.x</a>, <a href="/projects/php-json/php_json-1.1.0_php-5.1.x.zip">PHP 5.1.x</a>) - Released 2005-12-04 - Port to Win32.</p>
         <p>Version <a href="/projects/php-json/php-json-ext-1.0.8.tar.bz2">1.0.8</a> (<a href="/projects/php-json/php-json-4.3.2_1.0.8-1.aurore.src.rpm">SRPM</a>) - Released 2005-12-01 - Changed license to LGPL, modified build system to allow static compilation into PHP, added strndup check for json-c.</p>


Index: php-json.spec
===================================================================
RCS file: /cvs/extras/rpms/php-json/devel/php-json.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- php-json.spec	14 Feb 2006 05:03:16 -0000	1.4
+++ php-json.spec	13 Apr 2006 09:14:14 -0000	1.5
@@ -1,8 +1,9 @@
 %define php_extdir %(php-config --extension-dir 2>/dev/null || echo %{_libdir}/php4)
 %{!?php_version:%define php_version %(php-config --version 2>/dev/null || echo 4.3.11)}
+%define php_apiver %({ phpize --version || echo "PHP Api Version: 0" ; } | grep -i "php api" | sed 's/[^0-9]//g')
 
 Name:           php-json
-Version:        1.1.1
+Version:        1.2.1
 Release:        1%{?dist}
 Summary:        An extremely fast PHP extension for JSON
 
@@ -14,7 +15,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  php-devel
-Requires:       php = %{php_version}
+Requires:       php-api = %{php_apiver}
 
 %description
 php-json is an extremely fast PHP C extension for JSON (JavaScript Object
@@ -63,6 +64,10 @@
 %{php_extdir}/json.so
 
 %changelog
+* Thu Apr 13 2006 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 1.2.1-1
+- Upstream update
+- Added Requires on php-api (#186903)
+
 * Mon Feb 13 2006 Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> 1.1.1-1
 - Upstream update
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-json/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	14 Feb 2006 05:03:16 -0000	1.3
+++ sources	13 Apr 2006 09:14:14 -0000	1.4
@@ -1 +1 @@
-d884a5ca7ddb420b5b261941217f6c68  php-json-ext-1.1.1.tar.bz2
+e06e701412a055f3372775216ec3d604  php-json-ext-1.2.1.tar.bz2




More information about the fedora-extras-commits mailing list