add dependency to the right kernel version
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 28 Jun 2012 09:16:50 +0000 (11:16 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Thu, 28 Jun 2012 09:16:50 +0000 (11:16 +0200)
planetlab/ipfwroot.spec

index a29094e..6e65463 100644 (file)
@@ -60,6 +60,7 @@ License: BSD
 Group: System Environment/Kernel
 Source0: %{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+Requires: kernel = %{kernel_version}-%{kernel_release}
 Requires: vixie-cron
 Requires: vsys-scripts
 Obsoletes: ipfw