From cbdfbc87b3eb29a7db33a7e9813f18a2ae3fda0c0afeefb456af2bf20b979173 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 22 Jul 2022 11:26:25 +0000 Subject: [PATCH] Accepting request 990512 from home:glaubitz:branches:Cloud:Tools - Add patch to update argcomplete dependency + acc_update-argcomplete.patch - Update Requires from setup.py OBS-URL: https://build.opensuse.org/request/show/990512 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-core?expand=0&rev=85 --- acc_update-argcomplete.patch | 0 azure-cli-core.changes | 7 +++++++ azure-cli-core.spec | 6 ++++-- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 acc_update-argcomplete.patch diff --git a/acc_update-argcomplete.patch b/acc_update-argcomplete.patch new file mode 100644 index 0000000..473a0f4 diff --git a/azure-cli-core.changes b/azure-cli-core.changes index fdbaf64..e8ba7e0 100644 --- a/azure-cli-core.changes +++ b/azure-cli-core.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Jul 21 08:41:45 UTC 2022 - John Paul Adrian Glaubitz + +- Add patch to update argcomplete dependency + + acc_update-argcomplete.patch +- Update Requires from setup.py + ------------------------------------------------------------------- Tue Jul 5 07:58:43 UTC 2022 - John Paul Adrian Glaubitz diff --git a/azure-cli-core.spec b/azure-cli-core.spec index 659cdc7..abddc40 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 @@ -34,8 +35,8 @@ BuildRequires: python3-setuptools Requires: azure-cli-nspkg Requires: azure-cli-telemetry >= 1.0.6 Requires: python3-PyJWT >= 2.1.0 -Requires: python3-argcomplete < 2.0 -Requires: python3-argcomplete >= 1.8 +Requires: python3-argcomplete < 3.0 +Requires: python3-argcomplete >= 2.0 Requires: python3-azure-mgmt-core < 2.0.0 Requires: python3-azure-mgmt-core >= 1.2.0 Requires: python3-azure-nspkg >= 3.0.0 @@ -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}