15
0

Accepting request 895173 from home:pgajdos:python

- version update to 0.8.3
  * Remove fields that have been removed from Hetzner Server API
- %check: user %pyunittest rpm macro

OBS-URL: https://build.opensuse.org/request/show/895173
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hetzner?expand=0&rev=11
This commit is contained in:
2021-05-24 13:18:57 +00:00
committed by Git OBS Bridge
parent 5eea097add
commit 23964c0f27
4 changed files with 14 additions and 7 deletions

View File

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

View File

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

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 24 12:53:47 UTC 2021 - pgajdos@suse.com
- version update to 0.8.3
* Remove fields that have been removed from Hetzner Server API
- %check: user %pyunittest rpm macro
-------------------------------------------------------------------
Mon May 25 10:59:17 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hetzner
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2018, Martin Hauke <mardnh@gmx.de>
#
# All modifications and additions to the file contributed by third parties
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-hetzner
Version: 0.8.2
Version: 0.8.3
Release: 0
Summary: High level access to the Hetzner robot
License: BSD-2-Clause
@@ -30,7 +30,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
Requires(postun):update-alternatives
BuildArch: noarch
%python_subpackages
@@ -49,7 +49,7 @@ A high-level Python API for accessing the Hetzner robot.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pyunittest discover -v hetzner/tests
%post
%python_install_alternative hetznerctl