1
0

Accepting request 637991 from devel:languages:python:azure

- Update Python Azure SDK to 4.0.0

OBS-URL: https://build.opensuse.org/request/show/637991
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-servermanager?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2018-09-26 14:15:28 +00:00 committed by Git OBS Bridge
parent cdff5787ee
commit 80f64923e4
5 changed files with 31 additions and 20 deletions

View File

@ -1,14 +1,12 @@
diff -Nru azure-mgmt-servermanager-1.2.0.orig/setup.py azure-mgmt-servermanager-1.2.0/setup.py diff -Nru azure-mgmt-servermanager-2.0.0.orig/setup.py azure-mgmt-servermanager-2.0.0/setup.py
--- azure-mgmt-servermanager-1.2.0.orig/setup.py 2017-06-23 21:03:18.000000000 +0200 --- azure-mgmt-servermanager-2.0.0.orig/setup.py 2018-05-29 19:49:26.000000000 +0200
+++ azure-mgmt-servermanager-1.2.0/setup.py 2017-06-27 15:27:09.541941876 +0200 +++ azure-mgmt-servermanager-2.0.0/setup.py 2018-09-05 14:25:51.691050949 +0200
@@ -78,8 +78,8 @@ @@ -78,7 +78,7 @@
zip_safe=False, packages=find_packages(exclude=["tests"]),
packages=find_packages(),
install_requires=[ install_requires=[
- 'msrestazure~=0.4.8', 'msrestazure>=0.4.27,<2.0.0',
- 'azure-common~=1.1.6', - 'azure-common~=1.1',
+ 'msrestazure>=0.4.8', + 'azure-common>=1.1',
+ 'azure-common>=1.1.6',
], ],
cmdclass=cmdclass cmdclass=cmdclass
) )

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ac10b4481b66325db63a17397a7f1e8a8a9299a006cf89ac746338e943015f4
size 52066

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44558dc6a266d4059f1396765848d671e6fa2f48d37754dbea0cb6eadefe9559
size 73128

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Sep 5 12:26:55 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release 2.0.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
+ ams_drop-compatible-releases-operator.patch
- Update Requires from setup.py
- Update %description from setup.py
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 30 12:07:40 UTC 2018 - adrian.glaubitz@suse.com Tue Jan 30 12:07:40 UTC 2018 - adrian.glaubitz@suse.com

View File

@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-azure-mgmt-servermanager Name: python-azure-mgmt-servermanager
Version: 1.2.0 Version: 2.0.0
Release: 0 Release: 0
Summary: Microsoft Azure Server Manager Management Client Library Summary: Microsoft Azure Server Manager Management Client Library
License: MIT License: MIT
@ -34,11 +34,11 @@ BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
Requires: python-azure-common < 2.0.0 Requires: python-azure-common < 2.0.0
Requires: python-azure-common >= 1.1.6 Requires: python-azure-common >= 1.1
Requires: python-azure-mgmt-nspkg Requires: python-azure-mgmt-nspkg
Requires: python-azure-nspkg Requires: python-azure-nspkg
Requires: python-msrestazure < 1.0.0 Requires: python-msrestazure < 2.0.0
Requires: python-msrestazure >= 0.4.8 Requires: python-msrestazure >= 0.4.27
Conflicts: python-azure-sdk <= 2.0.0 Conflicts: python-azure-sdk <= 2.0.0
BuildArch: noarch BuildArch: noarch
@ -51,7 +51,7 @@ This is the Microsoft Azure Server Manager Management Client Library.
Azure Resource Manager (ARM) is the next generation of management APIs that Azure Resource Manager (ARM) is the next generation of management APIs that
replace the old Azure Service Management (ASM). 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 %prep
%setup -q -n azure-mgmt-servermanager-%{version} %setup -q -n azure-mgmt-servermanager-%{version}
@ -72,7 +72,8 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc HISTORY.rst LICENSE.txt README.rst %doc HISTORY.rst README.rst
%license LICENSE.txt
%{python_sitelib}/azure/mgmt/servermanager %{python_sitelib}/azure/mgmt/servermanager
%{python_sitelib}/azure_mgmt_servermanager-*.egg-info %{python_sitelib}/azure_mgmt_servermanager-*.egg-info