From 9177f1cce47acc780f1c15b0a51193c628c9640ca685c593a627cbeeda689230 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 26 Sep 2018 14:14:20 +0000 Subject: [PATCH] Accepting request 637966 from devel:languages:python:azure - Update Python Azure SDK to 4.0.0 OBS-URL: https://build.opensuse.org/request/show/637966 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-iothub?expand=0&rev=3 --- ami_drop-compatible-releases-operator.patch | 14 ++++++-------- azure-mgmt-iothub-0.4.0.zip | 3 --- azure-mgmt-iothub-0.6.0.zip | 3 +++ python-azure-mgmt-iothub.changes | 13 +++++++++++++ python-azure-mgmt-iothub.spec | 12 +++++++----- 5 files changed, 29 insertions(+), 16 deletions(-) delete mode 100644 azure-mgmt-iothub-0.4.0.zip create mode 100644 azure-mgmt-iothub-0.6.0.zip diff --git a/ami_drop-compatible-releases-operator.patch b/ami_drop-compatible-releases-operator.patch index a1c56b9..f5811b2 100644 --- a/ami_drop-compatible-releases-operator.patch +++ b/ami_drop-compatible-releases-operator.patch @@ -1,13 +1,11 @@ -diff -Nru azure-mgmt-iothub-0.4.0.orig/setup.py azure-mgmt-iothub-0.4.0/setup.py ---- azure-mgmt-iothub-0.4.0.orig/setup.py 2017-10-11 17:50:14.000000000 +0200 -+++ azure-mgmt-iothub-0.4.0/setup.py 2018-01-19 11:49:45.979780528 +0100 -@@ -78,8 +78,8 @@ - zip_safe=False, - packages=find_packages(exclude=["tests"]), +diff -Nru azure-mgmt-iothub-0.6.0.orig/setup.py azure-mgmt-iothub-0.6.0/setup.py +--- azure-mgmt-iothub-0.6.0.orig/setup.py 2018-08-27 22:09:50.000000000 +0200 ++++ azure-mgmt-iothub-0.6.0/setup.py 2018-09-06 15:59:25.071868961 +0200 +@@ -80,7 +80,7 @@ install_requires=[ -- 'msrestazure~=0.4.11', + 'msrest>=0.5.0', + 'msrestazure>=0.4.32,<2.0.0', - 'azure-common~=1.1', -+ 'msrestazure>=0.4.11', + 'azure-common>=1.1', ], cmdclass=cmdclass diff --git a/azure-mgmt-iothub-0.4.0.zip b/azure-mgmt-iothub-0.4.0.zip deleted file mode 100644 index 75a6b03..0000000 --- a/azure-mgmt-iothub-0.4.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:65ff5bf8cc6096ab468ba444d64b501366218af15f937f0ce14173fadbc1653d -size 71088 diff --git a/azure-mgmt-iothub-0.6.0.zip b/azure-mgmt-iothub-0.6.0.zip new file mode 100644 index 0000000..7b26f13 --- /dev/null +++ b/azure-mgmt-iothub-0.6.0.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a95b20466572f331f884d3e8cd5f159b3924b9ffd9069439b3afcfe6ad388434 +size 136991 diff --git a/python-azure-mgmt-iothub.changes b/python-azure-mgmt-iothub.changes index 71c5fa4..52b732b 100644 --- a/python-azure-mgmt-iothub.changes +++ b/python-azure-mgmt-iothub.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Sep 6 14:01:48 UTC 2018 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.6.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Move LICENSE.txt from %doc to %license section +- Refresh patches for new version + + ami_drop-compatible-releases-operator.patch +- Update Requires from setup.py +- Update %description from setup.py + ------------------------------------------------------------------- Fri Jan 19 10:50:59 UTC 2018 - adrian.glaubitz@suse.com diff --git a/python-azure-mgmt-iothub.spec b/python-azure-mgmt-iothub.spec index 7d5f2fc..e060df6 100644 --- a/python-azure-mgmt-iothub.spec +++ b/python-azure-mgmt-iothub.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-mgmt-iothub -Version: 0.4.0 +Version: 0.6.0 Release: 0 Summary: Microsoft Azure IoTHub Management Client Library License: MIT @@ -37,8 +37,9 @@ Requires: python-azure-common < 2.0.0 Requires: python-azure-common >= 1.1 Requires: python-azure-mgmt-nspkg Requires: python-azure-nspkg -Requires: python-msrestazure < 1.0.0 -Requires: python-msrestazure >= 0.4.11 +Requires: python-msrest >= 0.5.0 +Requires: python-msrestazure < 2.0.0 +Requires: python-msrestazure >= 0.4.32 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -51,7 +52,7 @@ This is the Microsoft Azure IoTHub Management Client Library. Azure Resource Manager (ARM) is the next generation of management APIs that replace the old Azure Service Management (ASM). -This package has been tested with Python 2.7, 3.3, 3.4, 3.5 and 3.6. +This package has been tested with Python 2.7, 3.4, 3.5, 3.6 and 3.7. %prep %setup -q -n azure-mgmt-iothub-%{version} @@ -72,7 +73,8 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ %files %{python_files} %defattr(-,root,root,-) -%doc HISTORY.rst LICENSE.txt README.rst +%doc HISTORY.rst README.rst +%license LICENSE.txt %{python_sitelib}/azure/mgmt/iothub %{python_sitelib}/azure_mgmt_iothub-*.egg-info