From 534c9360fe69bc4853b4f5c6db9de1b5e613459f3c839ab84415602289e3a79c Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 25 Nov 2020 23:18:50 +0000 Subject: [PATCH] - do not build Python2 for distros greater than 12 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-botocore?expand=0&rev=87 --- python-botocore.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-botocore.spec b/python-botocore.spec index d184573..bf70a29 100644 --- a/python-botocore.spec +++ b/python-botocore.spec @@ -17,6 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} > 1500 +%define skip_python2 1 +%endif Name: python-botocore Version: 1.18.15 Release: 0