From b5ec841bec02aa6ed81bfb92d1f0e9e950026c571056ed932b639b8ca1014f7e Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 14 Nov 2024 01:33:58 +0100 Subject: [PATCH] Use distro-default INSTALL_MOD_DIR --- virtualbox-kmp-files | 9 --------- virtualbox.changes | 5 +++++ virtualbox.spec | 4 +--- 3 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 virtualbox-kmp-files diff --git a/virtualbox-kmp-files b/virtualbox-kmp-files deleted file mode 100644 index 576852d..0000000 --- a/virtualbox-kmp-files +++ /dev/null @@ -1,9 +0,0 @@ -%defattr (-,root,root) -%dir %{kernel_module_directory}/%2-%1/ -%dir %{kernel_module_directory}/%2-%1/extra -%{kernel_module_directory}/%2-%1/extra/vboxdrv.ko -%{kernel_module_directory}/%2-%1/extra/vboxnetadp.ko -%{kernel_module_directory}/%2-%1/extra/vboxnetflt.ko -%{kernel_module_directory}/%2-%1/extra/vboxguest.ko -%{kernel_module_directory}/%2-%1/extra/vboxsf.ko -%{kernel_module_directory}/%2-%1/extra/vboxvideo.ko diff --git a/virtualbox.changes b/virtualbox.changes index faefffc..25cc97d 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 14 00:33:23 UTC 2024 - Jan Engelhardt + +- Use distro-default INSTALL_MOD_DIR. + ------------------------------------------------------------------- Wed Oct 16 23:37:43 UTC 2024 - Jan Engelhardt diff --git a/virtualbox.spec b/virtualbox.spec index 40408db..a7652da 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -71,7 +71,6 @@ Source0: VirtualBox-%{version}-patched.tpxz Source1: UserManual.pdf Source3: virtualbox-60-vboxguest.rules Source4: virtualbox-default.virtualbox -Source5: virtualbox-kmp-files Source7: virtualbox-kmp-preamble Source8: update-extpack.sh Source9: virtualbox-wrapper.sh @@ -261,7 +260,7 @@ BuildRequires: libpulse-devel BuildRequires: libxml2-devel Requires: ca-certificates Requires: openSUSE-signkey-cert -%kernel_module_package -p %{SOURCE7} -n virtualbox -f %{SOURCE5} -x kdump um xen pae xenpae pv +%kernel_module_package -p %{SOURCE7} -n virtualbox -x kdump um xen pae xenpae pv # end of kmp_package %endif ### Description and subpackages of virtualbox main package ### @@ -1081,7 +1080,6 @@ done %install export INSTALL_MOD_PATH=%{buildroot} -export INSTALL_MOD_DIR=extra #to install modules we use here similar steps like in build phase, go through all the modules : for module_name in vbox{drv,netflt,netadp,guest,sf,video} do