commit 03048e38d4b2ab1f66789abe3bb8d865559acb028a426e0243c3ef2e743f4dfb Author: John Paul Adrian Glaubitz Date: Wed Jul 24 18:16:48 2024 +0000 - Add patch to update python-psutil dependency + acc_update-psutil.patch - Update Requires from setup.py OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-core?expand=0&rev=146 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..f9e87f7 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +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 +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/acc_disable-update-check.patch b/acc_disable-update-check.patch new file mode 100644 index 0000000..7dd3bb8 --- /dev/null +++ b/acc_disable-update-check.patch @@ -0,0 +1,24 @@ +diff -Nru azure-cli-core-2.40.0.orig/azure/cli/core/util.py azure-cli-core-2.40.0/azure/cli/core/util.py +--- azure-cli-core-2.40.0.orig/azure/cli/core/util.py 2022-09-02 07:40:04.000000000 +0200 ++++ azure-cli-core-2.40.0/azure/cli/core/util.py 2022-09-16 11:13:11.938223294 +0200 +@@ -485,19 +485,7 @@ + + + def show_updates(updates_available_components, only_show_when_updates_available=False): +- if updates_available_components is None: +- if not only_show_when_updates_available: +- logger.warning('Unable to check if your CLI is up-to-date. Check your internet connection.') +- elif updates_available_components: # pylint: disable=too-many-nested-blocks +- if in_cloud_console(): +- warning_msg = 'You have %i update(s) available. They will be updated with the next build of Cloud Shell.' +- else: +- warning_msg = "You have %i update(s) available." +- if CLI_PACKAGE_NAME in updates_available_components: +- warning_msg = "{} Consider updating your CLI installation with 'az upgrade'".format(warning_msg) +- logger.warning(warning_msg, len(updates_available_components)) +- elif not only_show_when_updates_available: +- print('Your CLI is up-to-date.') ++ return + + + def get_json_object(json_string): diff --git a/acc_update-psutil.patch b/acc_update-psutil.patch new file mode 100644 index 0000000..ec7bf85 --- /dev/null +++ b/acc_update-psutil.patch @@ -0,0 +1,12 @@ +diff -Nru azure_cli_core-2.62.0.orig/setup.py azure_cli_core-2.62.0/setup.py +--- azure_cli_core-2.62.0.orig/setup.py 2024-07-04 04:23:33.000000000 +0200 ++++ azure_cli_core-2.62.0/setup.py 2024-07-19 16:27:28.767852656 +0200 +@@ -59,7 +59,7 @@ + 'paramiko>=2.0.8,<4.0.0', + 'pkginfo>=1.5.0.1', + # psutil can't install on cygwin: https://github.com/Azure/azure-cli/issues/9399 +- 'psutil~=5.9; sys_platform != "cygwin"', ++ 'psutil>=5.9; sys_platform != "cygwin"', + 'PyJWT>=2.1.0', + 'pyopenssl>=17.1.0', # https://github.com/pyca/pyopenssl/pull/612 + 'requests[socks]' diff --git a/azure-cli-core.changes b/azure-cli-core.changes new file mode 100644 index 0000000..93c4839 --- /dev/null +++ b/azure-cli-core.changes @@ -0,0 +1,722 @@ +------------------------------------------------------------------- +Fri Jul 19 14:27:53 UTC 2024 - John Paul Adrian Glaubitz + +- Add patch to update python-psutil dependency + + acc_update-psutil.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Jul 9 06:58:52 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.62.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed May 22 10:11:07 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.61.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Add azure-cli namespace directory in %files section +- Remove deletion of azure-cli namespace files +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon May 6 09:13:27 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.60.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Adjust upstream source name in spec file +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Apr 9 07:27:11 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.59.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Apr 4 13:16:20 UTC 2024 - John Paul Adrian Glaubitz + +- Switch package to modern Python Stack on SLE-15 + + Use Python 3.11 on SLE-15 by default + + Use primary Python version on Tumbleweed + + Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + + Add python-pip and python-wheel to BuildRequires + + Replace %python_build with %pyproject_wheel + + Replace %python_install with %pyproject_install + + Update name for dist directory in %files section + +------------------------------------------------------------------- +Wed Mar 6 12:12:11 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.58.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Feb 20 11:17:40 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN. + +------------------------------------------------------------------- +Wed Feb 7 09:42:58 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.57.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jan 18 14:21:30 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.56.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Jan 3 10:03:07 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.55.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Nov 15 11:42:18 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.54.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Mon Oct 30 11:17:22 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.53.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Oct 4 10:29:37 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.53.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Sep 7 12:25:28 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.52.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Mon Aug 14 14:26:18 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.51.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jul 6 07:37:46 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.50.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Drop patches for issues fixed upstream + + acc_update-argcomplete.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed May 24 07:01:14 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.49.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Add patch to update argcomplete dependency (bsc#1206869) + + acc_update-argcomplete.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed May 3 11:09:12 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.48.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Apr 4 08:45:43 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.47.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Mar 7 11:57:51 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release (bsc#1199592) + + Version 2.46.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Feb 9 21:04:52 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.45.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Jan 18 12:58:41 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.44.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Jan 10 09:38:44 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.44.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Drop patches for issues fixed upstream + + acc_update-argcomplete.patch +- Relax version dependency for python-packaging + in BuildRequires (bsc#1206869) + +------------------------------------------------------------------- +Tue Dec 6 08:26:50 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.43.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Nov 1 09:35:52 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.42.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Thu Oct 13 08:09:02 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.41.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Sep 16 09:40:28 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.40.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Refresh patches for new version + + acc_disable-update-check.patch + + acc_update-argcomplete.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Aug 8 07:55:56 UTC 2022 - Dirk Müller + +- refresh previously empty acc_update-argcomplete.patch + +------------------------------------------------------------------- +Thu Aug 4 11:24:00 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.39.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +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 + +- New upstream release + + Version 2.38.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue May 24 10:45:33 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.37.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Apr 26 11:03:48 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.36.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Apr 12 09:06:15 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.35.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Mar 7 11:03:18 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.34.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Feb 23 12:07:09 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.33.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Fri Feb 11 10:32:28 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.33.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Mon Jan 10 10:41:50 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.32.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Dec 7 08:28:16 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.31.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Remove bogus python-PyYAML dependency from Requires (bsc#1193394) +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Nov 8 09:23:42 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.30.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Oct 15 07:53:25 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.29.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Sep 10 09:11:43 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.28.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Aug 25 11:13:53 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.27.2 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Fri Aug 6 12:01:39 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.27.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Jul 13 12:53:05 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.26.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jul 1 09:50:28 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release (bsc#1187881) + + Version 2.25.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed Jun 9 15:31:24 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.24.2 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon May 10 16:00:53 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.23.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Mar 25 12:55:03 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.21.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jan 21 15:11:04 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.18.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Rework patch to disable automatic check for updates to + fix a crash when calling "az --version" (bsc#1180930) + + acc_disable-update-check.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Jan 8 14:34:26 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.17.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Wed Dec 16 15:31:24 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.16.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Refresh patches for new version + + acc_disable-update-check.patch +- Update Requires from setup.py + + Temporarily use a vendored copy of azure-mgmt-resource + +------------------------------------------------------------------- +Wed Nov 18 11:55:02 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.15.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Nov 16 12:33:49 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.14.2 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Oct 13 09:35:54 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.13.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Override upstream version in Requires for python-azure-mgmt-resource + +------------------------------------------------------------------- +Wed Sep 30 12:53:01 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.12.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Add patch to disable automatic check for updates (boo#1175289) + + acc_disable-update-check.patch + +------------------------------------------------------------------- +Tue Sep 22 10:47:00 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release (bsc#1176784, bsc#1176785) + + Version 2.12.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Aug 31 12:10:04 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.11.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Aug 18 21:25:40 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release (boo#1175289) + + Version 2.10.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Jul 20 14:42:00 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.9.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed Jun 17 16:19:20 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.7.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu May 7 07:46:57 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.5.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Apr 2 09:32:24 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.3.1 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- +Tue Mar 10 12:47:29 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.2.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Feb 24 15:13:14 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.1.0 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Relax version dependency for python-humanfriendly in Requires +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jan 16 14:33:52 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.80 + + For detailed information about changes see the + HISTORY.rst file provided with this package + +------------------------------------------------------------------- +Tue Jan 7 10:52:54 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.79 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Jan 6 13:30:05 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.78 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Nov 28 14:47:20 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.77 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Oct 24 12:09:45 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.75 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Drop patch to support older versions of setuptools as + SLE-12 is now shipping with a recent enough version + + acc_drop-compatible-releases-operator.patch +- Drop patch to relax version requires in setup.py, it's + not required as the dependencies are managed by RPM + + acc_relax-requires-versions.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Jun 4 09:39:29 UTC 2019 - John Paul Adrian Glaubitz + +- Add missing python-rpm-macros package to BuildRequires +- Remove unneccesary %python_expand prefix from %fdupes call + +------------------------------------------------------------------- +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.rst 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 + +- New upstream release + + Version 2.0.58 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Bump minimum version for Python Azure SDK namespace + packages to 3.0.0 in BuildRequires and Requires +- Relax upper version for python-tabulate build dependency (boo#1125671) + + Cherry-pick fix from upstream to patch setup.py + * acc_relax-requires-versions.patch + + Remove upper version constraint in BuildRequires for python-tabulate +- Remove python3-devel package from BuildRequires +- Remove unzip package from BuildRequires +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update Requires from setup.py + +------------------------------------------------------------------- +Sun Mar 3 21:11:56 UTC 2019 - Robert Schweikert + +- Relax version requirement of tabluate, accept up to next minor version + +------------------------------------------------------------------- +Mon Oct 1 10:27:17 UTC 2018 - John Paul Adrian Glaubitz + +- New upstream release + + Version 2.0.45 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed May 2 13:41:48 UTC 2018 - adrian.glaubitz@suse.com + +- Fix typo in Requires: + + python3-PyOpenSSL => python3-pyOpenSSL + +------------------------------------------------------------------- +Mon Apr 23 07:40:56 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 2.0.31 +- Move LICENSE.txt from %doc to %license section +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Feb 8 15:16:31 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 2.0.26 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Install HISTORY.rst into doc directory +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed Sep 27 11:57:33 UTC 2017 - adrian.glaubitz@suse.com + +- Initial build + + Version 2.0.17 diff --git a/azure-cli-core.spec b/azure-cli-core.spec new file mode 100644 index 0000000..8677744 --- /dev/null +++ b/azure-cli-core.spec @@ -0,0 +1,98 @@ +# +# spec file for package azure-cli-core +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%if 0%{?suse_version} >= 1600 +%define pythons %{primary_python} +%else +%define pythons python311 +%endif +%global _sitelibdir %{%{pythons}_sitelib} + +Name: azure-cli-core +Version: 2.62.0 +Release: 0 +Summary: Microsoft Azure CLI Core Module +License: MIT +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 +Patch0: acc_disable-update-check.patch +Patch1: acc_update-psutil.patch +BuildRequires: %{pythons}-azure-nspkg >= 3.0.0 +BuildRequires: %{pythons}-pip +BuildRequires: %{pythons}-setuptools +BuildRequires: %{pythons}-wheel +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: %{pythons}-PyJWT >= 2.1.0 +Requires: %{pythons}-argcomplete < 4.0 +Requires: %{pythons}-argcomplete >= 3.3.0 +Requires: %{pythons}-azure-mgmt-core < 2.0.0 +Requires: %{pythons}-azure-mgmt-core >= 1.2.0 +Requires: %{pythons}-azure-nspkg >= 3.0.0 +Requires: %{pythons}-cryptography +Requires: %{pythons}-humanfriendly < 11.0 +Requires: %{pythons}-humanfriendly >= 10.0 +Requires: %{pythons}-jmespath +Requires: %{pythons}-knack < 1.0.0 +Requires: %{pythons}-knack >= 0.11.0 +Requires: %{pythons}-msal < 2.0.0 +Requires: %{pythons}-msal >= 1.28.1 +Requires: %{pythons}-msal-extensions < 2.0.0 +Requires: %{pythons}-msal-extensions >= 1.2.0~b1 +Requires: %{pythons}-msrestazure < 0.7.0 +Requires: %{pythons}-msrestazure >= 0.6.4 +Requires: %{pythons}-packaging >= 20.9 +Requires: %{pythons}-paramiko < 4.0.0 +Requires: %{pythons}-paramiko >= 2.0.8 +Requires: %{pythons}-pip +Requires: %{pythons}-pkginfo >= 1.5.0.1 +Requires: %{pythons}-psutil >= 5.9 +Requires: %{pythons}-pyOpenSSL >= 17.1.0 +Requires: %{pythons}-requests < 3.0.0 +Requires: %{pythons}-requests >= 2.25.1 +Requires: %{pythons}-wheel >= 0.30.0 +Requires: azure-cli-telemetry >= 1.1.0 +Conflicts: azure-cli < 2.0.0 + +BuildArch: noarch + +%description +Microsoft Azure CLI Core Module + +%prep +%autosetup -p1 -n azure_cli_core-%{version} + +%build +install -m 644 %{SOURCE1} %{_builddir}/azure-cli-core-%{version} +%pyproject_wheel + +%install +%pyproject_install +%fdupes %{buildroot}%{_sitelibdir} + +%files +%defattr(-,root,root,-) +%doc HISTORY.rst README.rst +%license LICENSE.txt +%dir %{_sitelibdir}/azure/cli +%{_sitelibdir}/azure/cli/core +%{_sitelibdir}/azure_cli_core-*.dist-info + +%changelog diff --git a/azure_cli_core-2.62.0.tar.gz b/azure_cli_core-2.62.0.tar.gz new file mode 100644 index 0000000..d1dc4c2 --- /dev/null +++ b/azure_cli_core-2.62.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:203dde70989ebfbb82c368a37d096f10adcf56873384652c83f3160728c03b71 +size 221546