From 4311ebf2716c2fed379fc3b688f27cf94820cb746d3590d1af124eb919ab9062 Mon Sep 17 00:00:00 2001 From: Michal Seben Date: Thu, 23 Dec 2010 10:56:06 +0000 Subject: [PATCH] added provides/obsoletes OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=2 --- virtualbox-guest-preamble | 4 +++- virtualbox-host-preamble | 4 +++- virtualbox.spec | 20 +++++++++++++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) diff --git a/virtualbox-guest-preamble b/virtualbox-guest-preamble index aca6bf9..bb3254c 100644 --- a/virtualbox-guest-preamble +++ b/virtualbox-guest-preamble @@ -1,3 +1,5 @@ Requires: kernel-%1 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 diff --git a/virtualbox-host-preamble b/virtualbox-host-preamble index c1d625b..a49d683 100644 --- a/virtualbox-host-preamble +++ b/virtualbox-host-preamble @@ -1,3 +1,5 @@ Requires: kernel-%1 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 diff --git a/virtualbox.spec b/virtualbox.spec index 37f3813..c85d43b 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -90,6 +90,9 @@ PreReq: pwdutils permissions Requires: %{name}-host-kmp = %version #Suggests: %{name}-qt = %version Recommends: %{name}-qt = %version +#rename from ose version: +Provides: %{name}-ose = %version +Obsoletes: %{name}-ose = %version %description VirtualBox is an extremely feature rich, high performance product @@ -102,6 +105,10 @@ License: GPLv2+ Summary: Qt GUI part for %{name} Group: System/Emulators/PC Requires: %{name} = %{version} +#rename from "ose" version: +Provides: %{name}-ose-qt = %version +Obsoletes: %{name}-ose-qt = %version + %description qt Qt GUI part for %{name}. @@ -132,6 +139,9 @@ Summary: VirtualBox X11 drivers for mouse and video 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 %description guest-x11 VirtualBox @@ -143,16 +153,21 @@ Summary: VirtualBox guest tools 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 %description guest-tools VirtualBox guest addition tools. ########################################### %package -n python-%{name} - 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 %description -n python-%{name} Python XPCOM bindings to %{name}. @@ -163,6 +178,9 @@ Summary: Devel files for %{name} 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 %description devel Development file for %{name}