Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2020-09-21 17:11:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Mon Sep 21 17:11:52 2020 rev:205 rq:835469 version:6.1.14 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2020-09-14 12:04:50.679719421 +0200 +++ /work/SRC/openSUSE:Factory/.virtualbox.new.4249/virtualbox.changes 2020-09-21 17:15:57.755583335 +0200 @@ -1,0 +2,14 @@ +Fri Sep 18 16:36:31 UTC 2020 - Larry Finger <larry.fin...@gmail.com> + +- %service_del_postun_without_restart is not yet available in Leap 15.{1,2} of SLE15_SP1. + For that reason, a workaround is added. + +------------------------------------------------------------------- +Fri Sep 11 17:58:07 UTC 2020 - Franck Bui <f...@suse.com> + +- Make use of %service_del_postun_without_restart + + And stop using DISABLE_RESTART_ON_UPDATE as this interface is + obsolete. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.sr6Y9K/_old 2020-09-21 17:16:00.815585696 +0200 +++ /var/tmp/diff_new_pack.sr6Y9K/_new 2020-09-21 17:16:00.819585700 +0200 @@ -543,7 +543,7 @@ # fix build of vboxvideo kernel module: replace relative drm include path with absolute include path sed -i 's:include/drm:/usr/src/linux/include/drm:' src/VBox/Additions/linux/drm/Makefile.module.kms -### %build, %install, and %file sections for virtualbox ### +### %%build, %%install, and %%file sections for virtualbox ### %if %{main_package} %build # Disable LTO - Link Time Optimization @@ -899,9 +899,14 @@ %restart_on_update vboxdrv %restart_on_update vboxautostart # immediately restarting virtualbox may not work. As such wait for the next reboot to restart +%if ! %{defined service_del_postun_without_restart} export DISABLE_RESTART_ON_UPDATE=yes %service_del_postun vboxautostart.service %service_del_postun vboxdrv.service +%else +%service_del_postun_without_restart vboxautostart.service +%service_del_postun_without_restart vboxdrv.service +%endif %postun guest-tools %restart_on_update vboxadd @@ -990,7 +995,7 @@ %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSUIDMessage %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxUSB_DevRules %attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBox6 -%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM +%verify(not mode) %attr(0750,root,vboxusers) %{_vbox_instdir}/VirtualBoxVM %verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxSDL %{_vbox_instdir}/VirtualBox #wrapper script is in bindir @@ -1092,7 +1097,7 @@ # main_package %endif -### %build and %install sections of virtualbox-kmp ### +### %%build and %%install sections of virtualbox-kmp ### %if %{kmp_package} %build # Disable LTO - Link Time Optimization