diff --git a/_service b/_service
deleted file mode 100644
index 553063e..0000000
--- a/_service
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- python-openqa_client
- @PARENT_TAG@
- git://github.com/os-autoinst/openQA-python-client.git
- git
- 4.1.1
- enable
-
-
- xz
- *.tar
-
-
-
diff --git a/_servicedata b/_servicedata
deleted file mode 100644
index 5ec2274..0000000
--- a/_servicedata
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
- git://github.com/os-autoinst/openQA-python-client.git
- f227d83dd42c787579d95a03322004b283c02154
\ No newline at end of file
diff --git a/python-openqa_client-4.1.1.tar.xz b/python-openqa_client-4.1.1.tar.xz
deleted file mode 100644
index fd1921c..0000000
--- a/python-openqa_client-4.1.1.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a89520ce836dbd268356c9ba951a5aadebc8f6d9655aacd5fa53d9c10be0ef7a
-size 17516
diff --git a/python-openqa_client-4.2.1.tar.gz b/python-openqa_client-4.2.1.tar.gz
new file mode 100644
index 0000000..8e119bb
--- /dev/null
+++ b/python-openqa_client-4.2.1.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ca0a80b176bf9c142b33a6615d9c1b8ddd357032d3125a2425f6611857297871
+size 22119
diff --git a/python-openqa_client.changes b/python-openqa_client.changes
index b1ab21b..8a0488b 100644
--- a/python-openqa_client.changes
+++ b/python-openqa_client.changes
@@ -1,3 +1,15 @@
+-------------------------------------------------------------------
+Thu Dec 1 10:02:15 UTC 2022 - Ondřej Súkup
+
+- update to 4.2.2
+- drop _service
+ * Make Exceptions proper objects with members
+ * Only retry requests on certain status codes
+ * Add class global retries and wait values to allow configuration
+ * Add type hints
+ * Stop encoding X-API-Microtime as bytes
+ * Improve handling of quirky API behaviour regarding settings parameters
+
-------------------------------------------------------------------
Fri Sep 04 08:49:02 UTC 2020 - mimi.vx@gmail.com
diff --git a/python-openqa_client.spec b/python-openqa_client.spec
index 6e98f06..bf08d89 100644
--- a/python-openqa_client.spec
+++ b/python-openqa_client.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-openqa_client
#
-# Copyright (c) 2020 SUSE LLC
+# 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
@@ -19,13 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-openqa_client
-Version: 4.1.1
+Version: 4.2.1
Release: 0
Summary: Python openQA client library
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/os-autoinst/openQA-python-client
-Source: %{name}-%{version}.tar.xz
+Source: https://github.com/os-autoinst/openQA-python-client/archive/refs/tags/%{version}.tar.gz#/python-openqa_client-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pytest}
@@ -42,7 +42,7 @@ BuildArch: noarch
This is a client for the openQA API, based on requests.
%prep
-%setup -q
+%setup -q -n openQA-python-client-%{version}
%build
%python_build