summaryrefslogtreecommitdiff
path: root/python-azure-common.spec
diff options
context:
space:
mode:
Diffstat (limited to 'python-azure-common.spec')
-rw-r--r--python-azure-common.spec595
1 files changed, 595 insertions, 0 deletions
diff --git a/python-azure-common.spec b/python-azure-common.spec
new file mode 100644
index 0000000..74506d9
--- /dev/null
+++ b/python-azure-common.spec
@@ -0,0 +1,595 @@
+%global _empty_manifest_terminate_build 0
+Name: python-azure-common
+Version: 1.1.28
+Release: 1
+Summary: Microsoft Azure Client Library for Python (Common)
+License: MIT License
+URL: https://github.com/Azure/azure-sdk-for-python
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/3e/71/f6f71a276e2e69264a97ad39ef850dca0a04fce67b12570730cb38d0ccac/azure-common-1.1.28.zip
+BuildArch: noarch
+
+Requires: python3-azure-nspkg
+
+%description
+# Microsoft Azure SDK for Python
+
+This is the Microsoft Azure common code.
+
+This package provides shared code by the Azure packages.
+
+If you are looking to install the Azure client libraries, refer to the main Github repository:
+https://github.com/Azure/azure-sdk-for-python
+
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-common%2FREADME.png)
+
+
+# Release History
+
+## 1.1.28 (2022-02-03)
+
+- Raise a NotImplementedError if trying to use CLI credentials were CLI version is higher than 2.21.0 #20657 #21313
+- Deprecate all methods that needs access to CLI code using azure-cli-core, since this package is no longer importable as public API
+
+## 1.1.27 (2021-03-23)
+
+- Deprecate JSON and auth file client factory #15075
+- Add 2020-09-01-hybrid profile definition #14642
+
+## 1.1.26 (2020-11-10)
+
+- get_client_from_cli_profile now supports azure-applicationinsights 0.1.0 package
+
+## 1.1.25 (2020-03-09)
+
+- get_client_from_cli_profile no longer requires "azure-core" if not necessary
+
+## 1.1.24 (2019-12-18)
+
+- get_client_from_cli_profile now supports KV 4.x, Storage 12.x, AppConfig and all packages based on azure-core
+
+## 1.1.23 (2019-06-24)
+
+- Add Monitor into Profile v2019_03_01_hybrid (requires azure-mgmt-monitor >= 0.7.0)
+
+## 1.1.22 (2019-06-06)
+
+- Fix KeyVaultClient support for get_client_from_auth_file
+
+## 1.1.21 (2019-05-21)
+
+- Fix compute support in profile v2019_03_01_hybrid
+
+## 1.1.20 (2019-04-30)
+
+- Add support for profile v2019_03_01_hybrid
+- Fix profile v2018_03_01_hybrid for DNS definition
+
+## 1.1.19 (2019-04-18)
+
+- Azure Stack support for get_client_from_auth_file and get_client_from_json_dict
+
+## 1.1.18 (2019-01-29)
+
+- Remove deprecated extra dependencies
+
+## 1.1.17 (2019-01-15)
+
+- Fix KeyVaultClient creation with get_client_from_cli_profile
+
+Thanks to patrikn for the contribution
+
+## 1.1.16 (2018-09-26)
+
+- azure-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
+
+## 1.1.15 (2018-09-13)
+
+**Features**
+
+- Adding profile v2018-03-01-hybrid definition
+
+## 1.1.14 (2018-07-23)
+
+**Features**
+
+- Adding KeyVault to profile v2017_03_09_profile
+
+## 1.1.13 (2018-07-03)
+
+**Features**
+
+- get_azure_cli_credentials has a new parameter "with_tenant" to get default CLI tenant ID
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports the "azure-graphrbac" package #2867
+- get_client_from_auth_file now supports the "azure-graphrbac" package #2867
+
+## 1.1.12 (2018-05-29)
+
+**Features**
+
+- Add Authorization profile definition
+
+## 1.1.11 (2018-05-08)
+
+**Features**
+
+- Add support for "resource" in "get_azure_cli_credentials"
+
+## 1.1.10 (2018-04-30)
+
+**Bugfixes**
+
+- Fix MultiApiClientMixin.__init__ to be a real mixin
+
+## 1.1.9 (2018-04-03)
+
+**Features**
+
+- Add "azure.profiles" namespace #2247
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports Datalake #2318
+
+## 1.1.8 (2017-07-28)
+
+**Bugfix**
+
+- Fix get_client_from_auth_file and get_client_from_json_dict on Python 2.7
+
+Thank you to @jayden-at-arista for the contribution.
+
+## 1.1.7 (2017-07-19)
+
+- Adds azure.common.client_factory.get_client_from_auth_file
+- Adds azure.common.client_factory.get_client_from_json_dict
+
+## 1.1.6 (2017-05-16)
+
+- Adds azure.common.client_factory.get_client_from_cli_profile
+
+## 1.1.5 (2017-04-11)
+
+- "extra_requires" autorest is deprecated and should not be used anymore
+- This wheel package is now built with the azure wheel extension
+
+## 1.1.4 (2016-05-25)
+
+- Support for msrest/msrestazure 0.4.x series
+- Drop support for msrest/msrestazure 0.3.x series
+
+## 1.1.3 (2016-04-26)
+
+- Support for msrest/msrestazure 0.3.x series
+- Drop support for msrest/msrestazure 0.2.x series
+
+## 1.1.2 (2016-03-28)
+
+- Support for msrest/msrestazure 0.2.x series
+- Drop support for msrest/msrestazure 0.1.x series
+
+## 1.1.1 (2016-03-07)
+
+- Move msrestazure depency as "extra_requires"
+
+## 1.1.0 (2016-03-04)
+
+- Support for msrest/msrestazure 0.1.x series
+- Adds alias from msrestazure.azure_active_directory.* to azure.common.credentials
+
+## 1.0.0 (2015-08-31)
+
+Initial release, extracted from azure==0.11.1
+
+
+
+
+%package -n python3-azure-common
+Summary: Microsoft Azure Client Library for Python (Common)
+Provides: python-azure-common
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-azure-common
+# Microsoft Azure SDK for Python
+
+This is the Microsoft Azure common code.
+
+This package provides shared code by the Azure packages.
+
+If you are looking to install the Azure client libraries, refer to the main Github repository:
+https://github.com/Azure/azure-sdk-for-python
+
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-common%2FREADME.png)
+
+
+# Release History
+
+## 1.1.28 (2022-02-03)
+
+- Raise a NotImplementedError if trying to use CLI credentials were CLI version is higher than 2.21.0 #20657 #21313
+- Deprecate all methods that needs access to CLI code using azure-cli-core, since this package is no longer importable as public API
+
+## 1.1.27 (2021-03-23)
+
+- Deprecate JSON and auth file client factory #15075
+- Add 2020-09-01-hybrid profile definition #14642
+
+## 1.1.26 (2020-11-10)
+
+- get_client_from_cli_profile now supports azure-applicationinsights 0.1.0 package
+
+## 1.1.25 (2020-03-09)
+
+- get_client_from_cli_profile no longer requires "azure-core" if not necessary
+
+## 1.1.24 (2019-12-18)
+
+- get_client_from_cli_profile now supports KV 4.x, Storage 12.x, AppConfig and all packages based on azure-core
+
+## 1.1.23 (2019-06-24)
+
+- Add Monitor into Profile v2019_03_01_hybrid (requires azure-mgmt-monitor >= 0.7.0)
+
+## 1.1.22 (2019-06-06)
+
+- Fix KeyVaultClient support for get_client_from_auth_file
+
+## 1.1.21 (2019-05-21)
+
+- Fix compute support in profile v2019_03_01_hybrid
+
+## 1.1.20 (2019-04-30)
+
+- Add support for profile v2019_03_01_hybrid
+- Fix profile v2018_03_01_hybrid for DNS definition
+
+## 1.1.19 (2019-04-18)
+
+- Azure Stack support for get_client_from_auth_file and get_client_from_json_dict
+
+## 1.1.18 (2019-01-29)
+
+- Remove deprecated extra dependencies
+
+## 1.1.17 (2019-01-15)
+
+- Fix KeyVaultClient creation with get_client_from_cli_profile
+
+Thanks to patrikn for the contribution
+
+## 1.1.16 (2018-09-26)
+
+- azure-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
+
+## 1.1.15 (2018-09-13)
+
+**Features**
+
+- Adding profile v2018-03-01-hybrid definition
+
+## 1.1.14 (2018-07-23)
+
+**Features**
+
+- Adding KeyVault to profile v2017_03_09_profile
+
+## 1.1.13 (2018-07-03)
+
+**Features**
+
+- get_azure_cli_credentials has a new parameter "with_tenant" to get default CLI tenant ID
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports the "azure-graphrbac" package #2867
+- get_client_from_auth_file now supports the "azure-graphrbac" package #2867
+
+## 1.1.12 (2018-05-29)
+
+**Features**
+
+- Add Authorization profile definition
+
+## 1.1.11 (2018-05-08)
+
+**Features**
+
+- Add support for "resource" in "get_azure_cli_credentials"
+
+## 1.1.10 (2018-04-30)
+
+**Bugfixes**
+
+- Fix MultiApiClientMixin.__init__ to be a real mixin
+
+## 1.1.9 (2018-04-03)
+
+**Features**
+
+- Add "azure.profiles" namespace #2247
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports Datalake #2318
+
+## 1.1.8 (2017-07-28)
+
+**Bugfix**
+
+- Fix get_client_from_auth_file and get_client_from_json_dict on Python 2.7
+
+Thank you to @jayden-at-arista for the contribution.
+
+## 1.1.7 (2017-07-19)
+
+- Adds azure.common.client_factory.get_client_from_auth_file
+- Adds azure.common.client_factory.get_client_from_json_dict
+
+## 1.1.6 (2017-05-16)
+
+- Adds azure.common.client_factory.get_client_from_cli_profile
+
+## 1.1.5 (2017-04-11)
+
+- "extra_requires" autorest is deprecated and should not be used anymore
+- This wheel package is now built with the azure wheel extension
+
+## 1.1.4 (2016-05-25)
+
+- Support for msrest/msrestazure 0.4.x series
+- Drop support for msrest/msrestazure 0.3.x series
+
+## 1.1.3 (2016-04-26)
+
+- Support for msrest/msrestazure 0.3.x series
+- Drop support for msrest/msrestazure 0.2.x series
+
+## 1.1.2 (2016-03-28)
+
+- Support for msrest/msrestazure 0.2.x series
+- Drop support for msrest/msrestazure 0.1.x series
+
+## 1.1.1 (2016-03-07)
+
+- Move msrestazure depency as "extra_requires"
+
+## 1.1.0 (2016-03-04)
+
+- Support for msrest/msrestazure 0.1.x series
+- Adds alias from msrestazure.azure_active_directory.* to azure.common.credentials
+
+## 1.0.0 (2015-08-31)
+
+Initial release, extracted from azure==0.11.1
+
+
+
+
+%package help
+Summary: Development documents and examples for azure-common
+Provides: python3-azure-common-doc
+%description help
+# Microsoft Azure SDK for Python
+
+This is the Microsoft Azure common code.
+
+This package provides shared code by the Azure packages.
+
+If you are looking to install the Azure client libraries, refer to the main Github repository:
+https://github.com/Azure/azure-sdk-for-python
+
+
+![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-common%2FREADME.png)
+
+
+# Release History
+
+## 1.1.28 (2022-02-03)
+
+- Raise a NotImplementedError if trying to use CLI credentials were CLI version is higher than 2.21.0 #20657 #21313
+- Deprecate all methods that needs access to CLI code using azure-cli-core, since this package is no longer importable as public API
+
+## 1.1.27 (2021-03-23)
+
+- Deprecate JSON and auth file client factory #15075
+- Add 2020-09-01-hybrid profile definition #14642
+
+## 1.1.26 (2020-11-10)
+
+- get_client_from_cli_profile now supports azure-applicationinsights 0.1.0 package
+
+## 1.1.25 (2020-03-09)
+
+- get_client_from_cli_profile no longer requires "azure-core" if not necessary
+
+## 1.1.24 (2019-12-18)
+
+- get_client_from_cli_profile now supports KV 4.x, Storage 12.x, AppConfig and all packages based on azure-core
+
+## 1.1.23 (2019-06-24)
+
+- Add Monitor into Profile v2019_03_01_hybrid (requires azure-mgmt-monitor >= 0.7.0)
+
+## 1.1.22 (2019-06-06)
+
+- Fix KeyVaultClient support for get_client_from_auth_file
+
+## 1.1.21 (2019-05-21)
+
+- Fix compute support in profile v2019_03_01_hybrid
+
+## 1.1.20 (2019-04-30)
+
+- Add support for profile v2019_03_01_hybrid
+- Fix profile v2018_03_01_hybrid for DNS definition
+
+## 1.1.19 (2019-04-18)
+
+- Azure Stack support for get_client_from_auth_file and get_client_from_json_dict
+
+## 1.1.18 (2019-01-29)
+
+- Remove deprecated extra dependencies
+
+## 1.1.17 (2019-01-15)
+
+- Fix KeyVaultClient creation with get_client_from_cli_profile
+
+Thanks to patrikn for the contribution
+
+## 1.1.16 (2018-09-26)
+
+- azure-nspkg is not installed anymore on Python 3 (PEP420-based namespace package)
+
+## 1.1.15 (2018-09-13)
+
+**Features**
+
+- Adding profile v2018-03-01-hybrid definition
+
+## 1.1.14 (2018-07-23)
+
+**Features**
+
+- Adding KeyVault to profile v2017_03_09_profile
+
+## 1.1.13 (2018-07-03)
+
+**Features**
+
+- get_azure_cli_credentials has a new parameter "with_tenant" to get default CLI tenant ID
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports the "azure-graphrbac" package #2867
+- get_client_from_auth_file now supports the "azure-graphrbac" package #2867
+
+## 1.1.12 (2018-05-29)
+
+**Features**
+
+- Add Authorization profile definition
+
+## 1.1.11 (2018-05-08)
+
+**Features**
+
+- Add support for "resource" in "get_azure_cli_credentials"
+
+## 1.1.10 (2018-04-30)
+
+**Bugfixes**
+
+- Fix MultiApiClientMixin.__init__ to be a real mixin
+
+## 1.1.9 (2018-04-03)
+
+**Features**
+
+- Add "azure.profiles" namespace #2247
+
+**Bugfixes**
+
+- get_client_from_cli_profile now supports Datalake #2318
+
+## 1.1.8 (2017-07-28)
+
+**Bugfix**
+
+- Fix get_client_from_auth_file and get_client_from_json_dict on Python 2.7
+
+Thank you to @jayden-at-arista for the contribution.
+
+## 1.1.7 (2017-07-19)
+
+- Adds azure.common.client_factory.get_client_from_auth_file
+- Adds azure.common.client_factory.get_client_from_json_dict
+
+## 1.1.6 (2017-05-16)
+
+- Adds azure.common.client_factory.get_client_from_cli_profile
+
+## 1.1.5 (2017-04-11)
+
+- "extra_requires" autorest is deprecated and should not be used anymore
+- This wheel package is now built with the azure wheel extension
+
+## 1.1.4 (2016-05-25)
+
+- Support for msrest/msrestazure 0.4.x series
+- Drop support for msrest/msrestazure 0.3.x series
+
+## 1.1.3 (2016-04-26)
+
+- Support for msrest/msrestazure 0.3.x series
+- Drop support for msrest/msrestazure 0.2.x series
+
+## 1.1.2 (2016-03-28)
+
+- Support for msrest/msrestazure 0.2.x series
+- Drop support for msrest/msrestazure 0.1.x series
+
+## 1.1.1 (2016-03-07)
+
+- Move msrestazure depency as "extra_requires"
+
+## 1.1.0 (2016-03-04)
+
+- Support for msrest/msrestazure 0.1.x series
+- Adds alias from msrestazure.azure_active_directory.* to azure.common.credentials
+
+## 1.0.0 (2015-08-31)
+
+Initial release, extracted from azure==0.11.1
+
+
+
+
+%prep
+%autosetup -n azure-common-1.1.28
+
+%build
+%py3_build
+
+%install
+%py3_install
+install -d -m755 %{buildroot}/%{_pkgdocdir}
+if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
+if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-azure-common -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 1.1.28-1
+- Package Spec generated