SOURCES: rpm.macros - fix configure cache macros, this is not shell

glen glen at pld-linux.org
Thu Jan 31 00:49:31 CET 2008


Author: glen                         Date: Wed Jan 30 23:49:31 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix configure cache macros, this is not shell

---- Files affected:
SOURCES:
   rpm.macros (1.422 -> 1.423) 

---- Diffs:

================================================================
Index: SOURCES/rpm.macros
diff -u SOURCES/rpm.macros:1.422 SOURCES/rpm.macros:1.423
--- SOURCES/rpm.macros:1.422	Wed Jan 30 22:04:27 2008
+++ SOURCES/rpm.macros	Thu Jan 31 00:49:26 2008
@@ -173,7 +173,7 @@
 }
 
 #----------------------------------------------------------------
-%global configure_cache 0
+#%configure_cache 0
 %configure_cache_file	%{buildroot}.configure.cache
 
 %configure {./configure \
@@ -202,7 +202,7 @@
 	--infodir=%{_infodir} \
 	--x-libraries=%{?_x_libraries}%{!?_x_libraries:%{_libdir}} \
 	%{dependencytracking} \
-	%{?configure_cache:--cache-file=%{configure_cache_file:-%{buildroot}.configure.cache}} \
+	%{?configure_cache:--cache-file=%{configure_cache_file}} \
 }
 
 # overload to insert debuginfo package
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm.macros?r1=1.422&r2=1.423&f=u



More information about the pld-cvs-commit mailing list