SPECS (DEVEL): adapter.awk, adapter.spec - quote CC

glen glen at pld-linux.org
Sun Nov 6 22:49:11 CET 2005


Author: glen                         Date: Sun Nov  6 21:49:11 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- quote CC

---- Files affected:
SPECS:
   adapter.awk (1.207 -> 1.208) , adapter.spec (1.26.2.14 -> 1.26.2.15) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.207 SPECS/adapter.awk:1.208
--- SPECS/adapter.awk:1.207	Wed Oct 26 20:54:57 2005
+++ SPECS/adapter.awk	Sun Nov  6 22:49:05 2005
@@ -288,6 +288,10 @@
 		if (/^export[ ]*$/)
 			next
 	}
+
+	if (/CC=%{__cc} /) {
+		sub("CC=%{__cc}", "CC=\"%{__cc}\"")
+	}
 	
 	# use macros
 	$0 = fixedsub("glib-gettextize --copy --force","%{__glib_gettextize}", $0);

================================================================
Index: SPECS/adapter.spec
diff -u SPECS/adapter.spec:1.26.2.14 SPECS/adapter.spec:1.26.2.15
--- SPECS/adapter.spec:1.26.2.14	Wed Oct 12 22:20:02 2005
+++ SPECS/adapter.spec	Sun Nov  6 22:49:05 2005
@@ -71,7 +71,9 @@
 %patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC=%{__cc} \
+	foo=bar
 cp -f /usr/share/automake/config.sub src/applets/kde/admin
 cp -f /usr/share/automake/config.sub config
 glib-gettextize --copy --force
@@ -160,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.26.2.15  2005/11/06 21:49:05  glen
+- quote CC
+
 Revision 1.26.2.14  2005/10/12 20:20:02  glen
 - no trailing dot in Summary:
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.207&r2=1.208&f=u
    http://cvs.pld-linux.org/SPECS/adapter.spec?r1=1.26.2.14&r2=1.26.2.15&f=u




More information about the pld-cvs-commit mailing list