commit 6cf4ed282f7d3aa9836b643aa8f5788eb6ba593ab58e4fd4a66aac87c5a17b07 Author: Adrian Schröter Date: Fri Feb 7 18:35:41 2025 +0100 Sync from SUSE:SLFO:Main python-azure-mgmt-core revision edfb80dc2ae658288d2104564b3ff047 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/azure_mgmt_core-1.5.0.tar.gz b/azure_mgmt_core-1.5.0.tar.gz new file mode 100644 index 0000000..17a726c --- /dev/null +++ b/azure_mgmt_core-1.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:380ae3dfa3639f4a5c246a7db7ed2d08374e88230fd0da3eb899f7c11e5c441a +size 32093 diff --git a/python-azure-mgmt-core.changes b/python-azure-mgmt-core.changes new file mode 100644 index 0000000..202ff39 --- /dev/null +++ b/python-azure-mgmt-core.changes @@ -0,0 +1,109 @@ +------------------------------------------------------------------- +Fri Nov 1 09:58:52 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.5.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Adjust upstream source name in spec file +- Remove leftover workaround for older Python versions + +------------------------------------------------------------------- +Thu Apr 4 12:55:51 UTC 2024 - John Paul Adrian Glaubitz + +- Switch package to modern Python Stack on SLE-15 + + Use Python 3.11 on SLE-15 by default + + Add Obsoletes for old python3 package on SLE-15 + + 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 +- Drop setting default file attributes in %files section +- Use modern RPM macros to express version dependencies + +------------------------------------------------------------------- +Mon Apr 17 08:34:04 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.4.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Aug 12 10:27:47 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.3.2 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Jun 17 06:55:58 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.3.1 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Remove temporary version override +- Update Requires from setup.py + +------------------------------------------------------------------- +Fri Jul 9 11:09:07 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.3.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Override upstream version with 1.3.0.0 to ensure + proper upgrade from previous version 1.3.0b3 + +------------------------------------------------------------------- +Tue Jun 8 10:37:41 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.3.0b3 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Mar 18 10:25:01 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.3.0b1 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert + +- Only build Python3 flavors for distributions 15 and greater + +------------------------------------------------------------------- +Thu Nov 12 12:29:45 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.2.2 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Aug 25 23:47:19 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.2.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Set LANG=en_US.UTF-8 for %build and %install to fix build on Python2 + +------------------------------------------------------------------- +Mon May 4 10:39:36 UTC 2020 - John Paul Adrian Glaubitz + +- Initial build + + Version 1.0.0 diff --git a/python-azure-mgmt-core.spec b/python-azure-mgmt-core.spec new file mode 100644 index 0000000..5464437 --- /dev/null +++ b/python-azure-mgmt-core.spec @@ -0,0 +1,77 @@ +# +# spec file for package python-azure-mgmt-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/ +# + + +%{?sle15_python_module_pythons} +Name: python-azure-mgmt-core +Version: 1.5.0 +Release: 0 +Summary: Microsoft Azure Management Core Library +License: MIT +Group: Development/Languages/Python +URL: https://github.com/Azure/azure-sdk-for-python +Source: https://files.pythonhosted.org/packages/source/a/azure_mgmt_core/azure_mgmt_core-%{version}.tar.gz +BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-azure-mgmt-nspkg >= 3.0.0 +Requires: python-azure-nspkg >= 3.0.0 +Requires: (python-azure-core >= 1.31.0 with python-azure-core < 2.0.0) +Conflicts: python-azure-sdk <= 2.0.0 +%if 0%{?sle_version} >= 150400 +Obsoletes: python3-azure-mgmt-core < 1.4.0 +%endif +BuildArch: noarch + +%python_subpackages + +%description +This is the Microsoft Azure Management Core Library. + +Azure management core library defines extensions to Azure Core that are specific +to ARM (Azure Resource Management) needed when you use client libraries. + +As an end user, you don't need to manually install azure-mgmt-core because it will +be installed automatically when you install other SDKs. + +%prep +%setup -q -n azure_mgmt_core-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand # delete common files +rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/mgmt/__pycache__ +rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__ +} + +%files %{python_files} +%doc CHANGELOG.md README.md +%license LICENSE.md +%{python_sitelib}/azure/mgmt/core +%{python_sitelib}/azure_mgmt_core-*.dist-info + +%changelog