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