in f8/32bits _target_cpu is i386 while kernel_arch is i686
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Oct 2011 11:11:57 +0000 (13:11 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 18 Oct 2011 11:11:57 +0000 (13:11 +0200)
planetlab/ipfwroot.spec

index dac5e82..f48c19d 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}
 # 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
 %define kernel_id %( [ -d %{kernelpath_dot} ] && echo %{kernel_id_new} || echo %{kernel_id_old} )
 
 Summary: ipfw and dummynet for Linux