rpms/php-pecl-runkit/devel php-pecl-runkit.spec,1.3,1.4
Pavel Alexeev
hubbitus at fedoraproject.org
Fri Jul 31 07:02:50 UTC 2009
Author: hubbitus
Update of /cvs/pkgs/rpms/php-pecl-runkit/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24042
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/devel/php-pecl-runkit.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- php-pecl-runkit.spec 26 Jul 2009 18:36:25 -0000 1.3
+++ php-pecl-runkit.spec 31 Jul 2009 07:02:50 -0000 1.4
@@ -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: 12.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,11 +113,13 @@ rm -rf %{buildroot}
%attr(755,root,root) %{php_extdir}/%{peclName}.so
%changelog
-* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-12.CVS20090215
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+* 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 )
-* Mon Jul 13 2009 Remi Collet <Fedora at FamilleCollet.com> - 0.9-11.CVS20090215
-- rebuild for new PHP 5.3.0 ABI (20090626)
+* 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:
@@ -220,8 +221,8 @@ rm -rf %{buildroot}
# Old, Legacy changelog in incorrect format simple commented:
#$Log$
-#Revision 1.3 2009/07/26 18:36:25 jkeating
-#- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+#Revision 1.4 2009/07/31 07:02:50 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