SPECS: fxload.spec - added link patch - pass rpmldflags

sparky sparky at pld-linux.org
Mon Dec 1 02:27:20 CET 2008


Author: sparky                       Date: Mon Dec  1 01:27:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added link patch
- pass rpmldflags

---- Files affected:
SPECS:
   fxload.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/fxload.spec
diff -u SPECS/fxload.spec:1.10 SPECS/fxload.spec:1.11
--- SPECS/fxload.spec:1.10	Mon Dec  1 01:51:46 2008
+++ SPECS/fxload.spec	Mon Dec  1 02:27:15 2008
@@ -4,10 +4,11 @@
 Name:		fxload
 Version:	2008_10_13
 Release:	1
-Group:		Applications/System
 License:	GPL
+Group:		Applications/System
 Source0:	http://dl.sourceforge.net/linux-hotplug/%{name}-%{version}.tar.gz
 # Source0-md5:	4477a2457f064228bef4a93ba2f21692
+Patch0:		%{name}-link.patch
 URL:		http://linux-hotplug.sourceforge.net/
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -49,11 +50,13 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__make} all \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags} -DFXLOAD_VERSION=\\\"%{version}\\\""
+	CFLAGS="%{rpmcflags} -Wall -DFXLOAD_VERSION=\\\"%{version}\\\"" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -77,6 +80,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2008/12/01 01:27:15  sparky
+- added link patch
+- pass rpmldflags
+
 Revision 1.10  2008/12/01 00:51:46  sparky
 - no package owns %{datadir}/usb, add it here
 - removed non-cvs changelog
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fxload.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list