SPECS: ipp2p.spec - alt_kernel support - release 5

hawk hawk at pld-linux.org
Thu Nov 23 20:04:18 CET 2006


Author: hawk                         Date: Thu Nov 23 19:04:18 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- alt_kernel support
- release 5

---- Files affected:
SPECS:
   ipp2p.spec (1.46 -> 1.47) 

---- Diffs:

================================================================
Index: SPECS/ipp2p.spec
diff -u SPECS/ipp2p.spec:1.46 SPECS/ipp2p.spec:1.47
--- SPECS/ipp2p.spec:1.46	Wed Sep  6 15:48:33 2006
+++ SPECS/ipp2p.spec	Thu Nov 23 20:04:12 2006
@@ -9,7 +9,7 @@
 #
 %define	iptables_ver	1.3.3
 #
-%define	_rel	4
+%define	_rel	5
 Summary:	IPP2P - a netfilter extension to identify P2P filesharing traffic
 Summary(pl):	IPP2P - rozszerzenie filtra pakietów identyfikujące ruch P2P
 Name:		ipp2p
@@ -24,7 +24,7 @@
 %{?with_userspace:BuildRequires:	iptables-devel >= 1.3.3}
 %if %{with kernel}
 %if %{with dist_kernel}
-BuildRequires:	kernel-module-build >= 3:2.6.7
+BuildRequires:	kernel%{_alt_kernel}-module-build >= 3:2.6.7
 %endif
 %endif
 BuildRequires:	rpmbuild(macros) >= 1.153
@@ -61,7 +61,7 @@
 znakowaniem połączeń - w ten sposób można wychwycić większą część
 pakietów P2P i ograniczyć wykorzystanie łącza przez nie.
 
-%package -n kernel-net-ipp2p
+%package -n kernel%{_alt_kernel}-net-ipp2p
 Summary:	IPP2P - a netfilter extension to identify P2P filesharing traffic
 Summary(pl):	IPP2P - rozszerzenie filtra pakietów identyfikujące ruch P2P
 Release:	%{_rel}@%{_kernel_ver_str}
@@ -69,7 +69,7 @@
 %{?with_dist_kernel:%requires_releq_kernel_up}
 Requires(post,postun):	/sbin/depmod
 
-%description -n kernel-net-ipp2p
+%description -n kernel%{_alt_kernel}-net-ipp2p
 IPP2P is a netfilter extension to identify P2P filesharing traffic.
 The main goal for developing IPP2P was giving the adminstrator a
 dynamic tool to filter the traffic in an intelligent way. So it
@@ -84,7 +84,7 @@
 
 This package contains Linux kernel module.
 
-%description -n kernel-net-ipp2p -l pl
+%description -n kernel%{_alt_kernel}-net-ipp2p -l pl
 IPP2P to rozszerzenie netfiltra służące do identyfikowania ruchu
 związanego z dzieleniem plików P2P. Głównym celem tworzenia IPP2P jest
 udostępnienie administratorowi dynamicznego narzędzia do filtrowania
@@ -99,7 +99,7 @@
 
 Ten pakiet zawiera moduł jądra Linuksa.
 
-%package -n kernel-smp-net-ipp2p
+%package -n kernel%{_alt_kernel}-smp-net-ipp2p
 Summary:	IPP2P - a netfilter extension to identify P2P filesharing traffic
 Summary(pl):	IPP2P - rozszerzenie filtra pakietów identyfikujące ruch P2P
 Release:	%{_rel}@%{_kernel_ver_str}
@@ -107,7 +107,7 @@
 %{?with_dist_kernel:%requires_releq_kernel_smp}
 Requires(post,postun):	/sbin/depmod
 
-%description -n kernel-smp-net-ipp2p
+%description -n kernel%{_alt_kernel}-smp-net-ipp2p
 IPP2P is a netfilter extension to identify P2P filesharing traffic.
 The main goal for developing IPP2P was giving the adminstrator a
 dynamic tool to filter the traffic in an intelligent way. So it
@@ -122,7 +122,7 @@
 
 This package contains Linux SMP kernel module.
 
-%description -n kernel-smp-net-ipp2p -l pl
+%description -n kernel%{_alt_kernel}-smp-net-ipp2p -l pl
 IPP2P to rozszerzenie netfiltra służące do identyfikowania ruchu
 związanego z dzieleniem plików P2P. Głównym celem tworzenia IPP2P jest
 udostępnienie administratorowi dynamicznego narzędzia do filtrowania
@@ -233,25 +233,25 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post -n kernel-net-ipp2p
+%post -n kernel%{_alt_kernel}-net-ipp2p
 %depmod %{_kernel_ver}
 
-%postun -n kernel-net-ipp2p
+%postun -n kernel%{_alt_kernel}-net-ipp2p
 %depmod %{_kernel_ver}
 
-%post -n kernel-smp-net-ipp2p
+%post -n kernel%{_alt_kernel}-smp-net-ipp2p
 %depmod %{_kernel_ver}smp
 
-%postun -n kernel-smp-net-ipp2p
+%postun -n kernel%{_alt_kernel}-smp-net-ipp2p
 %depmod %{_kernel_ver}smp
 
 %if %{with kernel}
-%files -n kernel-net-ipp2p
+%files -n kernel%{_alt_kernel}-net-ipp2p
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/kernel/net/ipv4/netfilter/*
 
 %if %{with smp} && %{with dist_kernel}
-%files -n kernel-smp-net-ipp2p
+%files -n kernel%{_alt_kernel}-smp-net-ipp2p
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}smp/kernel/net/ipv4/netfilter/*
 %endif
@@ -269,6 +269,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.47  2006/11/23 19:04:12  hawk
+- alt_kernel support
+- release 5
+
 Revision 1.46  2006/09/06 13:48:33  sparky
 - mass atack: -j1 for make scripts
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ipp2p.spec?r1=1.46&r2=1.47&f=u



More information about the pld-cvs-commit mailing list