From a25c536b5e7d22df2e0c236dfc34e3c8b16ae348 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 24 Jul 2019 15:27:34 +0200 Subject: [PATCH] Add Conflicts on old version of python2-alembic --- python-alembic.spec | 5 +++++ 1 file changed, 5 insertions(+) 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