Merge branch 'master' of ssh://git.onelab.eu/git/ipfw
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Oct 2011 11:12:07 +0000 (13:12 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Oct 2011 11:12:07 +0000 (13:12 +0200)
planetlab/ipfwroot.spec

index c7d5c06..51c1b32 100644 (file)
@@ -29,7 +29,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}.%{kernel_arch}
 %define kernel_id %( [ -d %{kernelpath_dot} ] && echo %{kernel_id_new} || echo %{kernel_id_old} )
 
 Summary: ipfw and dummynet for Linux