From 8c0d2997971035a0712f82266c3cc9ea8e1711aa87580090f0fb7885fa22c59e Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 25 Nov 2020 23:18:43 +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-boto3?expand=0&rev=80 --- python-boto3.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-boto3.spec b/python-boto3.spec index 29cb750..c026fba 100644 --- a/python-boto3.spec +++ b/python-boto3.spec @@ -17,7 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 +%if 0%{?suse_version} > 1500 +%define skip_python2 1 +%endif Name: python-boto3 Version: 1.15.15 Release: 0