1
0
forked from pool/virtualbox

Accepting request 56734 from home:mseben

provides/obsoletes polishing

OBS-URL: https://build.opensuse.org/request/show/56734
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=9
This commit is contained in:
Michal Seben 2010-12-25 21:26:12 +00:00 committed by Git OBS Bridge
parent 9ba0ef3674
commit 26568ffffa
3 changed files with 19 additions and 17 deletions

View File

@ -1,5 +1,5 @@
Requires: kernel-%1
Provides: virtualbox-guest-kmp = %version
#rename from ose version:
Provides: virtualbox-ose-guest-kmp = %version
Obsoletes: virtualbox-ose-guest-kmp < %version
Provides: virtualbox-ose-guest-kmp-%1 <= %version
Obsoletes: virtualbox-ose-guest-kmp-%1 <= %version

View File

@ -1,5 +1,5 @@
Requires: kernel-%1
Provides: virtualbox-host-kmp = %version
#rename from ose version:
Provides: virtualbox-ose-host-kmp = %version
Obsoletes: virtualbox-ose-host-kmp < %version
Provides: virtualbox-ose-host-kmp-%1 <= %version
Obsoletes: virtualbox-ose-host-kmp-%1 <= %version

View File

@ -88,11 +88,10 @@ Patch101: vbox-default-os-type.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: pwdutils permissions
Requires: %{name}-host-kmp = %version
#Suggests: %{name}-qt = %version
Recommends: %{name}-gui = %version
#rename from ose version:
Provides: %{name}-ose = %version
Obsoletes: %{name}-ose < %version
Provides: %{name}-ose <= %version
Obsoletes: %{name}-ose <= %version
%description
VirtualBox is an extremely feature rich, high performance product
@ -106,9 +105,12 @@ Summary: Qt GUI part for %{name}
Group: System/Emulators/PC
Requires: %{name} = %{version}
Provides: %{name}-gui = %{version}
#this is needed during update to trigger installing qt subpackage
#http://en.opensuse.org/openSUSE:Upgrade_dependencies_explanation#Splitting_and_Merging
Provides: %{name}-ose:/usr/lib/virtualbox/VirtualBox.so
#rename from "ose" version:
Provides: %{name}-ose-qt = %version
Obsoletes: %{name}-ose-qt < %version
Provides: %{name}-ose-qt <= %version
Obsoletes: %{name}-ose-qt <= %version
%description qt
@ -141,8 +143,8 @@ Group: System/X11/Servers/XF86_4
Requires: %{name}-guest-kmp = %version
Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*)
#rename from xorg-x11-driver-virtualbox-ose:
Provides: xorg-x11-driver-virtualbox-ose = %version
Obsoletes: xorg-x11-driver-virtualbox-ose < %version
Provides: xorg-x11-driver-virtualbox-ose <= %version
Obsoletes: xorg-x11-driver-virtualbox-ose <= %version
%description guest-x11
VirtualBox
@ -155,8 +157,8 @@ Group: System/Emulators/PC
Requires: %{name}-guest-kmp = %version
Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*)
#rename from "ose" version:
Provides: virtualbox-ose-guest-tools = %version
Obsoletes: virtualbox-ose-guest-tools < %version
Provides: %{name}-ose-guest-tools <= %version
Obsoletes: %{name}-ose-guest-tools <= %version
%description guest-tools
VirtualBox guest addition tools.
@ -167,8 +169,8 @@ Summary: Python bindings for %{name}
Group: Development/Libraries/Python
Requires: %{name} = %{version}
#rename from "ose" version:
Provides: python-%{name}-ose = %version
Obsoletes: python-%{name}-ose < %version
Provides: python-%{name}-ose <= %version
Obsoletes: python-%{name}-ose <= %version
%description -n python-%{name}
Python XPCOM bindings to %{name}. Used e.g. by vboxgtk package.
@ -180,8 +182,8 @@ Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: python-%{name} = %{version}
#rename from "ose" version:
Provides: %{name}-ose-devel = %version
Obsoletes: %{name}-ose-devel < %version
Provides: %{name}-ose-devel <= %version
Obsoletes: %{name}-ose-devel <= %version
%description devel
Development file for %{name}