diff --git a/python-azure-mgmt-edgegateway.changes b/python-azure-mgmt-edgegateway.changes index d046d6a..36ae904 100644 --- a/python-azure-mgmt-edgegateway.changes +++ b/python-azure-mgmt-edgegateway.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 Oct 4 12:16:36 UTC 2019 - John Paul Adrian Glaubitz diff --git a/python-azure-mgmt-edgegateway.spec b/python-azure-mgmt-edgegateway.spec index e73085b..c36d166 100644 --- a/python-azure-mgmt-edgegateway.spec +++ b/python-azure-mgmt-edgegateway.spec @@ -1,7 +1,7 @@ # # spec file for package python-azure-mgmt-edgegateway # -# 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 @@ -15,14 +15,18 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif Name: python-azure-mgmt-edgegateway Version: 0.1.0 Release: 0 Summary: Microsoft Azure Data Box Edge / Data Box Gateway Client Library 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-edgegateway/azure-mgmt-edgegateway-%{version}.zip Source1: LICENSE.txt BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0} @@ -31,13 +35,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip +Requires: python-azure-common < 2.0.0 +Requires: python-azure-common >= 1.1 Requires: python-azure-mgmt-nspkg >= 3.0.0 Requires: python-azure-nspkg >= 3.0.0 Requires: python-msrest >= 0.5.0 -Requires: python-msrestazure >= 0.4.32 Requires: python-msrestazure < 2.0.0 -Requires: python-azure-common >= 1.1 -Requires: python-azure-common < 2.0.0 +Requires: python-msrestazure >= 0.4.32 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -75,4 +79,5 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ %license LICENSE.txt %{python_sitelib}/azure/mgmt/edgegateway %{python_sitelib}/azure_mgmt_edgegateway-*.egg-info + %changelog