From 3c7b9808e9723b44b6535c5544616509ce5091de6c2aa5c0ac33e3fdd481db72 Mon Sep 17 00:00:00 2001
From: John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
Date: Mon, 7 Oct 2019 10:14:16 +0000
Subject: [PATCH] Accepting request 735248 from
 home:glaubitz:branches:devel:languages:python:azure

- Update Python Azure SDK to latest version

OBS-URL: https://build.opensuse.org/request/show/735248
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-servermanager?expand=0&rev=8
---
 ams_drop-compatible-releases-operator.patch | 12 ------------
 python-azure-mgmt-servermanager.changes     |  7 +++++++
 python-azure-mgmt-servermanager.spec        |  2 --
 3 files changed, 7 insertions(+), 14 deletions(-)
 delete mode 100644 ams_drop-compatible-releases-operator.patch

diff --git a/ams_drop-compatible-releases-operator.patch b/ams_drop-compatible-releases-operator.patch
deleted file mode 100644
index d0efa98..0000000
--- a/ams_drop-compatible-releases-operator.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nru azure-mgmt-servermanager-2.0.0.orig/setup.py azure-mgmt-servermanager-2.0.0/setup.py
---- azure-mgmt-servermanager-2.0.0.orig/setup.py	2018-05-29 19:49:26.000000000 +0200
-+++ azure-mgmt-servermanager-2.0.0/setup.py	2018-09-05 14:25:51.691050949 +0200
-@@ -78,7 +78,7 @@
-     packages=find_packages(exclude=["tests"]),
-     install_requires=[
-         'msrestazure>=0.4.27,<2.0.0',
--        'azure-common~=1.1',
-+        'azure-common>=1.1',
-     ],
-     cmdclass=cmdclass
- )
diff --git a/python-azure-mgmt-servermanager.changes b/python-azure-mgmt-servermanager.changes
index 1779ff9..adb638c 100644
--- a/python-azure-mgmt-servermanager.changes
+++ b/python-azure-mgmt-servermanager.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Fri Oct  4 12:19:59 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
+
+- Drop patch to support older versions of setuptools as
+  SLE-12 is now shipping with a recent enough version
+  + ams_drop-compatible-releases-operator.patch
+
 -------------------------------------------------------------------
 Mon Apr 15 09:12:55 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
 
diff --git a/python-azure-mgmt-servermanager.spec b/python-azure-mgmt-servermanager.spec
index 0508c6c..1fa3e3a 100644
--- a/python-azure-mgmt-servermanager.spec
+++ b/python-azure-mgmt-servermanager.spec
@@ -26,7 +26,6 @@ Group:          Development/Languages/Python
 Url:            https://github.com/Azure/azure-sdk-for-python
 Source:         https://files.pythonhosted.org/packages/source/a/azure-mgmt-servermanager/azure-mgmt-servermanager-%{version}.zip
 Source1:        LICENSE.txt
-Patch1:         ams_drop-compatible-releases-operator.patch
 BuildRequires:  %{python_module azure-mgmt-nspkg >= 3.0.0}
 BuildRequires:  %{python_module azure-nspkg >= 3.0.0}
 BuildRequires:  %{python_module setuptools}
@@ -55,7 +54,6 @@ This package has been tested with Python 2.7, 3.4, 3.5 and 3.6.
 
 %prep
 %setup -q -n azure-mgmt-servermanager-%{version}
-%patch1 -p1
 
 %build
 install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-servermanager-%{version}