SPECS: php.spec - add debug on php_api_version and error check (as...
glen
glen at pld-linux.org
Fri Sep 16 01:41:27 CEST 2005
Author: glen Date: Thu Sep 15 23:41:27 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- add debug on php_api_version and error check (as DEVEL is occupied using HEAD). rel 6
---- Files affected:
SPECS:
php.spec (1.478 -> 1.479)
---- Diffs:
================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.478 SPECS/php.spec:1.479
--- SPECS/php.spec:1.478 Wed Sep 14 17:25:17 2005
+++ SPECS/php.spec Fri Sep 16 01:41:22 2005
@@ -78,7 +78,7 @@
Summary(uk): PHP ÷ĹŇÓŚ§ 5 - ÍĎ×Á ĐŇĹĐŇĎĂĹÓŐ×ÁÎÎŃ HTML-ĆÁĘĚŚ×, ×ÉËĎÎŐ×ÁÎÁ ÎÁ ÓĹŇ×ĹŇŚ
Name: php
Version: 5.0.5
-Release: 5%{?with_hardening:hardened}
+Release: 6%{?with_hardening:hardened}
Epoch: 4
Group: Libraries
License: PHP
@@ -1494,6 +1494,9 @@
sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
%build
+echo "Provides: php(modules_api) = %{php_api_version}"
+echo "Provides: php(zend_module_api) = %{zend_module_api}"
+echo "Provides: php(zend_extension_api) = %{zend_extension_api}"
CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
%if %{with apache2}
# Apache2 CFLAGS. harmless for other SAPIs.
@@ -2518,6 +2521,12 @@
%doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
%doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
+%if "%{php_api_version}" == "ERROR" || "%{zend_module_api}" == "ERROR" || "%{zend_extension_api}" == "ERROR"
+INTERNAL ERROR: API versions broken:
+ php(modules_api) = %{php_api_version}
+ php(zend_module_api) = %{zend_module_api}
+ php(zend_extension_api) = %{zend_extension_api}
+%endif
%dir %{_sysconfdir}
%dir %{_sysconfdir}/conf.d
%attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
@@ -2919,6 +2928,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.479 2005/09/15 23:41:22 glen
+- add debug on php_api_version and error check (as DEVEL is occupied using HEAD). rel 6
+
Revision 1.478 2005/09/14 15:25:17 adamg
- release 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/php.spec?r1=1.478&r2=1.479&f=u
More information about the pld-cvs-commit
mailing list