SPECS: convertfs.spec - added -Makefile patch to pass CC instead o...

darekr darekr at pld-linux.org
Mon May 8 15:10:32 CEST 2006


Author: darekr                       Date: Mon May  8 13:10:32 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -Makefile patch to pass CC instead of using sed

---- Files affected:
SPECS:
   convertfs.spec (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SPECS/convertfs.spec
diff -u SPECS/convertfs.spec:1.6 SPECS/convertfs.spec:1.7
--- SPECS/convertfs.spec:1.6	Sun Jan 16 16:10:09 2005
+++ SPECS/convertfs.spec	Mon May  8 15:10:27 2006
@@ -10,6 +10,7 @@
 Source0:	http://tzukanov.narod.ru/convertfs/%{name}-%{version}.tar.gz
 # Source0-md5:	71e8065e321898e259a55c8cefdfd75d
 Patch0:		%{name}-safety.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://tzukanov.narod.ru/convertfs/
 BuildRequires:	sed >= 4.0
 Requires:	util-linux
@@ -52,10 +53,11 @@
 %prep
 %setup  -q -n %{name}
 %patch0 -p1
+%patch1 -p1
 
 %build
-sed -i -e 's#gcc#%{__cc}#g' Makefile
 %{__make} \
+	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags}"
 
 %install
@@ -77,6 +79,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2006/05/08 13:10:27  darekr
+- added -Makefile patch to pass CC instead of using sed
+
 Revision 1.6  2005/01/16 15:10:09  charles
 - Epoch 1 (18mar2002 > 13jan2005)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/convertfs.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list