rpms/php-pecl-runkit/F-10 php-pecl-runkit.spec,1.1,1.2

Pavel Alexeev hubbitus at fedoraproject.org
Fri Jul 31 07:08:15 UTC 2009


Author: hubbitus

Update of /cvs/pkgs/rpms/php-pecl-runkit/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25695

Modified Files:
	php-pecl-runkit.spec 
Log Message:
Apply patches only on PHP>=5.3.0. (Bug: https://bugzilla.redhat.com/show_bug.cgi?id=513096 )




Index: php-pecl-runkit.spec
===================================================================
RCS file: /cvs/pkgs/rpms/php-pecl-runkit/F-10/php-pecl-runkit.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- php-pecl-runkit.spec	24 Mar 2009 21:19:13 -0000	1.1
+++ php-pecl-runkit.spec	31 Jul 2009 07:08:13 -0000	1.2
@@ -11,11 +11,7 @@ Summary(ru):	МанипулированÐ
 Summary(pl):	Obróbka zdefiniowanych przez użytkownika funkcji i klas
 Name:		php-pecl-%{peclName}
 Version:		0.9
-%if 0%{?CVS:1}
-Release:		10.CVS%{CVS}%{?dist}
-%else
-Release:		10%{?dist}
-%endif
+Release:		12%{?CVS:.CVS%{CVS}}%{?dist}
 License:		PHP
 Group:		Development/Libraries
 %if 0%{?CVS:1}
@@ -26,7 +22,7 @@ Source0:		http://pecl.php.net/get/%{pecl
 %endif
 # Source0-md5:	05a690f04b7d2c42193f3e0c1bb99a19
 URL:			http://pecl.php.net/package/runkit/
-BuildRequires: php-pear >= 1.4.7, php-devel >= 5.0.0
+BuildRequires: php-pear, php-devel
 Requires(post):	%{__pecl}
 Requires(postun):	%{__pecl}
 %if %{?php_zend_api}0
@@ -63,9 +59,12 @@ ogólnego użytku. Wykonywanie danego ko
 %setup -q -c
 cd %{peclName}
 
+# Patch set intended only for PHP version greater than 5.3.0
+%if %( php -r 'echo version_compare(PHP_VERSION, "5.3.0", ">=") ? 1 : 0;' )
 %patch0 -p2 -b .zrefcount
 %patch1 -p2 -b .zaddref
 %patch3 -p2 -b .new_refcount
+%endif
 
 %build
 cd %{peclName}
@@ -114,6 +113,14 @@ rm -rf %{buildroot}
 %attr(755,root,root) %{php_extdir}/%{peclName}.so
 
 %changelog
+* Thu Jul 30 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.9-12.CVS20090215
+- Apply patches only on PHP>=5.3.0. (Bug: https://bugzilla.redhat.com/show_bug.cgi?id=513096 )
+
+* Sun Apr 5 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.9-11.CVS20090215
+- By suggestion in the bug https://fedorahosted.org/fedora-infrastructure/ticket/1298 try remove version specifications in requires:
+	Turn BuildRequires: php-pear >= 1.4.7, php-devel >= 5.0.0 to just BuildRequires: php-pear, php-devel
+- Add more magick in Release tag: 11%%{?CVS:.CVS%%{CVS}}%%{?dist}
+
 * Tue Mar 17 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.9-10.CVS20090215
 - Remi Collet notes in Fedora review:
 - Rename back %%{peclName}.xml to %%{name}.xml :)
@@ -214,8 +221,8 @@ rm -rf %{buildroot}
 
 # Old, Legacy changelog in incorrect format simple commented:
 #$Log$
-#Revision 1.1  2009/03/24 21:19:13  hubbitus
-#Initial push php-pecl-runkit to Fedora
+#Revision 1.2  2009/07/31 07:08:13  hubbitus
+#Apply patches only on PHP>=5.3.0. (Bug: https://bugzilla.redhat.com/show_bug.cgi?id=513096 )
 #
 #Revision 1.8  2005/12/22 12:12:04  glen
 #- rel 5 (rebuild with new php)




More information about the fedora-extras-commits mailing list