From 754106e512e7db5afd7c54e4b59afad7c7a663f71626fb3c0bf0f2ca90818615 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 8 Aug 2022 09:09:12 +0000 Subject: [PATCH] - refresh previously empty acc_update-argcomplete.patch OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-core?expand=0&rev=89 --- acc_disable-update-check.patch | 9 +++++---- acc_update-argcomplete.patch | 14 ++++++++++++++ azure-cli-core.changes | 2 +- azure-cli-core.spec | 2 ++ 4 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 acc_update-argcomplete.patch diff --git a/acc_disable-update-check.patch b/acc_disable-update-check.patch index d24e7f0..dfa87dd 100644 --- a/acc_disable-update-check.patch +++ b/acc_disable-update-check.patch @@ -1,7 +1,8 @@ -diff -Nru azure-cli-core-2.18.0.orig/azure/cli/core/util.py azure-cli-core-2.18.0/azure/cli/core/util.py ---- azure-cli-core-2.18.0.orig/azure/cli/core/util.py 2021-01-15 10:50:35.000000000 +0100 -+++ azure-cli-core-2.18.0/azure/cli/core/util.py 2021-01-21 10:32:01.708270048 +0100 -@@ -439,20 +439,7 @@ +Index: azure-cli-core-2.39.0/azure/cli/core/util.py +=================================================================== +--- azure-cli-core-2.39.0.orig/azure/cli/core/util.py ++++ azure-cli-core-2.39.0/azure/cli/core/util.py +@@ -485,20 +485,7 @@ def show_updates_available(new_line_befo def show_updates(updates_available_components, only_show_when_updates_available=False): diff --git a/acc_update-argcomplete.patch b/acc_update-argcomplete.patch new file mode 100644 index 0000000..89e138e --- /dev/null +++ b/acc_update-argcomplete.patch @@ -0,0 +1,14 @@ + +Index: azure-cli-core-2.39.0/setup.py +=================================================================== +--- azure-cli-core-2.39.0.orig/setup.py ++++ azure-cli-core-2.39.0/setup.py +@@ -43,7 +43,7 @@ CLASSIFIERS = [ + ] + + DEPENDENCIES = [ +- 'argcomplete~=1.8', ++ 'argcomplete>=1.8.0', + 'azure-cli-telemetry==1.0.7.*', + 'azure-mgmt-core>=1.2.0,<2', + 'cryptography', diff --git a/azure-cli-core.changes b/azure-cli-core.changes index 49522af..ab3d607 100644 --- a/azure-cli-core.changes +++ b/azure-cli-core.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Mon Aug 8 07:55:56 UTC 2022 - Dirk Müller -- drop empty acc_update-argcomplete.patch +- refresh previously empty acc_update-argcomplete.patch ------------------------------------------------------------------- Thu Aug 4 11:24:00 UTC 2022 - John Paul Adrian Glaubitz diff --git a/azure-cli-core.spec b/azure-cli-core.spec index 650c136..f919500 100644 --- a/azure-cli-core.spec +++ b/azure-cli-core.spec @@ -26,6 +26,7 @@ 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 Patch0: acc_disable-update-check.patch +Patch1: acc_update-argcomplete.patch BuildRequires: azure-cli-nspkg BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -76,6 +77,7 @@ Microsoft Azure CLI Core Module %prep %setup -q -n azure-cli-core-%{version} %patch0 -p1 +%patch1 -p1 %build install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version}