diff --git a/1.5.9.tar.gz b/1.5.9.tar.gz
new file mode 100644
index 0000000..1cc42f7
--- /dev/null
+++ b/1.5.9.tar.gz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:189cb0b973e40fcb6b95fd51b0bcd6cc8494b514d49ffe966ec488cf05bbf51e
+size 185230
diff --git a/_service b/_service
deleted file mode 100644
index f27258b..0000000
--- a/_service
+++ /dev/null
@@ -1,15 +0,0 @@
-
-
- git
- git://github.com/thp/pyotherside.git
- 1.5.4.git
- pyotherside
- ebe2845
-
-
-
- *.tar
- xz
-
-
-
diff --git a/pyotherside-1.5.4.git.1549621936.ebe2845.tar.xz b/pyotherside-1.5.4.git.1549621936.ebe2845.tar.xz
deleted file mode 100644
index 158291d..0000000
--- a/pyotherside-1.5.4.git.1549621936.ebe2845.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6ab1e683caf9e99be773b57f1b26b2dceca0c58f842eb1646c6a553aaebbd32e
-size 168544
diff --git a/python-pyotherside.changes b/python-pyotherside.changes
index 559b90b..45a8a9c 100644
--- a/python-pyotherside.changes
+++ b/python-pyotherside.changes
@@ -1,3 +1,9 @@
+-------------------------------------------------------------------
+Mon Mar 9 09:15:05 UTC 2020 - Tomáš Chvátal
+
+- Update to 1.5.9:
+ * New version to support python 3.8+
+
-------------------------------------------------------------------
Fri May 10 11:47:54 UTC 2019 - t.gruner@katodev.de
diff --git a/python-pyotherside.spec b/python-pyotherside.spec
index 3553e87..76dbd4a 100644
--- a/python-pyotherside.spec
+++ b/python-pyotherside.spec
@@ -1,7 +1,7 @@
#
# spec file for package python-pyotherside
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,37 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%bcond_without test
%define skip_python2 1
%define srcname pyotherside
+%bcond_without test
Name: python-pyotherside
-Version: 1.5.4.git.1549621936.ebe2845
+Version: 1.5.9
Release: 0
Summary: Asynchronous Python 3 Bindings for Qt 5
License: ISC
-Group: Development/Languages/Python
-Url: http://thp.io/2011/pyotherside/
-Source: %{srcname}-%{version}.tar.xz
-Provides: pyotherside = %{version}-%{release}
+URL: https://thp.io/2011/pyotherside/
+Source: https://github.com/thp/pyotherside/archive/%{version}.tar.gz
BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qtdeclarative-devel
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
-%if %{with test}
-BuildRequires: Mesa-dri
-BuildRequires: xvfb-run
-%endif
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(python3)
-%python_subpackages
+Provides: pyotherside = %{version}-%{release}
+Provides: python3-pyotherside = %{version}-%{release}
+%if %{with test}
+BuildRequires: Mesa-dri
+BuildRequires: xvfb-run
+%endif
%description
A QML Plugin that provides access to a Python 3 interpreter from QML.
@@ -53,8 +52,8 @@ A QML Plugin that provides access to a Python 3 interpreter from QML.
sed -i 's| qtquicktests||' pyotherside.pro
%build
-qmake-qt5 PYTHON_CONFIG=python%{python_version}-config QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true";
-make %{?_smp_mflags}
+%qmake5 PYTHON_CONFIG=python%{python_version}-config QMAKE_STRIP="/bin/true";
+%make_build
%install
make INSTALL_ROOT=%{buildroot} install
@@ -64,7 +63,7 @@ make INSTALL_ROOT=%{buildroot} install
xvfb-run -s '-screen 0, 1280x1024x24' -a ./tests/tests
%endif
-%files %{python_files}
+%files
%doc README
%license LICENSE
%dir %{_libqt5_archdatadir}/qml/io/