1
0
forked from pool/virtualbox

Accepting request 924993 from Virtualization

OBS-URL: https://build.opensuse.org/request/show/924993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=225
This commit is contained in:
Dominique Leuenberger 2021-10-15 21:03:20 +00:00 committed by Git OBS Bridge
commit f7b1950f22
3 changed files with 17 additions and 9 deletions

View File

@ -1,10 +1,10 @@
%defattr (-,root,root) %defattr (-,root,root)
%dir /lib/modules/%2-%1/ %dir %{kernel_module_directory}/%2-%1/
%dir /lib/modules/%2-%1/extra %dir %{kernel_module_directory}/%2-%1/extra
/lib/modules/%2-%1/extra/vboxdrv.ko %{kernel_module_directory}/%2-%1/extra/vboxdrv.ko
/lib/modules/%2-%1/extra/vboxnetadp.ko %{kernel_module_directory}/%2-%1/extra/vboxnetadp.ko
/lib/modules/%2-%1/extra/vboxnetflt.ko %{kernel_module_directory}/%2-%1/extra/vboxnetflt.ko
/lib/modules/%2-%1/extra/vboxsf.ko %{kernel_module_directory}/%2-%1/extra/vboxsf.ko
/lib/modules/%2-%1/extra/vboxguest.ko %{kernel_module_directory}/%2-%1/extra/vboxguest.ko
#/lib/modules/%2-%1/extra/vboxvideo.ko #%{kernel_module_directory}/%2-%1/extra/vboxvideo.ko

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 12 13:03:59 UTC 2021 - Ludwig Nussel <lnussel@suse.de>
- Use kernel_module_directory macro for kernel modules (boo#1191526)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 5 15:46:41 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net> Tue Oct 5 15:46:41 UTC 2021 - Hans-Peter Jansen <hpj@urpla.net>

View File

@ -1,5 +1,5 @@
# #
# spec file # spec file for package virtualbox
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
@ -24,6 +24,9 @@
%define dash - %define dash -
%define package_summary Kernel modules for VirtualBox %define package_summary Kernel modules for VirtualBox
%define package_group System/Kernel %define package_group System/Kernel
%if %{undefined kernel_module_directory}
%define kernel_module_directory /lib/modules
%endif
%else %else
### macros for virtualbox main package ### ### macros for virtualbox main package ###
%define main_package 1 %define main_package 1