From 0154baf2ee0de5a86769ad6f5e0763e2e56bf6ff7f872200e082e4bac08231f2 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Wed, 1 Nov 2017 16:00:41 +0000 Subject: [PATCH] Accepting request 538131 from home:pluskalm:branches:Virtualization - Rename python subpackage - Update python dependnencies for migration to python3 as default OBS-URL: https://build.opensuse.org/request/show/538131 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=378 --- virtualbox.changes | 6 ++++++ virtualbox.spec | 10 ++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/virtualbox.changes b/virtualbox.changes index 7e57f4f..66ad5d2 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 1 15:22:09 UTC 2017 - mpluskal@suse.com + +- Rename python subpackage +- Update python dependnencies for migration to python3 as default + ------------------------------------------------------------------- Sat Oct 21 18:45:20 UTC 2017 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index 05e6e6a..91d3ac4 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -147,7 +147,7 @@ BuildRequires: libxslt-devel BuildRequires: module-init-tools BuildRequires: pam-devel BuildRequires: pulseaudio-devel -BuildRequires: python-devel +BuildRequires: python2-devel BuildRequires: quilt BuildRequires: sed BuildRequires: update-desktop-files @@ -288,15 +288,17 @@ Requires(pre): net-tools-deprecated VirtualBox guest addition tools. ########################################### -%package -n python-%{name} +%package -n python2-%{name} Summary: Python bindings for %{name} Group: Development/Libraries/Python Requires: %{name} = %{version} #rename from "ose" version: +Provides: python-%{name} = %{version}-%{release} +Obsoletes: python-%{name} < %{version}-%{release} Provides: python-%{name}-ose = %{version} Obsoletes: python-%{name}-ose < %{version} -%description -n python-%{name} +%description -n python2-%{name} Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package. ########################################### @@ -947,7 +949,7 @@ export DISABLE_RESTART_ON_UPDATE=yes %dir /media %endif -%files -n python-%{name} -f %{_tmppath}/SITE_FILES +%files -n python2-%{name} -f %{_tmppath}/SITE_FILES %defattr(-, root, root) %dir %{_vbox_instdir}/sdk %dir %{_vbox_instdir}/sdk/bindings