17
0

Compare commits

2 Commits

Author SHA256 Message Date
6f3a58b9c0 Accepting request 1294814 from devel:languages:python:azure
OBS-URL: https://build.opensuse.org/request/show/1294814
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-digitaltwins-core?expand=0&rev=4
2025-07-21 18:01:47 +00:00
90a9b6e9f7 - New upstream release
+ Version 1.3.0
  + 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
- Remove unzip package from BuildRequires
- Rename LICENSE.txt to LICENSE in %files section
- Switch source archive format to TAR.GZ
- Update Requires from setup.py

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-digitaltwins-core?expand=0&rev=8
2025-07-21 12:28:15 +00:00
5 changed files with 24 additions and 34 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:607d5a2771dfbbd1ae79392bc9eb8b6d5b93bbaaa74fe14ca23ac2b25a0a3dce
size 138482

View File

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

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Jul 18 12:20:52 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- New upstream release
+ Version 1.3.0
+ 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
- Remove unzip package from BuildRequires
- Rename LICENSE.txt to LICENSE in %files section
- Switch source archive format to TAR.GZ
- Update Requires from setup.py
-------------------------------------------------------------------
Thu Apr 4 12:51:33 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-azure-digitaltwins-core
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-azure-digitaltwins-core
Version: 1.2.0
Version: 1.3.0
Release: 0
Summary: Azure Azure Digital Twins Core client library for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/Azure/azure-sdk-for-python
Source: https://files.pythonhosted.org/packages/source/a/azure-digitaltwins-core/azure-digitaltwins-core-%{version}.zip
Source1: LICENSE.txt
Source: https://files.pythonhosted.org/packages/source/a/azure_digitaltwins_core/azure_digitaltwins_core-%{version}.tar.gz
BuildRequires: %{python_module azure-digitaltwins-nspkg >= 1.0.0}
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
BuildRequires: %{python_module pip}
@@ -33,11 +32,10 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: unzip
Requires: python-azure-digitaltwins-nspkg >= 1.0.0
Requires: python-azure-nspkg >= 3.0.0
Requires: python-msrest >= 0.6.21
Requires: (python-azure-core >= 1.20.0 with python-azure-core < 2.0.0)
Requires: (python-azure-core >= 1.29.0 with python-azure-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-digitaltwins-core < 1.2.0
@@ -51,10 +49,9 @@ This package contains an SDK for Azure Digital Twins API to provide access to
the Azure Digital Twins service for managing twins, models, relationships, etc.
%prep
%setup -q -n azure-digitaltwins-core-%{version}
%setup -q -n azure_digitaltwins_core-%{version}
%build
install -m 644 %{SOURCE1} %{_builddir}/azure-digitaltwins-core-%{version}
%pyproject_wheel
%install
@@ -69,7 +66,7 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE.txt
%license LICENSE
%{python_sitelib}/azure/digitaltwins/core
%{python_sitelib}/azure_digitaltwins_core-*.dist-info