From df5a7583465c8eff97530fea5fa36b26cd82e7fbefaa39b19597ad9d421556a7 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 13 May 2018 13:59:53 +0000 Subject: [PATCH] Accepting request 599350 from devel:languages:python OBS-URL: https://build.opensuse.org/request/show/599350 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-network?expand=0&rev=3 --- amn_drop-compatible-releases-operator.patch | 16 +++++++--------- azure-mgmt-network-1.7.1.zip | 3 --- azure-mgmt-network-2.0.0rc2.zip | 3 +++ python-azure-mgmt-network.changes | 11 +++++++++++ python-azure-mgmt-network.spec | 11 ++++++----- 5 files changed, 27 insertions(+), 17 deletions(-) delete mode 100644 azure-mgmt-network-1.7.1.zip create mode 100644 azure-mgmt-network-2.0.0rc2.zip diff --git a/amn_drop-compatible-releases-operator.patch b/amn_drop-compatible-releases-operator.patch index c639b5a..f710c9f 100644 --- a/amn_drop-compatible-releases-operator.patch +++ b/amn_drop-compatible-releases-operator.patch @@ -1,14 +1,12 @@ -diff -Nru azure-mgmt-network-1.7.1.orig/setup.py azure-mgmt-network-1.7.1/setup.py ---- azure-mgmt-network-1.7.1.orig/setup.py 2017-12-20 17:39:42.000000000 +0100 -+++ azure-mgmt-network-1.7.1/setup.py 2018-01-19 13:43:35.483076015 +0100 -@@ -77,8 +77,8 @@ - zip_safe=False, +diff -Nru azure-mgmt-network-2.0.0rc2.orig/setup.py azure-mgmt-network-2.0.0rc2/setup.py +--- azure-mgmt-network-2.0.0rc2.orig/setup.py 2018-04-03 17:34:54.000000000 +0200 ++++ azure-mgmt-network-2.0.0rc2/setup.py 2018-04-11 16:07:35.253902485 +0200 +@@ -78,7 +78,7 @@ packages=find_packages(exclude=["tests"]), install_requires=[ -- 'msrestazure~=0.4.11', -- 'azure-common~=1.1', -+ 'msrestazure>=0.4.11', -+ 'azure-common>=1.1', + 'msrestazure>=0.4.20,<2.0.0', +- 'azure-common~=1.1,>=1.1.9', ++ 'azure-common>=1.1.9', ], cmdclass=cmdclass ) diff --git a/azure-mgmt-network-1.7.1.zip b/azure-mgmt-network-1.7.1.zip deleted file mode 100644 index 3022f89..0000000 --- a/azure-mgmt-network-1.7.1.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ddfff3dd31c7329b26f282615b719e7030c5206e56951daae4f180957c1e5201 -size 2370141 diff --git a/azure-mgmt-network-2.0.0rc2.zip b/azure-mgmt-network-2.0.0rc2.zip new file mode 100644 index 0000000..b8626c0 --- /dev/null +++ b/azure-mgmt-network-2.0.0rc2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56922cd31a80bd2568aeed7839a0207d9550feb54897bbb9a2a967fed9390abd +size 5074108 diff --git a/python-azure-mgmt-network.changes b/python-azure-mgmt-network.changes index 1534d41..47c4877 100644 --- a/python-azure-mgmt-network.changes +++ b/python-azure-mgmt-network.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Wed Apr 11 14:16:08 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 2.0.0rc2 +- Move LICENSE.txt from %doc to %license section +- Refresh patches for new version + + amn_drop-compatible-releases-operator.patch +- Update Requires from setup.py +- Update %description from setup.py + ------------------------------------------------------------------- Fri Jan 19 12:47:41 UTC 2018 - adrian.glaubitz@suse.com diff --git a/python-azure-mgmt-network.spec b/python-azure-mgmt-network.spec index 8f14953..bb1bbfa 100644 --- a/python-azure-mgmt-network.spec +++ b/python-azure-mgmt-network.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-mgmt-network -Version: 1.7.1 +Version: 2.0.0rc2 Release: 0 Summary: Microsoft Azure Network Management Client Library License: MIT @@ -37,8 +37,8 @@ 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-msrestazure < 2.0.0 +Requires: python-msrestazure >= 0.4.20 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -51,7 +51,7 @@ This is the Microsoft Azure Network 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 and 3.6. %prep %setup -q -n azure-mgmt-network-%{version} @@ -72,7 +72,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/network %{python_sitelib}/azure_mgmt_network-*.egg-info