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