From 822cc14ef32049a10016bc8ff31d5f5d3652662f Mon Sep 17 00:00:00 2001 From: Thomas Dreibholz Date: Wed, 26 Mar 2014 09:18:05 +0100 Subject: [PATCH] Depmod needs kernel version. --- procprotect.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/procprotect.spec b/procprotect.spec index f74d940..8623541 100644 --- a/procprotect.spec +++ b/procprotect.spec @@ -68,7 +68,7 @@ rm -rf $RPM_BUILD_ROOT /usr/lib/systemd/system/procprotect.service %post -/sbin/depmod -a +/sbin/depmod -a %{kernel_id} /bin/systemctl enable procprotect.service %postun -- 2.43.0