From a83ccb5a6c0f346b31ee26df550190df288796f4f462c76205fb3e0db230ea39 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 26 Nov 2020 16:23:56 +0000 Subject: [PATCH] - Only build Python3 flavors for distributions 15 and greater OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-adal?expand=0&rev=11 --- python-adal.changes | 5 +++++ python-adal.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/python-adal.changes b/python-adal.changes index 9b66c5d..80902bb 100644 --- a/python-adal.changes +++ b/python-adal.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert + +- Only build Python3 flavors for distributions 15 and greater + ------------------------------------------------------------------- Fri Nov 20 11:59:56 UTC 2020 - John Paul Adrian Glaubitz diff --git a/python-adal.spec b/python-adal.spec index a04aff4..1f3aa88 100644 --- a/python-adal.spec +++ b/python-adal.spec @@ -17,6 +17,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif Name: python-adal Version: 1.2.5 Release: 0