]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- /dev/null grep errors
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 27 Oct 2005 23:34:12 +0000 (23:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.250

rpm.macros

index 777a31bd507ef98deb9dc643b4fade62a029ae2c..30382c4ab7dae3283357ea85ea810cf399f1b867 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                              %(grep -c '#define ZTS 1' %{__php_includedir}/main/php_config.h || echo ERROR)
+%zend_zts                              %(grep -c '^#define ZTS 1' %{__php_includedir}/main/php_config.h 2>/dev/null || echo ERROR)
 
 # helper macro
 %__php_api_requires() Requires: php(%{expand:%1}) = %{expand:%{%{!?2:%{1}}%{?2}}}
This page took 0.054032 seconds and 4 git commands to generate.