]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- use php includedir macro
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 28 Oct 2005 09:45:20 +0000 (09:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.252

rpm.macros

index 6f9d583b48d1386e6f70e1c5dc38b91ac1bad442..728c1ed0d9f86834aebfb102fd713cf088e3f43e 100644 (file)
@@ -483,7 +483,7 @@ fi \
 %php_debug                             %(awk '/#define ZEND_DEBUG/{print $3}' %{__php_includedir}/main/php_config.h 2>/dev/null || echo ERROR)
 %zend_module_api               %(awk '/#define ZEND_MODULE_API_NO/{print $3}' %{__php_includedir}/Zend/zend_modules.h 2>/dev/null || echo ERROR)
 %zend_extension_api            %(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' %{__php_includedir}/Zend/zend_extensions.h 2>/dev/null || echo ERROR)
-%zend_zts                              %(Z=$(grep -sc '^#define ZTS 1' /usr/include/php/main/php_config.h); echo ${Z:-ERROR})
+%zend_zts                              %(Z=$(grep -sc '^#define ZTS 1' %{__php_includedir}/main/php_config.h); echo ${Z:-ERROR})
 
 # helper macro
 %__php_api_requires() Requires: php(%{expand:%1}) = %{expand:%{%{!?2:%{1}}%{?2}}}
This page took 0.073181 seconds and 4 git commands to generate.