SPECS: ipw2100.spec - _alt_kernel support

areq areq at pld-linux.org
Thu Mar 13 00:57:33 CET 2008


Author: areq                         Date: Wed Mar 12 23:57:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- _alt_kernel support

---- Files affected:
SPECS:
   ipw2100.spec (1.51 -> 1.52) 

---- Diffs:

================================================================
Index: SPECS/ipw2100.spec
diff -u SPECS/ipw2100.spec:1.51 SPECS/ipw2100.spec:1.52
--- SPECS/ipw2100.spec:1.51	Sun Mar  2 22:07:05 2008
+++ SPECS/ipw2100.spec	Thu Mar 13 00:57:27 2008
@@ -22,7 +22,7 @@
 URL:		http://ipw2100.sourceforge.net/
 BuildRequires:	ieee80211-devel
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:	kernel-module-build >= 3:2.6.20.2}
+%{?with_dist_kernel:BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
 BuildRequires:	rpmbuild(macros) >= 1.153
 BuildRequires:	sed >= 4.0
 %endif
@@ -39,7 +39,7 @@
 Ten projekt został stworzony przez Intela, aby umożliwić obsługę kart
 mini PCI Intel PRO/Wireless 2100 Network Connection.
 
-%package -n kernel-net-ipw2100
+%package -n kernel%{_alt_kernel}-net-ipw2100
 Summary:	Linux kernel module for the Intel(R) PRO/Wireless 2100
 Summary(pl.UTF-8):	Moduł jądra Linuksa dla kart Intel(R) PRO/Wireless 2100
 Release:	%{_rel}@%{_kernel_ver_str}
@@ -50,11 +50,11 @@
 %{?with_dist_kernel:%requires_releq_kernel}
 Requires(post,postun):	/sbin/depmod
 
-%description -n kernel-net-ipw2100
+%description -n kernel%{_alt_kernel}-net-ipw2100
 This package contains Linux kernel drivers for the Intel(R)
 PRO/Wireless 2100.
 
-%description -n kernel-net-ipw2100 -l pl.UTF-8
+%description -n kernel%{_alt_kernel}-net-ipw2100 -l pl.UTF-8
 Ten pakiet zawiera sterowniki jądra Linuksa dla kart Intel(R)
 PRO/Wireless 2100.
 
@@ -85,10 +85,10 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post	-n kernel-net-ipw2100
+%post	-n kernel%{_alt_kernel}-net-ipw2100
 %depmod %{_kernel_ver}
 
-%postun	-n kernel-net-ipw2100
+%postun	-n kernel%{_alt_kernel}-net-ipw2100
 %depmod %{_kernel_ver}
 
 %if %{with userspace}
@@ -99,7 +99,7 @@
 %endif
 
 %if %{with kernel}
-%files -n kernel-net-ipw2100
+%files -n kernel%{_alt_kernel}-net-ipw2100
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/misc/ipw2100-%{_mod_suffix}.ko*
 %endif
@@ -110,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.52  2008-03-12 23:57:27  areq
+- _alt_kernel support
+
 Revision 1.51  2008-03-02 21:07:05  zbyniu
 - patch for 2.6.24
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ipw2100.spec?r1=1.51&r2=1.52&f=u



More information about the pld-cvs-commit mailing list