rpms/php-pecl-runkit/EL-5 php-pecl-runkit.spec,1.2,1.3

Pavel Alexeev hubbitus at fedoraproject.org
Fri Jul 31 07:59:58 UTC 2009


Author: hubbitus

Update of /cvs/pkgs/rpms/php-pecl-runkit/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4988

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/EL-5/php-pecl-runkit.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- php-pecl-runkit.spec	19 Apr 2009 10:37:59 -0000	1.2
+++ php-pecl-runkit.spec	31 Jul 2009 07:59:58 -0000	1.3
@@ -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:		11.CVS%{CVS}%{?dist}
-%else
-Release:		11%{?dist}
-%endif
+Release:		12%{?CVS:.CVS%{CVS}}%{?dist}
 License:		PHP
 Group:		Development/Libraries
 %if 0%{?CVS:1}
@@ -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,10 +113,13 @@ rm -rf %{buildroot}
 %attr(755,root,root) %{php_extdir}/%{peclName}.so
 
 %changelog
-* Sun Apr 19 2009 Pavel Alexeev <Pahan at Hubbitus.info> - 0.9-11.CVS20090215
-- Due to the bug in ppc builders ( https://fedorahosted.org/fedora-infrastructure/ticket/1298 )
-	kanarip suggest temporrary workaraund: https://fedorahosted.org/fedora-infrastructure/ticket/1298#comment:1
-	So, remove version specification from BuildRequires: php-pear >= 1.4.7, php-devel >= 5.0.0
+* 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:
@@ -219,10 +221,8 @@ rm -rf %{buildroot}
 
 # Old, Legacy changelog in incorrect format simple commented:
 #$Log$
-#Revision 1.2  2009/04/19 10:37:59  hubbitus
-#- Due to the bug in ppc builders ( https://fedorahosted.org/fedora-infrastructure/ticket/1298 )
-#	kanarip suggest temporrary workaraund: https://fedorahosted.org/fedora-infrastructure/ticket/1298#comment:1
-#	So, remove version specification from BuildRequires: php-pear >= 1.4.7, php-devel >= 5.0.0
+#Revision 1.3  2009/07/31 07:59:58  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