From 8351eea2281ee25a4fb5220492420c6ab4f6ca25 Mon Sep 17 00:00:00 2001 From: rjschwei <> Date: Sep 15 2022 21:27:00 +0000 Subject: Update python-azure-iot-deviceupdate to version 1.0.0 / rev 1 via SR 1003916 https://build.opensuse.org/request/show/1003916 by user rjschwei + dimstar_suse Another component for the Azure SDK --- diff --git a/.files b/.files new file mode 100644 index 0000000..6cab138 Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..5b769d7 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + + + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..6dacda9 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + f4f111d7a6b7a1252ec251d4177eecb4 + 1.0.0 + + dimstar_suse + Another component for the Azure SDK + 1003916 + + diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..739ad04 --- /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-iot-deviceupdate-1.0.0.zip b/azure-iot-deviceupdate-1.0.0.zip new file mode 120000 index 0000000..efb2022 --- /dev/null +++ b/azure-iot-deviceupdate-1.0.0.zip @@ -0,0 +1 @@ +/ipfs/bafkreigfnngz7qc4m3gmj6vst54p2h32y72mago7d7ergcpnzhgmugfave \ No newline at end of file diff --git a/python-azure-iot-deviceupdate.changes b/python-azure-iot-deviceupdate.changes new file mode 100644 index 0000000..1edaba5 --- /dev/null +++ b/python-azure-iot-deviceupdate.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Sep 12 09:45:19 UTC 2022 - John Paul Adrian Glaubitz + +- Initial build + + Version 1.0.0 diff --git a/python-azure-iot-deviceupdate.spec b/python-azure-iot-deviceupdate.spec new file mode 100644 index 0000000..e556fc5 --- /dev/null +++ b/python-azure-iot-deviceupdate.spec @@ -0,0 +1,74 @@ +# +# spec file for package python-azure-iot-deviceupdate +# +# Copyright (c) 2022 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/ +# + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%if 0%{?suse_version} >= 1500 +%define skip_python2 1 +%endif +Name: python-azure-iot-deviceupdate +Version: 1.0.0 +Release: 0 +Summary: Azure Device Update for IoT Hub 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-iot-deviceupdate/azure-iot-deviceupdate-%{version}.zip +Source1: LICENSE.txt +BuildRequires: %{python_module azure-iot-nspkg >= 1.0.1} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +Requires: python-azure-iot-nspkg >= 1.0.1 +Requires: python-azure-core < 2.0.0 +Requires: python-azure-core >= 1.24.0 +Requires: python-isodate < 1.0.0 +Requires: python-isodate >= 0.6.1 +Conflicts: python-azure-sdk <= 2.0.0 +BuildArch: noarch +%python_subpackages + +%description +The library provides access to the Device Update for IoT Hub service that +enables customers to publish updates for their IoT devices to the cloud, +and then deploy these updates to their devices (approve updates to groups +of devices managed and provisioned in IoT Hub). + +%prep +%setup -q -n azure-iot-deviceupdate-%{version} + +%build +install -m 644 %{SOURCE1} %{_builddir}/azure-iot-deviceupdate-%{version} +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} +%{python_expand # delete common files +rm -rf %{buildroot}%{$python_sitelib}/azure/iot/__init__.* +rm -rf %{buildroot}%{$python_sitelib}/azure/iot/__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/iot/deviceupdate +%{python_sitelib}/azure_iot_deviceupdate-*.egg-info + +%changelog