SPECS: unzip.spec - pass CC and CFLAGS

sparky sparky at pld-linux.org
Sat Feb 25 18:37:18 CET 2006


Author: sparky                       Date: Sat Feb 25 17:37:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass CC and CFLAGS

---- Files affected:
SPECS:
   unzip.spec (1.46 -> 1.47) 

---- Diffs:

================================================================
Index: SPECS/unzip.spec
diff -u SPECS/unzip.spec:1.46 SPECS/unzip.spec:1.47
--- SPECS/unzip.spec:1.46	Sat Feb 18 00:33:46 2006
+++ SPECS/unzip.spec	Sat Feb 25 18:37:12 2006
@@ -101,17 +101,19 @@
 ln -sf unix/Makefile Makefile
 
 %build
+%{__make} \
 %ifarch %{ix86}
-CFLAGS="%{rpmcflags}" %{__make} linux
+	linux \
 %else
-CFLAGS="%{rpmcflags}" %{__make} linux_noasm
+	linux_noasm \
 %endif
+	CC="%{__cc}" \
+	CF="%{rpmcflags} -I. -DUNIX"
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} \
-	install \
+%{__make} install \
 	prefix=$RPM_BUILD_ROOT%{_prefix} \
 	MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
 
@@ -134,6 +136,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.47  2006/02/25 17:37:12  sparky
+- pass CC and CFLAGS
+
 Revision 1.46  2006/02/17 23:33:46  psz
 - security fix: CVE-2005-4667
 - rel 3; STBR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/unzip.spec?r1=1.46&r2=1.47&f=u



More information about the pld-cvs-commit mailing list