From 51ef4838deaf8b2a531bc8c89ec99e98cea09b20 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 27 Oct 2013 22:01:34 +0100 Subject: [PATCH] - mount.vboxfs belongs to userland --- VirtualBox.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/VirtualBox.spec b/VirtualBox.spec index 727ec06..4469963 100644 --- a/VirtualBox.spec +++ b/VirtualBox.spec @@ -509,13 +509,12 @@ EOF XSERVER_VERSION=$(rpm -q --queryformat '%{VERSION}\n' xorg-xserver-server-devel | awk -F. ' { print $1 $2 } ' 2> /dev/null || echo ERROR) kmk %{?_smp_mflags} -%endif -%if %{with kernel} -%{expand:%bkpkg} %{__cc} %{rpmcflags} %{rpmldflags} -Wall -Werror src/VBox/Additions/linux/sharedfolders/{mount.vboxsf.c,vbsfmount.c} -o mount.vboxsf %endif +%{?with_kernel:%{expand:%bkpkg}} + %install rm -rf $RPM_BUILD_ROOT -- 2.43.0