SPECS: ipw2200.spec - release 2 - do aliases play TheRightWay(TM)
blues
blues at pld-linux.org
Sat Mar 11 13:52:42 CET 2006
Author: blues Date: Sat Mar 11 12:52:42 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- release 2 - do aliases play TheRightWay(TM)
---- Files affected:
SPECS:
ipw2200.spec (1.37 -> 1.38)
---- Diffs:
================================================================
Index: SPECS/ipw2200.spec
diff -u SPECS/ipw2200.spec:1.37 SPECS/ipw2200.spec:1.38
--- SPECS/ipw2200.spec:1.37 Thu Mar 9 15:58:50 2006
+++ SPECS/ipw2200.spec Sat Mar 11 13:52:36 2006
@@ -9,7 +9,7 @@
Summary(pl): Sterownik dla Linuksa do kart Intel(R) PRO/Wireless 2200
Name: ipw2200
Version: 1.1.0
-%define _rel 1
+%define _rel 2
Release: %{_rel}
License: GPL v2
Group: Base/Kernel
@@ -106,14 +106,20 @@
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc \
+ $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver}{,smp}
cd built
-install -d $RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}{,smp}/misc
install %{?with_dist_kernel:up}%{!?with_dist_kernel:nondist}/ipw2200.ko \
$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}/misc/ipw2200_current.ko
+echo "alias ipw2200 ipw2200_current" \
+ >> $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver}/ipw2200.conf
+
%if %{with smp} && %{with dist_kernel}
install smp/ipw2200.ko \
$RPM_BUILD_ROOT/lib/modules/%{_kernel_ver}smp/misc/ipw2200_current.ko
+echo "alias ipw2200 ipw2200_current" \
+ >> $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/%{_kernel_ver}smp/ipw2200.conf
%endif
%clean
@@ -131,32 +137,16 @@
%postun -n kernel-smp-net-ipw2200
%depmod %{_kernel_ver}smp
-%triggerpostun -n kernel-net-ipw2200 -- kernel-net-ipw2200 < 1.0.10-3
-%banner kernel-net-ipw2200-1.0.10-3 <<'EOF'
-Current kernel provides ipw2200 module.
-This package contains currently module named ipw2200_current.
-
-If you want to use this module do:
-echo "alias ipw2200 ipw2200_current" >> /etc/modprobe.conf
-EOF
-
-%triggerpostun -n kernel-smp-net-ipw2200 -- kernel-smp-net-ipw2200 < 1.0.10-3
-%banner kernel-smp-net-ipw2200-1.0.10-3 <<'EOF'
-Current kernel provides ipw2200 module.
-This package contains currently module named ipw2200_current.
-
-If you want to use this module do:
-echo "alias ipw2200 ipw2200_current" >> /etc/modprobe.conf
-EOF
-
%files -n kernel-net-ipw2200
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}/misc/ipw2200*.ko*
+%{_sysconfdir}/modprobe.d/%{_kernel_ver}/ipw2200.conf
%if %{with smp} && %{with dist_kernel}
%files -n kernel-smp-net-ipw2200
%defattr(644,root,root,755)
/lib/modules/%{_kernel_ver}smp/misc/ipw2200*.ko*
+%{_sysconfdir}/modprobe.d/%{_kernel_ver}smp/ipw2200.conf
%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -165,6 +155,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.38 2006/03/11 12:52:36 blues
+- release 2 - do aliases play TheRightWay(TM)
+
Revision 1.37 2006/03/09 14:58:50 blues
- too fast commit
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ipw2200.spec?r1=1.37&r2=1.38&f=u
More information about the pld-cvs-commit
mailing list