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
This commit is contained in:
Lee Duncan 2018-02-25 20:09:51 +00:00 committed by Git OBS Bridge
parent bc16ce6754
commit 4e5d2875ce
2 changed files with 7 additions and 2 deletions

View File

@ -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 Wed Jan 24 18:43:43 UTC 2018 - lduncan@suse.com

View File

@ -19,7 +19,6 @@
%define oname rtslib-fb %define oname rtslib-fb
%define realver 2.1.fb64 %define realver 2.1.fb64
%define dbdir %{_sysconfdir}/target %define dbdir %{_sysconfdir}/target
%define oldpython python
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-%{oname} Name: python-%{oname}
Version: 2.1.64 Version: 2.1.64
@ -39,7 +38,8 @@ BuildRequires: python-rpm-macros
Requires: python-pyudev Requires: python-pyudev
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
Conflicts: %{oldpython}-rtslib Provides: python-rtslib = %{version}-%{release}
Obsoletes: python-rtslib
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages