]> git.pld-linux.org Git - packages/php.git/commitdiff
- add debug on php_api_version and error check (as DEVEL is occupied using HEAD)...
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 15 Sep 2005 23:41:22 +0000 (23:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php.spec -> 1.479

php.spec

index a286ddf8687fa4f5e0ec7616d6cab8707517e67f..bfa4fb3d7bf33e5a2ddb41bf696df9a63fe9a3c8 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -77,7 +77,7 @@ Summary(ru):  PHP 
 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
@@ -1493,6 +1493,9 @@ rm -f ext/recode/config9.m4
 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.
@@ -2517,6 +2520,12 @@ fi
 %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
This page took 0.049324 seconds and 4 git commands to generate.