SPECS: kernel-net-rtl8180-sa2400.spec - alt kernel support

czarny czarny at pld-linux.org
Fri Oct 13 11:56:13 CEST 2006


Author: czarny                       Date: Fri Oct 13 09:56:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alt kernel support

---- Files affected:
SPECS:
   kernel-net-rtl8180-sa2400.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/kernel-net-rtl8180-sa2400.spec
diff -u SPECS/kernel-net-rtl8180-sa2400.spec:1.13 SPECS/kernel-net-rtl8180-sa2400.spec:1.14
--- SPECS/kernel-net-rtl8180-sa2400.spec:1.13	Wed Sep  6 15:48:33 2006
+++ SPECS/kernel-net-rtl8180-sa2400.spec	Fri Oct 13 11:56:08 2006
@@ -10,22 +10,23 @@
 %define		_rel		6
 Summary:	Linux driver for WLAN cards based on rtl8180
 Summary(pl):	Sterownik dla Linuksa do kart bezprzewodowych opartych na układzie rtl8180
-Name:		kernel-net-rtl8180-sa2400
+%define		_specname	kernel-net-rtl8180-sa2400
+Name:		kernel%{_alt_kernel}-net-rtl8180-sa2400
 Version:	0.21
 Release:	%{_rel}@%{_kernel_ver_str}
 License:	GPL
 Group:		Base/Kernel
 Source0:	http://dl.sourceforge.net/rtl8180-sa2400/%{_rtl8180_name}-%{version}.tar.gz
 # Source0-md5:	11f24f693f9661a8bef0305ace663e4a
-Patch0:		%{name}-kernel-2.6.12.patch
-Patch01:	%{name}-module-params.patch
+Patch0:		%{_specname}-kernel-2.6.12.patch
+Patch01:	%{_specname}-module-params.patch
 URL:		http://rtl8180-sa2400.sourceforge.net
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.7}
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.7}
 %{?with_dist_kernel:%requires_releq_kernel_up}
 BuildRequires:	rpmbuild(macros) >= 1.153
 Requires(post,postun):	/sbin/depmod
-%{?with_dist_kernel:Requires(postun):	kernel}
+%{?with_dist_kernel:Requires(postun):	kernel%{_alt_kernel}}
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -40,21 +41,21 @@
 
 Ten pakiet zawiera moduł jądra Linuksa UP.
 
-%package -n kernel-smp-net-rtl8180
+%package -n kernel%{_alt_kernel}-smp-net-rtl8180
 Summary:	Linux SMP driver for WLAN cards based on rtl8180
 Summary(pl):	Sterownik dla Linuksa SMP do kart bezprzewodowych opartych na układzie rtl8180
 Release:	%{_rel}@%{_kernel_ver_str}
 Group:		Base/Kernel
 %{?with_dist_kernel:%requires_releq_kernel_smp}
 Requires(post,postun):	/sbin/depmod
-%{?with_dist_kernel:Requires(postun):	kernel-smp}
+%{?with_dist_kernel:Requires(postun):	kernel%{_alt_kernel}-smp}
 
-%description -n kernel-smp-net-rtl8180
+%description -n kernel%{_alt_kernel}-smp-net-rtl8180
 This is a Linux driver for WLAN cards based on rtl8180.
 
 This package contains Linux SMP module.
 
-%description -n kernel-smp-net-rtl8180 -l pl
+%description -n kernel%{_alt_kernel}-smp-net-rtl8180 -l pl
 Sterownik dla Linuksa do kart bezprzewodowych opartych na układzie
 rtl8180.
 
@@ -122,10 +123,10 @@
 %postun
 %depmod %{_kernel_ver}
 
-%post -n kernel-smp-net-rtl8180
+%post -n kernel%{_alt_kernel}-smp-net-rtl8180
 %depmod %{_kernel_ver}smp
 
-%postun -n kernel-smp-net-rtl8180
+%postun -n kernel%{_alt_kernel}-smp-net-rtl8180
 %depmod %{_kernel_ver}smp
 
 %files
@@ -133,7 +134,7 @@
 /lib/modules/%{_kernel_ver}/misc/*.ko*
 
 %if %{with smp} && %{with dist_kernel}
-%files -n kernel-smp-net-rtl8180
+%files -n kernel%{_alt_kernel}-smp-net-rtl8180
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}smp/misc/*.ko*
 %endif
@@ -144,6 +145,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/10/13 09:56:08  czarny
+- alt kernel support
+
 Revision 1.13  2006/09/06 13:48:33  sparky
 - mass atack: -j1 for make scripts
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/kernel-net-rtl8180-sa2400.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list