SPECS: umlinux-tools.spec - up to 20070815 - pass CC, CFLAGS, LDFLAGS - Mak...

twittner twittner at pld-linux.org
Sat May 10 20:06:15 CEST 2008


Author: twittner                     Date: Sat May 10 18:06:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 20070815
- pass CC, CFLAGS, LDFLAGS
- Makefile fixes

---- Files affected:
SPECS:
   umlinux-tools.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/umlinux-tools.spec
diff -u SPECS/umlinux-tools.spec:1.4 SPECS/umlinux-tools.spec:1.5
--- SPECS/umlinux-tools.spec:1.4	Mon Feb 12 23:09:18 2007
+++ SPECS/umlinux-tools.spec	Sat May 10 20:06:10 2008
@@ -3,15 +3,16 @@
 Summary:	User Mode Linux tools
 Summary(pl.UTF-8):	Narzędzia dla Linuksa w przestrzeni użytkownika
 Name:		umlinux-tools
-Version:	20060323
+Version:	20070815
 Release:	0.1
-Epoch:		0
 License:	GPL
 Group:		Applications/Emulators
-Source0:	http://www.user-mode-linux.org/~blaisorblade/uml-utilities/uml_utilities_%{version}.tar.bz2
-# Source0-md5:	2d6678c939093a8212f994005a393508
+Source0:	http://user-mode-linux.sourceforge.net/uml_utilities_%{version}.tar.bz2
+# Source0-md5:	b0468ac8b79cef53f36f5f9517907462
+Patch0:		%{name}-Makefile.patch
 URL:		http://user-mode-linux.sourceforge.net/
-BuildRequires:	libpcap-static
+BuildRequires:	libfuse-devel
+BuildRequires:	ncurses-devel
 BuildRequires:	readline-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -23,9 +24,13 @@
 
 %prep
 %setup -q -n tools-%{version}
+%patch0 -p1
 
 %build
-%{__make}
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -Wall" \
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -49,6 +54,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008-05-10 18:06:10  twittner
+- up to 20070815
+- pass CC, CFLAGS, LDFLAGS
+- Makefile fixes
+
 Revision 1.4  2007-02-12 22:09:18  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/umlinux-tools.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list