added provides/obsoletes

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=2
This commit is contained in:
Michal Seben 2010-12-23 10:56:06 +00:00 committed by Git OBS Bridge
parent 23e21a1790
commit 4311ebf271
3 changed files with 25 additions and 3 deletions

View File

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

View File

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

View File

@ -90,6 +90,9 @@ PreReq: pwdutils permissions
Requires: %{name}-host-kmp = %version Requires: %{name}-host-kmp = %version
#Suggests: %{name}-qt = %version #Suggests: %{name}-qt = %version
Recommends: %{name}-qt = %version Recommends: %{name}-qt = %version
#rename from ose version:
Provides: %{name}-ose = %version
Obsoletes: %{name}-ose = %version
%description %description
VirtualBox is an extremely feature rich, high performance product VirtualBox is an extremely feature rich, high performance product
@ -102,6 +105,10 @@ License: GPLv2+
Summary: Qt GUI part for %{name} Summary: Qt GUI part for %{name}
Group: System/Emulators/PC Group: System/Emulators/PC
Requires: %{name} = %{version} Requires: %{name} = %{version}
#rename from "ose" version:
Provides: %{name}-ose-qt = %version
Obsoletes: %{name}-ose-qt = %version
%description qt %description qt
Qt GUI part for %{name}. Qt GUI part for %{name}.
@ -132,6 +139,9 @@ Summary: VirtualBox X11 drivers for mouse and video
Group: System/X11/Servers/XF86_4 Group: System/X11/Servers/XF86_4
Requires: %{name}-guest-kmp = %version Requires: %{name}-guest-kmp = %version
Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*) 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
%description guest-x11 %description guest-x11
VirtualBox VirtualBox
@ -143,16 +153,21 @@ Summary: VirtualBox guest tools
Group: System/Emulators/PC Group: System/Emulators/PC
Requires: %{name}-guest-kmp = %version Requires: %{name}-guest-kmp = %version
Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*) Supplements: modalias(pci:v000080EEd0000BEEFsv*sd*bc*sc*i*)
#rename from "ose" version:
Provides: virtualbox-ose-guest-tools = %version
Obsoletes: virtualbox-ose-guest-tools = %version
%description guest-tools %description guest-tools
VirtualBox guest addition tools. VirtualBox guest addition tools.
########################################### ###########################################
%package -n python-%{name} %package -n python-%{name}
Summary: Python bindings for %{name} Summary: Python bindings for %{name}
Group: Development/Libraries/Python Group: Development/Libraries/Python
Requires: %{name} = %{version} Requires: %{name} = %{version}
#rename from "ose" version:
Provides: python-%{name}-ose = %version
Obsoletes: python-%{name}-ose = %version
%description -n python-%{name} %description -n python-%{name}
Python XPCOM bindings to %{name}. Python XPCOM bindings to %{name}.
@ -163,6 +178,9 @@ Summary: Devel files for %{name}
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: python-%{name} = %{version} Requires: python-%{name} = %{version}
#rename from "ose" version:
Provides: %{name}-ose-devel = %version
Obsoletes: %{name}-ose-devel = %version
%description devel %description devel
Development file for %{name} Development file for %{name}