1
0
forked from pool/virtualbox

Accepting request 538137 from Virtualization

- Rename python subpackage
- Update python dependnencies for migration to python3 as default (forwarded request 538131 from pluskalm)

OBS-URL: https://build.opensuse.org/request/show/538137
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtualbox?expand=0&rev=146
This commit is contained in:
Dominique Leuenberger 2017-11-04 09:24:32 +00:00 committed by Git OBS Bridge
commit 6bf6319e0c
2 changed files with 12 additions and 4 deletions

View File

@ -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

View File

@ -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