diff --git a/acc_drop-compatible-releases-operator.patch b/acc_drop-compatible-releases-operator.patch new file mode 100644 index 0000000..957bd26 --- /dev/null +++ b/acc_drop-compatible-releases-operator.patch @@ -0,0 +1,12 @@ +diff -Nru azure-cli-core-2.0.64.orig/setup.py azure-cli-core-2.0.64/setup.py +--- azure-cli-core-2.0.64.orig/setup.py 2019-05-02 02:39:57.000000000 +0200 ++++ azure-cli-core-2.0.64/setup.py 2019-05-21 11:40:55.175850572 +0200 +@@ -59,7 +59,7 @@ + 'colorama>=0.3.9', + 'humanfriendly>=4.7', + 'jmespath', +- 'knack~=0.6.1', ++ 'knack>=0.6.1', + 'msrest>=0.4.4', + 'msrestazure>=0.4.25', + 'paramiko>=2.0.8', diff --git a/acc_relax-requires-versions.patch b/acc_relax-requires-versions.patch index ef3a655..d82bc33 100644 --- a/acc_relax-requires-versions.patch +++ b/acc_relax-requires-versions.patch @@ -1,12 +1,14 @@ -diff -Nru azure-cli-core-2.0.58.orig/setup.py azure-cli-core-2.0.58/setup.py ---- azure-cli-core-2.0.58.orig/setup.py 2019-02-12 03:05:13.000000000 +0100 -+++ azure-cli-core-2.0.58/setup.py 2019-02-25 11:08:07.980756709 +0100 -@@ -71,7 +71,7 @@ - 'pyyaml>=4.2b1', +diff -Nru azure-cli-core-2.0.64.orig/setup.py azure-cli-core-2.0.64/setup.py +--- azure-cli-core-2.0.64.orig/setup.py 2019-05-21 11:42:59.840812713 +0200 ++++ azure-cli-core-2.0.64/setup.py 2019-05-21 11:43:25.317009318 +0200 +@@ -71,8 +71,8 @@ 'requests>=2.20.0', 'six', -- 'tabulate>=0.7.7,<=0.8.2', -+ 'tabulate>=0.7.7', - 'wheel==0.30.0', - 'azure-mgmt-resource==2.1.0' + 'tabulate>=0.7.7', +- 'wheel==0.30.0', +- 'azure-mgmt-resource==2.1.0', ++ 'wheel>=0.30.0', ++ 'azure-mgmt-resource>=2.1.0', + 'pyperclip>=1.7.0', + 'psutil>=5.6.1' ] diff --git a/azure-cli-core-2.0.58.tar.gz b/azure-cli-core-2.0.58.tar.gz deleted file mode 100644 index 5caef0a..0000000 --- a/azure-cli-core-2.0.58.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bbd53826c77f08d8077fe1e335b55d747c95392248e518cb7179115bc6717e78 -size 95838 diff --git a/azure-cli-core-2.0.64.tar.gz b/azure-cli-core-2.0.64.tar.gz new file mode 100644 index 0000000..a9f7cb2 --- /dev/null +++ b/azure-cli-core-2.0.64.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25e68a66e69da651e398d09987a0c441972cce3edb665b6e8a279b4af419b5e9 +size 106555 diff --git a/azure-cli-core.changes b/azure-cli-core.changes index f3211e9..f772414 100644 --- a/azure-cli-core.changes +++ b/azure-cli-core.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue May 21 09:47:09 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.64 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Add patch to drop compatible releases operator from setup.py, + required for SLES12 as the setuptools version is too old + + acc_drop-compatible-releases-operator.patch +- Refresh patches for new version + + acc_relax-requires-versions.patch +- Update Requires from setup.py + ------------------------------------------------------------------- Tue Apr 16 14:08:23 UTC 2019 - John Paul Adrian Glaubitz diff --git a/azure-cli-core.spec b/azure-cli-core.spec index 44893dc..6ebf2a1 100644 --- a/azure-cli-core.spec +++ b/azure-cli-core.spec @@ -17,7 +17,7 @@ Name: azure-cli-core -Version: 2.0.58 +Version: 2.0.64 Release: 0 Summary: Microsoft Azure CLI Core Module License: MIT @@ -25,7 +25,8 @@ Group: System/Management Url: https://github.com/Azure/azure-cli Source: https://files.pythonhosted.org/packages/source/a/azure-cli-core/azure-cli-core-%{version}.tar.gz Source1: LICENSE.txt -Patch: acc_relax-requires-versions.patch +Patch1: acc_drop-compatible-releases-operator.patch +Patch2: acc_relax-requires-versions.patch BuildRequires: azure-cli-nspkg BuildRequires: fdupes BuildRequires: python3-azure-nspkg >= 3.0.0 @@ -33,7 +34,7 @@ BuildRequires: python3-setuptools Requires: azure-cli-nspkg Requires: azure-cli-telemetry Requires: python3-PyJWT -Requires: python3-PyYAML >= 4.2b1 +Requires: python3-PyYAML Requires: python3-adal >= 1.2.0 Requires: python3-argcomplete >= 1.8.0 Requires: python3-azure-mgmt-resource >= 2.1.0 @@ -41,13 +42,16 @@ Requires: python3-azure-nspkg >= 3.0.0 Requires: python3-colorama >= 0.3.9 Requires: python3-humanfriendly >= 4.7 Requires: python3-jmespath -Requires: python3-knack >= 0.5.1 +Requires: python3-knack < 1.0.0 +Requires: python3-knack >= 0.6.1 Requires: python3-msrest >= 0.4.4 Requires: python3-msrestazure >= 0.4.25 Requires: python3-paramiko >= 2.0.8 Requires: python3-pip +Requires: python3-psutil >= 5.6.1 Requires: python3-pyOpenSSL >= 17.1.0 Requires: python3-pygments +Requires: python3-pyperclip >= 1.7.0 Requires: python3-requests >= 2.20.0 Requires: python3-six Requires: python3-tabulate >= 0.7.7 @@ -64,7 +68,8 @@ Microsoft Azure CLI Core Module %prep %setup -q -n azure-cli-core-%{version} -%patch -p1 +%patch1 -p1 +%patch2 -p1 %build install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}