From 186d8155b440755d3ffb8fae8a27062243b261a45c676ef2b0e1dbc6a5688cd2 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Thu, 26 Nov 2020 16:29:43 +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-azure-mgmt-datalake-nspkg?expand=0&rev=6 --- python-azure-mgmt-datalake-nspkg.changes | 5 +++++ python-azure-mgmt-datalake-nspkg.spec | 7 +++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/python-azure-mgmt-datalake-nspkg.changes b/python-azure-mgmt-datalake-nspkg.changes index aeea221..aa5eeed 100644 --- a/python-azure-mgmt-datalake-nspkg.changes +++ b/python-azure-mgmt-datalake-nspkg.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 Apr 12 09:46:48 UTC 2019 - John Paul Adrian Glaubitz diff --git a/python-azure-mgmt-datalake-nspkg.spec b/python-azure-mgmt-datalake-nspkg.spec index d11be10..84bdc9e 100644 --- a/python-azure-mgmt-datalake-nspkg.spec +++ b/python-azure-mgmt-datalake-nspkg.spec @@ -1,7 +1,7 @@ # # spec file for package python-azure-mgmt-datalake-nspkg # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,13 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif Name: python-azure-mgmt-datalake-nspkg Version: 3.0.1 Release: 0 Summary: Microsoft Azure Data Lake Management namespace package License: MIT Group: Development/Languages/Python -Url: https://github.com/Azure/azure-sdk-for-python +URL: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-datalake-nspkg/azure-mgmt-datalake-nspkg-%{version}.zip Source1: LICENSE.txt BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0}