diff --git a/shared-python-startup.changes b/shared-python-startup.changes index b82bb16..7ee2521 100644 --- a/shared-python-startup.changes +++ b/shared-python-startup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Dec 4 18:17:30 CET 2019 - Matej Cepl + +- Setup Conflicts: so that older version of Python don’t collide + with this package. + ------------------------------------------------------------------- Fri Nov 22 14:04:21 UTC 2019 - Matej Cepl diff --git a/shared-python-startup.spec b/shared-python-startup.spec index 7b588cc..5cc2efe 100644 --- a/shared-python-startup.spec +++ b/shared-python-startup.spec @@ -25,6 +25,12 @@ Source0: pythonstart Source1: LICENSE BuildRequires: filesystem Supplements: python(abi) +Conflicts: python3 < 3.8 +%if 0%{?suse_version} > 1200 +Conflicts: (python2 without python2_split_startup) +%else +Conflicts: python2 < 2.7.17 +%endif BuildArch: noarch %description