diff --git a/python-alembic.spec b/python-alembic.spec index 549c2d3..61e53af 100644 --- a/python-alembic.spec +++ b/python-alembic.spec @@ -118,6 +118,11 @@ Requires: python3-editor Requires: python3-dateutil %{?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 %endif