From: Jan Rękorajski Date: Tue, 27 Jan 2015 23:25:20 +0000 (+0100) Subject: - fix building kernel modules X-Git-Tag: auto/th/VirtualBox-4.3.20-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2FVirtualBox.git;a=commitdiff_plain;h=8608f39a13b1a69a334e59d6510c81f6d70f3eac - fix building kernel modules --- 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