SPECS (AC-branch): ndiswrapper.spec - kernel macros in install too

glen glen at pld-linux.org
Fri Apr 4 22:53:32 CEST 2008


Author: glen                         Date: Fri Apr  4 20:53:32 2008 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- kernel macros in install too

---- Files affected:
SPECS:
   ndiswrapper.spec (1.37.2.33 -> 1.37.2.34) 

---- Diffs:

================================================================
Index: SPECS/ndiswrapper.spec
diff -u SPECS/ndiswrapper.spec:1.37.2.33 SPECS/ndiswrapper.spec:1.37.2.34
--- SPECS/ndiswrapper.spec:1.37.2.33	Fri Apr  4 22:49:55 2008
+++ SPECS/ndiswrapper.spec	Fri Apr  4 22:53:26 2008
@@ -154,14 +154,7 @@
 %endif
 
 %if %{with kernel}
-cd driver
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
-install ndiswrapper-%{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}.ko \
-	$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/ndiswrapper.ko
-%if %{with smp} && %{with dist_kernel}
-install ndiswrapper-smp.ko \
-        $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/ndiswrapper.ko
-%endif
+%install_kernel_modules -m driver/ndiswrapper -d misc
 %endif
 
 %clean
@@ -208,6 +201,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.37.2.34  2008-04-04 20:53:26  glen
+- kernel macros in install too
+
 Revision 1.37.2.33  2008-04-04 20:49:55  glen
 - >= 2.6.20 kernel support by zbyniu, thx!
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ndiswrapper.spec?r1=1.37.2.33&r2=1.37.2.34&f=u



More information about the pld-cvs-commit mailing list