Added "kernel = %{kernel_version}-%{kernel_release}" as requirement. Then, the kernel...
Thomas Dreibholz [Thu, 24 Jul 2014 09:02:52 +0000 (11:02 +0200)]
procprotect.spec

index 4bfcaaf..04d69a5 100644 (file)
@@ -42,6 +42,7 @@ License: GPL
 Group: System Environment/Kernel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
 Source0: procprotect-%{version}.tar.gz
+Requires: kernel = %{kernel_version}-%{kernel_release}
 
 %description
 ACLs for protecting entries in the proc filesystem.