[php-pecl-parsekit] Update to 1.3 branch, try fix FBFS on PHP 5.4.

Pavel Alexeev hubbitus at fedoraproject.org
Mon Feb 27 16:48:03 UTC 2012


commit 6359ab02860b476d13c4eb610059097c78a16987
Author: Pavel Alexeev (aka Pahan-Hubbitus) <pahan at hubbitus.info>
Date:   Mon Feb 27 20:48:04 2012 +0400

    Update to 1.3 branch, try fix FBFS on PHP 5.4.

 .gitignore             |    2 ++
 php-pecl-parsekit.spec |   21 ++++++++++++++++++---
 sources                |    3 ++-
 3 files changed, 22 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 7581a20..f5fed81 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
 parsekit-1.2-CVS20090309.tar.bz2
+/php-pecl-parsekit-1.3-php-5.4.patch
+/parsekit-1.3-CVS20120226.tar.bz2
diff --git a/php-pecl-parsekit.spec b/php-pecl-parsekit.spec
index 691db6b..5446bb2 100644
--- a/php-pecl-parsekit.spec
+++ b/php-pecl-parsekit.spec
@@ -2,13 +2,13 @@
 %{!?__pecl:		%{expand:	%%global __pecl	%{_bindir}/pecl}}
 %{!?php_extdir:	%{expand:	%%global php_extdir	%(php-config --extension-dir)}}
 
-%global	CVS	20090309
+%global	CVS	20120226
 %global	peclName	parsekit
 
 Summary:		PHP Opcode Analyser
 Name:		php-pecl-%peclName
-Version:		1.2
-Release:		8%{?CVS:.CVS%{CVS}}%{?dist}
+Version:		1.3
+Release:		0.1%{?CVS:.CVS%{CVS}}%{?dist}
 License:		PHP
 Group:		Development/Libraries
 %if 0%{?CVS:1}
@@ -32,6 +32,9 @@ Provides:		php-pecl(%peclName) = %{version}
 Requires(post):	%{__pecl}
 Requires(postun):	%{__pecl}
 
+# https://bugs.php.net/bug.php?id=61187
+Patch1:		php-pecl-parsekit-1.3-php-5.4.patch
+
 %description
 Provides a userspace interpretation of the opcodes generated by the Zend engine
 compiler built into PHP.
@@ -42,6 +45,8 @@ some code which is potentially non-threadsafe.
 #%setup -qc -n %peclName-%{version}
 %setup -qc
 
+%patch1 -p1 -b .php5.4
+
 %build
 cd %peclName
 phpize
@@ -88,6 +93,16 @@ rm -rf %{buildroot}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.d/%peclName.ini
 
 %changelog
+* Sun Feb 26 2012 Pavel Alexeev <Pahan at Hubbitus.info> 1.3-0.1.CVS20120226
+- Update to 1.3 branch, try fix FBFS on PHP 5.4.
+- Urls by patch wrote:
+	https://bugs.php.net/bug.php?id=61187
+	http://fossies.org/unix/www/php-5.4.0RC8.tar.gz:a/php-5.4.0RC8/NEWS
+	http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/Zend/zend_compile.h?r1=298202&r2=298203&
+	http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/Zend/zend_compile.h?annotate=321634
+	http://svn.php.net/viewvc/php/php-src/branches/PHP_5_4/Zend/zend_compile.h?r1=301081&r2=303381
+- Add patch php-pecl-parsekit-1.3-php-5.4.patch
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2-8.CVS20090309
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index ffe5276..8734d4c 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-b41fd87e70aeda02f4fc80126326ada3  parsekit-1.2-CVS20090309.tar.bz2
+8e2535f05417a4c3ab4919c2d6425c89  php-pecl-parsekit-1.3-php-5.4.patch
+5377766d26fe79a84547bce1f87660ce  parsekit-1.3-CVS20120226.tar.bz2


More information about the scm-commits mailing list