SPECS: xlassie.spec - add -Makefile patch, pass CC,CFLAGS

darekr darekr at pld-linux.org
Sun Jul 16 01:03:29 CEST 2006


Author: darekr                       Date: Sat Jul 15 23:03:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add -Makefile patch, pass CC,CFLAGS

---- Files affected:
SPECS:
   xlassie.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/xlassie.spec
diff -u SPECS/xlassie.spec:1.7 SPECS/xlassie.spec:1.8
--- SPECS/xlassie.spec:1.7	Sat Sep 13 15:20:43 2003
+++ SPECS/xlassie.spec	Sun Jul 16 01:03:24 2006
@@ -10,6 +10,7 @@
 Source0:	http://www.speakeasy.org/~xyzzy/download/%{name}-%{version}.tar.gz
 # Source0-md5:	d3422a80b6352da4f790da70a7156a94
 Patch0:		%{name}-bufferoverflow.patch
+Patch1:		%{name}-Makefile.patch
 URL:		http://www.speakeasy.org/~xyzzy/xlassie/
 BuildRequires:	XFree86-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,9 +32,12 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +50,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README xlassie.lsm
+%doc README xlassie.lsm todo
 %attr(755,root,root) %{_bindir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -55,6 +59,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2006/07/15 23:03:24  darekr
+- add -Makefile patch, pass CC,CFLAGS
+
 Revision 1.7  2003/09/13 13:20:43  leafnode
 - applied anti-buffer-overflow patch
 - rel 2
================================================================

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



More information about the pld-cvs-commit mailing list