SPECS: ndiswrapper.spec - now should build correctly

shadzik shadzik at pld-linux.org
Wed Aug 9 04:03:59 CEST 2006


Author: shadzik                      Date: Wed Aug  9 02:03:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- now should build correctly

---- Files affected:
SPECS:
   ndiswrapper.spec (1.52 -> 1.53) 

---- Diffs:

================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.52 SPECS/ndiswrapper.spec:1.53
--- SPECS/ndiswrapper.spec:1.52	Wed Aug  9 01:01:33 2006
+++ SPECS/ndiswrapper.spec	Wed Aug  9 04:03:53 2006
@@ -25,6 +25,7 @@
 BuildRequires:	rpmbuild(macros) >= 1.217
 %endif
 BuildRequires:	gcc >= 5:3.4.0
+BuildRequires:	sed >= 4.0
 ExclusiveArch:	%{ix86} %{x8664}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -135,16 +136,18 @@
 	%{__make} -C %{_kernelsrcdir} O=$PWD/o prepare scripts \
 		KVERS="%{_kernel_ver}" \
 
+%ifarch x86_64
 	%{__make} x86_64_stubs gen_exports \
 		KSRC=. \
 		KVERS="%{_kernel_ver}" \
 		%{?x8664:CONFIG_X86_64=y}
+%endif
 	%{__make} -C %{_kernelsrcdir} clean \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
 		M=$PWD O=$PWD/o \
 		KVERS="%{_kernel_ver}" \
 		%{?with_verbose:V=1}
-	%{__make} -C %{_kernelsrcdir} modules \
+	%{__make} KBUILD=%{_kernelsrcdir} \
 		RCS_FIND_IGNORE="-name '*.ko' -o" \
 		M=$PWD O=$PWD/o \
 		KVERS="%{_kernel_ver}" \
@@ -217,6 +220,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.53  2006/08/09 02:03:53  shadzik
+- now should build correctly
+
 Revision 1.52  2006/08/08 23:01:33  shadzik
 - fix build, rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ndiswrapper.spec?r1=1.52&r2=1.53&f=u



More information about the pld-cvs-commit mailing list