Add Conflicts on old version of python2-alembic

This commit is contained in:
Petr Viktorin 2019-07-24 15:27:34 +02:00
parent 941b664318
commit a25c536b5e

View File

@ -118,6 +118,11 @@ Requires: python3-editor
Requires: python3-dateutil Requires: python3-dateutil
%{?python_provide:%python_provide python3-alembic} %{?python_provide:%python_provide python3-alembic}
%if %{python_version} == 3
# /usr/bin/alembic moved from the python2 package to the python3 one
Conflicts: python2-alembic < 1.0.11-2
%endif
%description -n python3-alembic %_description %description -n python3-alembic %_description
%endif %endif