From 8608f39a13b1a69a334e59d6510c81f6d70f3eac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 28 Jan 2015 00:25:20 +0100 Subject: [PATCH] - fix building kernel modules --- VirtualBox.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/VirtualBox.spec b/VirtualBox.spec index 01d75cc..4f65206 100644 --- a/VirtualBox.spec +++ b/VirtualBox.spec @@ -29,6 +29,10 @@ exit 1 %endif +%if %{with kernel} +%define _duplicate_files_terminate_build 0 +%endif + %if %{without userspace} # nothing to be placed to debuginfo package %undefine with_debuginfo -- 2.43.0