]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- removed duplicate php/zend macros
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 2 Nov 2005 22:41:16 +0000 (22:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.258

rpm.macros

index a6c86ee392daf2d82cc14b3217aaeb70ae1e0e5f..672bc82df6940f3e674816f4afadb41d076dc4c5 100644 (file)
@@ -411,13 +411,9 @@ fi \
 
 %php_pear_dir  %{_datadir}/pear
 
-# extract php/zend api versions
-%php_api_version %(awk '/#define PHP_API_VERSION/{print $3}' /usr/include/php/main/php.h)
-%zend_module_api %(awk '/#define ZEND_MODULE_API_NO/{print $3}' /usr/include/php/Zend/zend_modules.h)
-%zend_extension_api %(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' /usr/include/php/Zend/zend_extensions.h)
-
 # directory where php includes are installed on system.
 %__php_includedir              /usr/include/php
+# extract php/zend api versions
 %php_major_version             %(awk '/#define PHP_MAJOR_VERSION/{print $3}' %{__php_includedir}/main/php_version.h 2>/dev/null || echo ERROR)
 %php_api_version               %(awk '/#define PHP_API_VERSION/{print $3}' %{__php_includedir}/main/php.h 2>/dev/null || echo ERROR)
 %php_debug                             %(awk '/#define ZEND_DEBUG/{print $3}' %{__php_includedir}/main/php_config.h 2>/dev/null || echo ERROR)
This page took 0.041394 seconds and 4 git commands to generate.