SOURCES: rpm.macros - add %php_extensiondir, %php_configdir - php-...

glen glen at pld-linux.org
Thu Dec 14 00:17:44 CET 2006


Author: glen                         Date: Wed Dec 13 23:17:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add %php_extensiondir, %php_configdir
- php-config --config-dir not yet submitted

---- Files affected:
SOURCES:
   rpm.macros (1.339 -> 1.340) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.339 SOURCES/rpm.macros:1.340
--- SOURCES/rpm.macros:1.339	Sun Dec 10 02:23:52 2006
+++ SOURCES/rpm.macros	Thu Dec 14 00:17:38 2006
@@ -544,6 +544,8 @@
 %ruby_mod_ver_requires_eq	Requires:	ruby-modules(ver) = %ruby_version
 
 %php_pear_dir		/usr/share/pear
+%php_extensiondir	%(php-config --extension-dir 2>/dev/null || echo ERROR)
+%php_configdir		%(php-config --config-dir 2>/dev/null || echo ERROR)
 
 # directory where php includes are installed on system.
 %__php_includedir		/usr/include/php
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/rpm.macros?r1=1.339&r2=1.340&f=u



More information about the pld-cvs-commit mailing list