From 9717a5a9374f8bc647e7f9d9063c75ccebe304090b23b28249d8928a61002311 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Wed, 25 Nov 2020 23:19:20 +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-s3transfer?expand=0&rev=21 --- python-s3transfer.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python-s3transfer.spec b/python-s3transfer.spec index 353f961..235a834 100644 --- a/python-s3transfer.spec +++ b/python-s3transfer.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-s3transfer Version: 0.3.3 Release: 0