SPECS: xmlindent.spec - added -Makefile patch (pass CC,CFLAGS)

darekr darekr at pld-linux.org
Sat May 13 22:36:58 CEST 2006


Author: darekr                       Date: Sat May 13 20:36:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added -Makefile patch (pass CC,CFLAGS)

---- Files affected:
SPECS:
   xmlindent.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: SPECS/xmlindent.spec
diff -u SPECS/xmlindent.spec:1.9 SPECS/xmlindent.spec:1.10
--- SPECS/xmlindent.spec:1.9	Sat Mar 12 00:22:53 2005
+++ SPECS/xmlindent.spec	Sat May 13 22:36:52 2006
@@ -11,6 +11,7 @@
 Source1:	%{name}.pl.1
 URL:		http://xmlindent.sourceforge.net/
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-Makefile.patch
 BuildRequires:	flex
 BuildRequires:	m4
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -25,9 +26,12 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -54,6 +58,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2006/05/13 20:36:52  darekr
+- added -Makefile patch (pass CC,CFLAGS)
+
 Revision 1.9  2005/03/11 23:22:53  charles
 - BR: m4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/xmlindent.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list