Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package virtualbox for openSUSE:Factory checked in at 2023-05-06 22:08:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virtualbox (Old) and /work/SRC/openSUSE:Factory/.virtualbox.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virtualbox" Sat May 6 22:08:48 2023 rev:256 rq:1085155 version:7.0.8 Changes: -------- --- /work/SRC/openSUSE:Factory/virtualbox/virtualbox.changes 2023-05-05 17:12:19.915048566 +0200 +++ /work/SRC/openSUSE:Factory/.virtualbox.new.1533/virtualbox.changes 2023-05-06 22:09:01.780662616 +0200 @@ -1,0 +2,6 @@ +Thu May 4 16:46:55 UTC 2023 - Dirk Müller <[email protected]> + +- add python311.patch to make it detect Python 3.11 as well +- spec file cleanups + +------------------------------------------------------------------- New: ---- python311.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virtualbox.spec ++++++ --- /var/tmp/diff_new_pack.Y4FJEE/_old 2023-05-06 22:09:03.748673572 +0200 +++ /var/tmp/diff_new_pack.Y4FJEE/_new 2023-05-06 22:09:03.756673616 +0200 @@ -23,7 +23,6 @@ %define name_suffix kmp %define dash - %define package_summary Kernel modules for VirtualBox -%define package_group System/Kernel %if %{undefined kernel_module_directory} %define kernel_module_directory /lib/modules %endif @@ -32,7 +31,6 @@ %define main_package 1 %define kmp_package 0 %define package_summary VirtualBox is an Emulator -%define package_group System/Emulators/PC %define qt5ver %(rpm -q --queryformat %%{version} libQt5Core5|perl -ne '/(\\d+)\\.(\\d+)\\.(\\d+)?/&&printf "%%d%%02d%%02d\\n",$1,$2,$3') #Compat macro for new _fillupdir macro introduced in Nov 2017 %if ! %{defined _fillupdir} @@ -54,11 +52,12 @@ Version: 7.0.8 Release: 0 Summary: %{package_summary} -# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" License: GPL-2.0-or-later -# FIXME: use correct group or remove it, see "https://en.opensuse.org/openSUSE:Package_group_guidelines" -Group: %{package_group} +%if %{kmp_package} +Group: System/Kernel +%else +Group: System/Emulators/PC +%endif URL: https://www.virtualbox.org/ # # so you don't need to repack virtualbox by hand, just add new release of VirtualBox-x.x.x.tar.bz2 and line below with @@ -161,6 +160,8 @@ Patch36: fixes_for_gcc13.patch # Fix locking problem in 7.0.6 Patch37: fix_7.0.6_locking_problems.patch +# Support python 3.11 +Patch38: python311.patch # # Common BuildRequires for both virtualbox and virtualbox-kmp BuildRequires: %{kernel_module_package_buildreqs} @@ -293,18 +294,6 @@ hardware. VirtualBox is freely available as Open Source Software under the terms of the GNU Public License (GPL). - - - - - - - - - - - -#-######################################### %package qt Summary: Qt GUI part for %{name} Group: System/Emulators/PC @@ -321,18 +310,6 @@ %description qt This package contains the code for the GUI used to control VMs. - - - - - - - - - - - -#-######################################## %package websrv Summary: WebService GUI part for %{name} Group: System/Emulators/PC @@ -343,18 +320,6 @@ %description websrv The VirtualBox web server is used to control headless VMs using a browser. - - - - - - - - - - -#-########################################## - %package guest-tools Summary: VirtualBox guest tools Group: System/Emulators/PC @@ -375,18 +340,6 @@ %description guest-tools VirtualBox guest addition tools. - - - - - - - - - - - -#-########################################## %package -n python3-%{name} Summary: Python bindings for %{name} Group: Development/Libraries/Python @@ -404,18 +357,6 @@ %description -n python3-%{name} Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. - - - - - - - - - - - -#-########################################## %package devel Summary: Devel files for %{name} Group: Development/Libraries/Other @@ -428,18 +369,6 @@ %description devel Development file for %{name} - - - - - - - - - - - -#-########################################## %package host-source Summary: Source files for %{name} host kernel modules Group: Development/Sources @@ -469,18 +398,6 @@ These can be built for custom kernels using sudo %{_sbindir}/vboxguestconfig - - - - - - - - - - - -#-########################################## %package guest-desktop-icons Summary: Icons for guest desktop files Group: System/Emulators/PC @@ -491,18 +408,6 @@ %description guest-desktop-icons This package contains icons for guest desktop files that were created on the desktop. - - - - - - - - - - - -#-########################################## %package vnc Summary: VNC desktop sharing Group: System/Emulators/PC @@ -570,6 +475,7 @@ %patch36 -p1 %endif %patch37 -p1 +%patch38 -p1 ### Documents for virtualbox main package ### %if %{main_package} ++++++ python311.patch ++++++ diff --git a/configure b/configure index 0872ec4c..037680e0 100755 --- a/configure +++ b/configure @@ -2132,7 +2132,7 @@ extern "C" int main(void) } EOF found= - SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m" + SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m python3.10 python3.10m python3.11 python3.11m" for p in $PYTHONDIR; do for d in $SUPPYTHONLIBS; do for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do diff --git a/src/VBox/Installer/linux/routines.sh b/src/VBox/Installer/linux/routines.sh index 08e06358..44eba726 100644 --- a/src/VBox/Installer/linux/routines.sh +++ b/src/VBox/Installer/linux/routines.sh @@ -446,7 +446,7 @@ maybe_run_python_bindings_installer() { # the VirtualBox API bindings. Needs to prevent double installs which waste # quite a bit of time. PYTHONS="" - for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3 python; do + for p in python2.6 python2.7 python2 python3.3 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10 python3.11 python3 python; do if [ "`$p -c 'import sys if sys.version_info >= (2, 6) and (sys.version_info < (3, 0) or sys.version_info >= (3, 3)): print(\"test\")' 2> /dev/null`" != "test" ]; then
