commit 7e3c01f791545e1a05f461f81a18f5eaf95f7af8
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jun 28 14:10:00 2017 +0200
Allow to build pre-built kmod on el
VirtualBox-kmod.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/VirtualBox-kmod.spec b/VirtualBox-kmod.spec
index 2420699..5fd9f82 100644
--- a/VirtualBox-kmod.spec
+++ b/VirtualBox-kmod.spec
@@ -3,9 +3,11 @@
# "buildforkernels newest" macro for just that build; immediately after
# queuing that build enable the macro again for subsequent builds; that way
# a new akmod package will only get build when a new one is actually needed
+%if 0%{?fedora}
%global buildforkernels akmod
%global debug_package %{nil}
+%endif
#akmods still generate debuginfo but have the wrong name:
#/var/cache/akmods/VirtualBox/VirtualBox-kmod-debuginfo-5.0.4-1.fc21.x86_64.rpm
#/var/cache/akmods/VirtualBox/kmod-VirtualBox-4.1.8-100.fc21.x86_64-5.0.4-1.fc21.x86_64.rpm
Show replies by date