Accepting request 1238242 from devel:languages:python:azure

- New upstream release
  + Version 1.4.1
  + For detailed information about changes see the
    CHANGELOG.md file provided with this package
- Adjust upstream source name in spec file
- Drop extra LICENSE.txt as upstream now ships its own
- Rename LICENSE.txt to LICENSE in %files section (forwarded request 1238204 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/1238242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-monitor-query?expand=0&rev=12
This commit is contained in:
Ana Guerrero 2025-01-16 17:34:41 +00:00 committed by Git OBS Bridge
commit abd34d43ad
5 changed files with 19 additions and 31 deletions

View File

@ -1,21 +0,0 @@
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.

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:699c6f3c5942f09da98cef273ffbb7403904ec43f93c0d63f10a367b4479e009
size 169290

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71824e2b577d25df0d3bebbbb054c06a1ae3ebcb91831a9bac0bb344d0addf68
size 162946

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jan 16 10:08:17 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 1.4.1
+ For detailed information about changes see the
CHANGELOG.md file provided with this package
- Adjust upstream source name in spec file
- Drop extra LICENSE.txt as upstream now ships its own
- Rename LICENSE.txt to LICENSE in %files section
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 12 08:34:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Wed Jun 12 08:34:26 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-azure-monitor-query # spec file for package python-azure-monitor-query
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,14 +18,13 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-azure-monitor-query Name: python-azure-monitor-query
Version: 1.4.0 Version: 1.4.1
Release: 0 Release: 0
Summary: Microsoft Azure Azure Monitor Query Client Library for Python Summary: Microsoft Azure Azure Monitor Query Client Library for Python
License: MIT License: MIT
Group: Development/Languages/Python Group: Development/Languages/Python
URL: https://github.com/Azure/azure-sdk-for-python URL: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-monitor-query/azure-monitor-query-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/a/azure_monitor_query/azure_monitor_query-%{version}.tar.gz
Source1: LICENSE.txt
BuildRequires: %{python_module azure-monitor-nspkg >= 1.0.0} BuildRequires: %{python_module azure-monitor-nspkg >= 1.0.0}
BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
@ -59,10 +58,9 @@ type. Telemetry such as events and traces are stored as logs in addition to perf
so that it can all be combined for analysis. so that it can all be combined for analysis.
%prep %prep
%setup -q -n azure-monitor-query-%{version} %setup -q -n azure_monitor_query-%{version}
%build %build
install -m 644 %{SOURCE1} %{_builddir}/azure-monitor-query-%{version}
%pyproject_wheel %pyproject_wheel
%install %install
@ -77,7 +75,7 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
%files %{python_files} %files %{python_files}
%doc CHANGELOG.md README.md %doc CHANGELOG.md README.md
%license LICENSE.txt %license LICENSE
%{python_sitelib}/azure/monitor/query %{python_sitelib}/azure/monitor/query
%{python_sitelib}/azure_monitor_query-*.dist-info %{python_sitelib}/azure_monitor_query-*.dist-info