From 4e5d2875ce06364d550626720ba4e333cbfd8e538b83ef65cb34171a1bf4407f Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Sun, 25 Feb 2018 20:09:51 +0000 Subject: [PATCH] Accepting request 579909 from home:olh - Fix upgrade path by provide/obsolete python-rtslib (bsc#1082693) OBS-URL: https://build.opensuse.org/request/show/579909 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rtslib-fb?expand=0&rev=31 --- python-rtslib-fb.changes | 5 +++++ python-rtslib-fb.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-rtslib-fb.changes b/python-rtslib-fb.changes index de03dd5..1a55075 100644 --- a/python-rtslib-fb.changes +++ b/python-rtslib-fb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Feb 25 08:09:45 UTC 2018 - olaf@aepfle.de + +- Fix upgrade path by provide/obsolete python-rtslib (bsc#1082693) + ------------------------------------------------------------------- Wed Jan 24 18:43:43 UTC 2018 - lduncan@suse.com diff --git a/python-rtslib-fb.spec b/python-rtslib-fb.spec index 3b019df..5cd2a3f 100644 --- a/python-rtslib-fb.spec +++ b/python-rtslib-fb.spec @@ -19,7 +19,6 @@ %define oname rtslib-fb %define realver 2.1.fb64 %define dbdir %{_sysconfdir}/target -%define oldpython python %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-%{oname} Version: 2.1.64 @@ -39,7 +38,8 @@ BuildRequires: python-rpm-macros Requires: python-pyudev Requires(post): update-alternatives Requires(postun): update-alternatives -Conflicts: %{oldpython}-rtslib +Provides: python-rtslib = %{version}-%{release} +Obsoletes: python-rtslib BuildArch: noarch %python_subpackages