From a16c5d186d5616c2e4bf173dc28345d7b083cee63a15a0ad8e82ddf2e020288d Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 30 Nov 2020 12:22:30 +0000 Subject: [PATCH] - Python 3 build only for 15 and greater distros OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-iothub?expand=0&rev=14 --- python-azure-mgmt-iothub.changes | 5 +++++ python-azure-mgmt-iothub.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-azure-mgmt-iothub.changes b/python-azure-mgmt-iothub.changes index 4ddb7fd..3a327c5 100644 --- a/python-azure-mgmt-iothub.changes +++ b/python-azure-mgmt-iothub.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert + +- Only build Python3 flavors for distributions 15 and greater + ------------------------------------------------------------------- Wed Jun 17 13:31:09 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-azure-mgmt-iothub.spec b/python-azure-mgmt-iothub.spec index 8291b54..c01f138 100644 --- a/python-azure-mgmt-iothub.spec +++ b/python-azure-mgmt-iothub.spec @@ -17,6 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif Name: python-azure-mgmt-iothub Version: 0.12.0 Release: 0