From e2c19d461a19065705c5473ddf544886a520ffe3cda5825a61372bcaaae551ee Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 16 Jul 2024 11:23:56 +0000 Subject: [PATCH] - New upstream release + Version 4.0.0b18 + For detailed information about changes see the CHANGELOG.md file provided with this package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-sql?expand=0&rev=61 --- .gitattributes | 23 +++ .gitignore | 1 + LICENSE.txt | 21 ++ azure-mgmt-sql-4.0.0b17.tar.gz | 3 + azure-mgmt-sql-4.0.0b18.tar.gz | 3 + python-azure-mgmt-sql.changes | 354 +++++++++++++++++++++++++++++++++ python-azure-mgmt-sql.spec | 80 ++++++++ 7 files changed, 485 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 azure-mgmt-sql-4.0.0b17.tar.gz create mode 100644 azure-mgmt-sql-4.0.0b18.tar.gz create mode 100644 python-azure-mgmt-sql.changes create mode 100644 python-azure-mgmt-sql.spec 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/azure-mgmt-sql-4.0.0b17.tar.gz b/azure-mgmt-sql-4.0.0b17.tar.gz new file mode 100644 index 0000000..dab5bea --- /dev/null +++ b/azure-mgmt-sql-4.0.0b17.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8bd54d6d82774e0cd445bb5862b5f0f9ecf8b9b2bb047dfdfc420be64a9bf578 +size 564616 diff --git a/azure-mgmt-sql-4.0.0b18.tar.gz b/azure-mgmt-sql-4.0.0b18.tar.gz new file mode 100644 index 0000000..80e81f3 --- /dev/null +++ b/azure-mgmt-sql-4.0.0b18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9090dc250a9d574715e2b093a40fbc121adf35c188e662fc5d1c7a50e9298431 +size 565119 diff --git a/python-azure-mgmt-sql.changes b/python-azure-mgmt-sql.changes new file mode 100644 index 0000000..bc32a7a --- /dev/null +++ b/python-azure-mgmt-sql.changes @@ -0,0 +1,354 @@ +------------------------------------------------------------------- +Tue Jul 16 09:21:39 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b18 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Tue May 21 08:20:35 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b17 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Tue Apr 9 07:50:40 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b16 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Apr 4 13:04:39 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 + +------------------------------------------------------------------- +Thu Jan 11 08:08:35 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b15 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Tue Jan 2 09:27:02 UTC 2024 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b14 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Nov 20 16:24:33 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b13 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Fri Sep 1 07:53:49 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b12 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Remove unzip package from BuildRequires +- Switch source archive format to TAR.GZ + +------------------------------------------------------------------- +Thu Aug 31 08:46:03 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b11 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Apr 17 12:05:40 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b10 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Mar 27 07:19:38 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b9 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Feb 20 10:50:11 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b8 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Jan 30 15:02:58 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b7 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Jan 2 10:05:54 UTC 2023 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b6 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Mon Nov 28 12:27:35 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b5 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Nov 1 09:44:53 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b4 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Oct 13 17:34:06 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b3 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Tue Apr 12 10:35:12 UTC 2022 - John Paul Adrian Glaubitz + +- New upstream release + + Version 4.0.0b2 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jul 22 10:16:01 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 3.0.1 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Thu Jul 1 13:05:38 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 3.0.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Update Requires from setup.py + +------------------------------------------------------------------- +Thu Jan 7 09:02:35 UTC 2021 - John Paul Adrian Glaubitz + +- New upstream release + + Version 1.0.0 + + 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:34:28 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.24.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Wed Sep 23 10:58:16 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.21.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Fri Aug 28 11:10:16 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.20.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Mon Jul 20 11:12:25 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.19.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package + +------------------------------------------------------------------- +Thu Apr 2 14:31:16 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.18.0 + + For detailed information about changes see the + CHANGELOG.md file provided with this package +- Rename HISTORY.rst to CHANGELOG.md in %files section +- Rename README.rst to README.md in %files section + +------------------------------------------------------------------- +Tue Jan 7 10:36:22 UTC 2020 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.16.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package + +------------------------------------------------------------------- +Wed Nov 27 15:39:03 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.15.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package + +------------------------------------------------------------------- +Fri Oct 4 12:20:16 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.13.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Drop patches to support older versions of setuptools as + SLE-12 is now shipping with a recent enough version + + ams_drop-compatible-releases-operator.patch + + ams_drop-extras-require.patch +- Update %description from setup.py + +------------------------------------------------------------------- +Mon Apr 15 09:16:37 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.11.0 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Add patch to drop extras_require field from setup.py, + required for SLES12 as the setuptools version is too old + + ams_drop-extras-require.patch +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Refresh patches for new version + + ams_drop-compatible-releases-operator.patch +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Update %description from setup.py +- Update BuildRequires and Requires from setup.py + +------------------------------------------------------------------- +Thu Sep 6 11:43:44 UTC 2018 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.9.1 + + For detailed information about changes see the + HISTORY.txt file provided with this package +- Refresh patches for new version + + ams_drop-compatible-releases-operator.patch +- Update Requires from setup.py + +------------------------------------------------------------------- +Wed Apr 11 14:26:59 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 0.8.6 +- Move LICENSE.txt from %doc to %license section + +------------------------------------------------------------------- +Thu Jan 25 13:27:35 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 0.8.5 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Update %description from README.rst +- Update Requires from setup.py +- Refresh patches for new version + + ams_drop-compatible-releases-operator.patch + +------------------------------------------------------------------- +Fri Jan 19 14:16:42 UTC 2018 - adrian.glaubitz@suse.com + +- New upstream release + + Version 0.8.4 + + For detailed information about changes see the + HISTORY.rst file provided with this package +- Install HISTORY.rst into doc directory + +------------------------------------------------------------------- +Wed Oct 4 15:43:36 UTC 2017 - adrian.glaubitz@suse.com + +- Add namespace packages to BuildRequires +- Remove namespace files in %install target +- Explicitly specify Python files of the package in %files + +------------------------------------------------------------------- +Mon Oct 2 07:24:56 UTC 2017 - adrian.glaubitz@suse.com + +- New upstream release + + Version 0.8.0 +- Remove versioning for namespace packages in Requires +- Update Requires from setup.py +- Update %description from README.rst +- Refresh patches for new version + + ams_drop-compatible-releases-operator.patch + +------------------------------------------------------------------- +Fri Jul 14 12:24:09 UTC 2017 - adrian.glaubitz@suse.com + +- Add python-azure-nspkg to Requires +- Add python-azure-mgmt-nspkg to Requires + +------------------------------------------------------------------- +Mon Jul 3 11:13:56 UTC 2017 - adrian.glaubitz@suse.com + +- Initial build + + Version 0.7.1 +- Add patch to drop compatible releases operator from setup.py, + required for SLES12 as the setuptools version is too old + + ams_drop-compatible-releases-operator.patch diff --git a/python-azure-mgmt-sql.spec b/python-azure-mgmt-sql.spec new file mode 100644 index 0000000..4a6cead --- /dev/null +++ b/python-azure-mgmt-sql.spec @@ -0,0 +1,80 @@ +# +# spec file for package python-azure-mgmt-sql +# +# 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-sql +Version: 4.0.0b18 +Release: 0 +Summary: Microsoft Azure SQL Management Client 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-sql/azure-mgmt-sql-%{version}.tar.gz +Source1: LICENSE.txt +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-common >= 1.1 with python-azure-common < 2.0.0) +Requires: (python-azure-mgmt-core >= 1.3.2 with python-azure-mgmt-core < 2.0.0) +Requires: (python-isodate >= 0.6.1 with python-isodate < 1.0.0) +Conflicts: python-azure-sdk <= 2.0.0 +%if 0%{?sle_version} >= 150400 +Obsoletes: python3-azure-mgmt-sql < 4.0.0b15 +%endif +BuildArch: noarch + +%python_subpackages + +%description +This is the Microsoft Azure SQL Management Client Library. + +Azure Resource Manager (ARM) is the next generation of management APIs that +replace the old Azure Service Management (ASM). + +This package has been tested with Python 2.7, 3.5, 3.6 and 3.7. + +%prep +%setup -q -n azure-mgmt-sql-%{version} + +%build +install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-sql-%{version} +%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.txt +%{python_sitelib}/azure/mgmt/sql +%{python_sitelib}/azure_mgmt_sql-*.dist-info + +%changelog