From: Thierry Parmentelat Date: Fri, 10 Dec 2010 09:42:57 +0000 (+0100) Subject: fix the naming scheme var /lib/modules/ - again X-Git-Tag: ipfw-0.9-20~2 X-Git-Url: http://git.onelab.eu/?p=ipfw.git;a=commitdiff_plain;h=01dfb3c7fab70f1c53f26c3b898539e1f27b3eaa fix the naming scheme var /lib/modules/ - again --- diff --git a/planetlab/ipfwroot.spec b/planetlab/ipfwroot.spec index 185a767..59dbba8 100644 --- a/planetlab/ipfwroot.spec +++ b/planetlab/ipfwroot.spec @@ -1,6 +1,4 @@ # -# $Id: ipfwroot.spec 16174 2009-12-15 13:38:15Z marta $ -# # TODO: # restart crond # @@ -28,7 +26,7 @@ # the k32 kernel currently builds e.g. /lib/modules/2.6.32-0.onelab.2010.12.07-i686 # the k27 and before does not have the -i686 part %define kernel_id_old %{kernel_version}-%{kernel_release} -%define kernel_id_new %{kernel_version}-%{kernel_release}-%{_target_cpu} +%define kernel_id_new %{kernel_version}-%{kernel_release}.%{_target_cpu} %define kernel_id %( [ -d %{kernelpath_dot} ] && echo %{kernel_id_new} || echo %{kernel_id_old} ) Summary: ipfw and dummynet for Linux