From 208a7ef33cede5bc6da27b2588be6eca031010b5015a199c77877728b4042062 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 4 Dec 2019 17:18:11 +0000 Subject: [PATCH] =?UTF-8?q?-=20Setup=20Conflicts:=20so=20that=20older=20ve?= =?UTF-8?q?rsion=20of=20Python=20don=C3=A2=E2=82=AC=E2=84=A2t=20collide=20?= =?UTF-8?q?=20=20with=20this=20package.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/shared-python-startup?expand=0&rev=3 --- shared-python-startup.changes | 6 ++++++ shared-python-startup.spec | 6 ++++++ 2 files changed, 12 insertions(+) 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