openstackclient: Add missing obsoletes

We need to uninstall the python2.x versions that are no longer
being built for being able to update in a rolling release distribution.

Change-Id: I4e30553bd4f425de07a5d56939ef6030247127d4
This commit is contained in:
Dirk Mueller 2020-03-23 18:23:22 +01:00
parent c0f224911d
commit d888e94f58
1 changed files with 3 additions and 0 deletions

View File

@ -53,6 +53,9 @@ Requires: {{ py3('osc-lib') }}
Requires: {{ py3('oslo.i18n') }}
Requires: {{ py3('oslo.utils') }}
Requires: {{ py3('six') }}
%if 0%{?suse_version}
Obsoletes: {{ py2name(py_versions='py2') }} < 4.0.0
%endif
%description -n python3-openstackclient
python-openstackclient is a unified command-line client for the OpenStack APIs.