diff --git a/LICENSE b/LICENSE.txt similarity index 92% rename from LICENSE rename to LICENSE.txt index a236c74..f9e87f7 100644 --- a/LICENSE +++ b/LICENSE.txt @@ -1,6 +1,6 @@ -MIT License +The MIT License (MIT) -Copyright (c) 2016 Microsoft Corporation +Copyright (c) 2016 Microsoft Corporation. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/ac_use-python3-by-default.patch b/ac_use-python3-by-default.patch index 447d46b..0ae84d4 100644 --- a/ac_use-python3-by-default.patch +++ b/ac_use-python3-by-default.patch @@ -3,7 +3,7 @@ diff -Nru azure-cli-2.0.77.orig/az azure-cli-2.0.77/az +++ azure-cli-2.0.77/az 2019-11-26 11:55:29.693046152 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python -+#!/usr/bin/python3 ++#!/usr/bin/env python3 import sys import os diff --git a/azure-cli-2.23.0.tar.gz b/azure-cli-2.23.0.tar.gz new file mode 100644 index 0000000..db4ad85 --- /dev/null +++ b/azure-cli-2.23.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd3c993100722a37a886cce393320c6bfc22dc6093748558e00b1c404cfa4c54 +size 1829771 diff --git a/azure-cli-2.24.2.tar.gz b/azure-cli-2.24.2.tar.gz deleted file mode 100644 index ab6595d..0000000 --- a/azure-cli-2.24.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:52e70648f0611f07428ff3c44f74dab64fb6af083e7153032e6ed07cb663c302 -size 1876805 diff --git a/azure-cli.changes b/azure-cli.changes index f288778..6e3aa7a 100644 --- a/azure-cli.changes +++ b/azure-cli.changes @@ -1,31 +1,3 @@ -------------------------------------------------------------------- -Fri Jun 4 10:48:21 UTC 2021 - Ferdinand Thiessen - -- Update to version 2.24.2 - + Hotfix: `az container create` fails - + Hotfix: webapp config appsettings set command causing all values - to default to "false" - + Hotfix: Fix the bad request issue when creating VMSS in Azure Stack - + BREAKING CHANGE: `az webapp list-runtimes`: Add Dotnet6 support - and update runtimes - + BREAKING CHANGE: `az hdinsight create`: Use getting default sku api - to set workernode and headnode size if customer does not provide. - + Support Python 3.9 - + BREAKING CHANGE: `az sf cluster certificate`: Remove all commands - under this group. - + BREAKING CHANGE: `az sf managed-service update`: Remove deprecated - parameters --drop-source-replica-on-move, --service-dns-name, - --drop-source-replica-on-move and -instance-close-delay-duration. - + BREAKING CHANGE: `az sf cluster`: Rename parameter - --vault-resource-group to --vault-rg. - + BREAKING CHANGE: `az storage share-rm delete`: Raise error when - there are snapshots for target file share and add `--include` to - specify deleting target file share and its snapshots - + For detailed information about changes see the HISTORY.rst file - provided with this package -- Update ac_use-python3-by-default.patch -- Include upstream license - ------------------------------------------------------------------- Mon May 10 16:01:27 UTC 2021 - John Paul Adrian Glaubitz diff --git a/azure-cli.spec b/azure-cli.spec index c502a03..9317c55 100644 --- a/azure-cli.spec +++ b/azure-cli.spec @@ -26,16 +26,20 @@ %define name_ext -test %endif -%define short_name azure-cli +%if !%{?_test} +Name: azure-cli +%else Name: azure-cli%{?name_ext} -Version: 2.24.2 +%endif +%define short_name azure-cli +Version: 2.23.0 Release: 0 Summary: Microsoft Azure CLI 2.0 License: MIT Group: System/Management URL: https://github.com/Azure/azure-cli Source: https://files.pythonhosted.org/packages/source/a/azure-cli/azure-cli-%{version}.tar.gz -Source1: https://raw.githubusercontent.com/Azure/azure-cli/azure-cli-%{version}/LICENSE +Source1: LICENSE.txt Patch1: ac_use-python3-by-default.patch %if 0%{?_test} BuildRequires: %{short_name} = %{version} @@ -75,8 +79,8 @@ Requires: python3-azure-mgmt-compute >= 20.0.0 Requires: python3-azure-mgmt-consumption >= 2.0 Requires: python3-azure-mgmt-containerinstance >= 1.4 Requires: python3-azure-mgmt-containerregistry >= 3.0.0rc17 -Requires: python3-azure-mgmt-containerservice >= 11.2.0 -Requires: python3-azure-mgmt-cosmosdb >= 6.3.0 +Requires: python3-azure-mgmt-containerservice >= 11.1.0 +Requires: python3-azure-mgmt-cosmosdb >= 6.2.0 Requires: python3-azure-mgmt-databoxedge >= 0.2.0 Requires: python3-azure-mgmt-datalake-analytics >= 0.2.1 Requires: python3-azure-mgmt-datalake-store >= 0.5.0 @@ -102,9 +106,9 @@ Requires: python3-azure-mgmt-media >= 3.0.0 Requires: python3-azure-mgmt-monitor >= 2.0.0 Requires: python3-azure-mgmt-msi >= 0.2 Requires: python3-azure-mgmt-netapp >= 2.0.0 -Requires: python3-azure-mgmt-network >= 19.0.0 +Requires: python3-azure-mgmt-network >= 18.0.0 Requires: python3-azure-mgmt-policyinsights >= 0.5.0 -Requires: python3-azure-mgmt-privatedns >= 1.0.0 +Requires: python3-azure-mgmt-privatedns >= 0.1.0 Requires: python3-azure-mgmt-rdbms >= 8.1.0b4 Requires: python3-azure-mgmt-recoveryservices >= 0.4.0 Requires: python3-azure-mgmt-recoveryservicesbackup >= 0.11.0 @@ -112,16 +116,16 @@ Requires: python3-azure-mgmt-redhatopenshift >= 0.1.0 Requires: python3-azure-mgmt-redis >= 7.0.0rc1 Requires: python3-azure-mgmt-relay >= 0.1.0 Requires: python3-azure-mgmt-reservations >= 0.6.0 -Requires: python3-azure-mgmt-resource >= 18.0.0 +Requires: python3-azure-mgmt-resource >= 12.1.0 Requires: python3-azure-mgmt-search >= 8.0 Requires: python3-azure-mgmt-security >= 0.6.0 -Requires: python3-azure-mgmt-servicebus >= 6.0.0 +Requires: python3-azure-mgmt-servicebus >= 0.6.0 Requires: python3-azure-mgmt-servicefabric >= 0.5.0 Requires: python3-azure-mgmt-servicefabricmanagedclusters >= 1.0.0 Requires: python3-azure-mgmt-signalr >= 0.4.0 Requires: python3-azure-mgmt-sql >= 0.26.0 Requires: python3-azure-mgmt-sqlvirtualmachine >= 0.5.0 -Requires: python3-azure-mgmt-storage >= 18.0.0 +Requires: python3-azure-mgmt-storage >= 17.1.0 Requires: python3-azure-mgmt-synapse >= 0.6.0 Requires: python3-azure-mgmt-trafficmanager >= 0.51.0 Requires: python3-azure-mgmt-web >= 2.0.0 @@ -301,8 +305,9 @@ rm -rf %{buildroot}%{python3_sitelib}/azure/__pycache__ %files %if !%{?_test} -%license LICENSE +%defattr(-,root,root,-) %doc HISTORY.rst README.rst +%license LICENSE.txt %{_bindir}/az %{_datadir}/bash-completion/completions/az %exclude /usr/bin/az.bat