SPECS: ipw2200.spec - don't use %{name} for module name

sparky sparky at pld-linux.org
Wed Nov 15 05:59:53 CET 2006


Author: sparky                       Date: Wed Nov 15 04:59:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- don't use %{name} for module name

---- Files affected:
SPECS:
   ipw2200.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/ipw2200.spec
diff -u SPECS/ipw2200.spec:1.71 SPECS/ipw2200.spec:1.72
--- SPECS/ipw2200.spec:1.71	Wed Nov 15 05:15:40 2006
+++ SPECS/ipw2200.spec	Wed Nov 15 05:59:47 2006
@@ -106,11 +106,11 @@
 %endif
 
 %build
-%build_kernel_modules -m %{name}
+%build_kernel_modules -m ipw2200
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%install_kernel_modules -s %{_mod_suffix} -n %{name} -m %{name} -d misc
+%install_kernel_modules -s %{_mod_suffix} -n %{name} -m ipw2200 -d misc
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -129,14 +129,14 @@
 
 %files -n kernel%{_alt_kernel}-net-%{name}
 %defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}/misc/ipw2200*.ko*
-%{_sysconfdir}/modprobe.d/%{_kernel_ver}/ipw2200.conf
+/lib/modules/%{_kernel_ver}/misc/ipw2200-%{_mod_suffix}.ko*
+%{_sysconfdir}/modprobe.d/%{_kernel_ver}/%{name}.conf
 
 %if %{with smp} && %{with dist_kernel}
 %files -n kernel%{_alt_kernel}-smp-net-%{name}
 %defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}smp/misc/ipw2200*.ko*
-%{_sysconfdir}/modprobe.d/%{_kernel_ver}smp/ipw2200.conf
+/lib/modules/%{_kernel_ver}smp/misc/ipw2200-%{_mod_suffix}.ko*
+%{_sysconfdir}/modprobe.d/%{_kernel_ver}smp/%{name}.conf
 %endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -145,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2006/11/15 04:59:47  sparky
+- don't use %{name} for module name
+
 Revision 1.71  2006/11/15 04:15:40  shadzik
 - readded %build
 
@@ -292,7 +295,7 @@
 
 Revision 1.26  2005/08/29 23:34:26  jpc
 - sort R:
-- move the ieee80211 includes to %%{_kernelsrcdir}
+- move the ieee80211 includes to %{_kernelsrcdir}
 
 Revision 1.25  2005/07/31 06:47:34  adamg
 - Requires: kernel-net-ieee80211
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipw2200.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list