%define scl rh-python36 %{?scl:%scl_package %{name}} %{!?scl:%global pkg_name %{name}} %define _unpackaged_files_terminate_build 0 %define name azure-mgmt-storage %define version 3.1.0 %define unmangled_version 3.1.0 %define unmangled_version 3.1.0 %define release 2 Summary: Microsoft Azure Storage Management Client Library for Python %{?scl:Requires: %{scl}-runtime} %{?scl:BuildRequires: %{scl}-runtime} Name: %{?scl_prefix}azure-mgmt-storage Version: %{version} Release: %{release} Source0: azure-mgmt-storage-%{unmangled_version}.zip License: MIT License Group: Development/Libraries BuildRoot: %{_tmppath}/azure-mgmt-storage-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch Vendor: Microsoft Corporation Packager: Martin Juhl Url: https://github.com/Azure/azure-sdk-for-python %description Microsoft Azure SDK for Python ============================== This is the Microsoft Azure Storage 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. For the older Azure Service Management (ASM) libraries, see `azure-servicemanagement-legacy `__ library. For a more complete set of Azure libraries, see the `azure `__ bundle package. Compatibility ============= **IMPORTANT**: If you have an earlier version of the azure package (version < 1.0), you should uninstall it before installing this package. You can check the version using pip: .. code:: shell pip freeze If you see azure==0.11.0 (or any version below 1.0), uninstall it first: .. code:: shell pip uninstall azure Usage ===== For code examples, see `Storage Resource Management `__ on readthedocs.org. Provide Feedback ================ If you encounter any bugs or have suggestions, please file an issue in the `Issues `__ section of the project. .. :changelog: Release History =============== 1.5.0 (2017-12-12) ++++++++++++++++++ **Features** - Add StorageV2 as valid kind - Add official support for API version 2017-10-01 1.4.0 (2017-09-26) ++++++++++++++++++ **Bug fixes** - Add skus operations group to the generic client **Features** - Add official support for API version 2016-01-01 1.3.0 (2017-09-08) ++++++++++++++++++ **Features** - Adds list_skus operation (2017-06-01) **Breaking changes** - Rename the preview attribute "network_acls" to "network_rule_set" 1.2.1 (2017-08-14) ++++++++++++++++++ **Bugfixes** - Remove "tests" packaged by mistake (#1365) 1.2.0 (2017-07-19) ++++++++++++++++++ **Features** - Api version 2017-06-01 is now the default - This API version adds Network ACLs objects (2017-06-01 as preview) 1.1.0 (2017-06-28) ++++++++++++++++++ - Added support for https traffic only (2016-12-01) 1.0.0 (2017-05-15) ++++++++++++++++++ - Tag 1.0.0rc1 as stable (same content) 1.0.0rc1 (2017-04-11) +++++++++++++++++++++ **Features** To help customers with sovereign clouds (not general Azure), this version has official multi ApiVersion support for 2015-06-15 and 2016-12-01 0.31.0 (2017-01-19) +++++++++++++++++++ * New `list_account_sas` operation * New `list_service_sas` operation * Name syntax are now checked before RestAPI call, not the server (exception changed) Based on API version 2016-12-01. 0.30.0 (2016-11-14) +++++++++++++++++++ * Initial release. Based on API version 2016-01-01 Note that this is the same content as 0.30.0rc6, committed as 0.30.0. 0.20.0 (2015-08-31) +++++++++++++++++++ * Initial preview release. Based on API version 2015-05-01-preview. %prep %{?scl:scl enable %{scl} - << \EOF} set -ex %setup -n azure-mgmt-storage-%{unmangled_version} -n azure-mgmt-storage-%{unmangled_version} %{?scl:EOF} %build %{?scl:scl enable %{scl} - << \EOF} set -ex python3 setup.py build %{?scl:EOF} %install %{?scl:scl enable %{scl} - << \EOF} set -ex python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %{?scl:EOF} cat INSTALLED_FILES |grep -v "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/azure/__pycache__" |grep -v "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/azure/__init__.py" |grep -v "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/azure/mgmt/__pycache__" |grep -v "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/azure/mgmt/__init__.py" > INSTALLED_FILES_WITHOUT_COMMON_PYCACHE %clean %{?scl:scl enable %{scl} - << \EOF} set -ex rm -rf $RPM_BUILD_ROOT %{?scl:EOF} %files -f INSTALLED_FILES_WITHOUT_COMMON_PYCACHE %defattr(-,root,root)