diff --git a/virtualbox.changes b/virtualbox.changes index c8dcf10..46cc814 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,8 +1,15 @@ +------------------------------------------------------------------- +Tue Dec 8 13:41:09 UTC 2020 - Dominique Leuenberger + +- Fix build with RPM 4.16: Do not install files to buildroot during + the build phase: +- Do not forcibly require systemd: systemd_ordering is sufficient. + ------------------------------------------------------------------- Fri Sep 18 16:36:31 UTC 2020 - Larry Finger - %service_del_postun_without_restart is not yet available in Leap 15.{1,2} of SLE15_SP1. - For that reason, a workaround is added. + For that reason, a workaround is added. ------------------------------------------------------------------- Fri Sep 11 17:58:07 UTC 2020 - Franck Bui diff --git a/virtualbox.spec b/virtualbox.spec index 3d31954..2156852 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -266,7 +266,7 @@ BuildRequires: xorg-x11-libXext-devel-32bit BuildRequires: xorg-x11-libXmu-devel-32bit BuildRequires: xorg-x11-libXt-devel-32bit %endif -%{?systemd_requires} +%{?systemd_ordering} # package i4l-vbox from source package i4l-base shares the directory /etc/vbox # with us, but with different owner. Conflicts: i4l-vbox @@ -585,11 +585,6 @@ echo "build VNC extension pack" # tar must use GNU, not POSIX, format here sed -i 's/tar /tar --format=gnu /' src/VBox/ExtPacks/VNC/Makefile.kmk kmk -C src/VBox/ExtPacks/VNC packing -pushd out/linux.*/release/packages/ -mkdir -p "%{buildroot}%{_datadir}/virtualbox/extensions/" -install -D -m 644 VNC-*.vbox-extpack "%{buildroot}%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack" -popd -install -D -m 644 "COPYING" "%{buildroot}%{_datadir}/licenses/LICENSE.vnc" %install ################################# @@ -628,6 +623,16 @@ install -m 644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/60-vboxguest.rules %if 0%{?suse_version} > 1320 || 0%{?sle_version} == 120300 install -d -m 755 %{buildroot}/media %endif + +########################################### +echo "entering VNC extension install section" +########################################### +pushd out/linux.*/release/packages/ +mkdir -p "%{buildroot}%{_datadir}/virtualbox/extensions/" +install -D -m 644 VNC-*.vbox-extpack "%{buildroot}%{_datadir}/virtualbox/extensions/VNC-%{version}.vbox-extpack" +popd +install -D -m 644 "COPYING" "%{buildroot}%{_datadir}/licenses/LICENSE.vnc" + # ############################################################## echo "entering guest-x11 install section"