SOURCES (AC-branch): rpm.macros, rpm.macros - /dev/null grep errors

glen glen at pld-linux.org
Fri Oct 28 01:34:17 CEST 2005


Author: glen                         Date: Thu Oct 27 23:34:17 2005 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- /dev/null grep errors

---- Files affected:
SOURCES:
   rpm.macros (1.158.4.71 -> 1.158.4.72) 
SOURCES:
   rpm.macros (1.249 -> 1.250) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.158.4.71 SOURCES/rpm.macros:1.158.4.72
--- SOURCES/rpm.macros:1.158.4.71	Thu Oct 27 18:17:04 2005
+++ SOURCES/rpm.macros	Fri Oct 28 01:34:12 2005
@@ -482,7 +482,7 @@
 %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}}}

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.249 SOURCES/rpm.macros:1.250
--- SOURCES/rpm.macros:1.249	Thu Oct 27 18:17:04 2005
+++ SOURCES/rpm.macros	Fri Oct 28 01:34:12 2005
@@ -483,7 +483,7 @@
 %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}}}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.158.4.71&r2=1.158.4.72&f=u
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.249&r2=1.250&f=u




More information about the pld-cvs-commit mailing list