Accepting request 853926 from devel:languages:python:azure

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853926
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-edgegateway?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2020-12-09 21:18:11 +00:00 committed by Git OBS Bridge
commit 2568977233
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
- Only build Python3 flavors for distributions 15 and greater
-------------------------------------------------------------------
Fri Oct 4 12:16:36 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -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