From: Thomas Dreibholz Date: Fri, 4 Jul 2014 10:52:07 +0000 (+0200) Subject: Needs to provide KVER variable to "make". X-Git-Tag: procprotect-0.4-5~1 X-Git-Url: http://git.onelab.eu/?p=procprotect.git;a=commitdiff_plain;h=a228713aa85d37131e66ef97ace695b4a77617f4 Needs to provide KVER variable to "make". --- diff --git a/procprotect.spec b/procprotect.spec index f567b3f..d2f56eb 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -50,7 +50,7 @@ ACLs for protecting entries in the proc filesystem. %setup -q %build -make -C %{kernelpath} V=1 M=$(pwd) modules +make -C %{kernelpath} V=1 M=$(pwd) KVER=%{kernel_id} modules %install install -D -m 755 procprotect.ko $RPM_BUILD_ROOT/lib/modules/%{kernel_id}/kernel/net/procprotect/procprotect.ko