diff --git a/_service b/_service
index ea13143..dfd1fc4 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
@PARENT_TAG@
v(.*)
https://github.com/wine-staging/wine-staging.git
- refs/tags/v5.7
+ refs/tags/v5.8
v*.*
git
diff --git a/patch.txt b/patch.txt
deleted file mode 100644
index 0dc6821..0000000
--- a/patch.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/server/thread.c b/server/thread.c
-index cfdf42c756..e5b670649a 100644
---- a/server/thread.c
-+++ b/server/thread.c
-@@ -1848,7 +1848,7 @@ DECL_HANDLER(get_thread_context)
- {
- assert( reply->self );
- memset( context, 0, sizeof(context_t) );
-- context->cpu = thread_context->regs.cpu;
-+ context->cpu = current->process->cpu;
- if (req->flags & system_flags)
- {
- get_thread_context( thread, context, req->flags & system_flags );
diff --git a/wine-5.7.tar.xz b/wine-5.7.tar.xz
deleted file mode 100644
index 141bd12..0000000
--- a/wine-5.7.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:16c99b9c6db56f75fcc2c6b3cbae400db1da1f750edba0249fd0fc288a9b4712
-size 23723624
diff --git a/wine-5.7.tar.xz.sign b/wine-5.7.tar.xz.sign
deleted file mode 100644
index 35de03b..0000000
--- a/wine-5.7.tar.xz.sign
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAl6jR6gACgkQzvrI6q8X
-UZ3llg//TY6gzlVc1kdqFZiurx/V7xBeSqtGVy0+3DAqNfPwjqydVRNXAkMDiwNB
-8gHCReqchm/Q6NaCtr27S/Viu0pSCB/8/GbTWaXsv4HXvkdkUAVI1q3oyUeLGgFG
-mNpyyd9UBqTk8+hXoQ9zATaYXXUa2FaFhxRtNVNM3EyeC3BS1st6PRRJ3ORO6TvA
-jrBk5cr0sXVEPoQ8GaBG+BmEW7+m6HpyGsw4ZXw73oq52sKQ0/GrmWxpxwxxBZlL
-/NgEjO3R2CF1ey2m5yZg6lvJFgPxMf4mP8T9s96vhi2shC4wtsaD7rcUqgIJUwFq
-U8alb08wiflwgENRbKEAsm60Jgal3RjGNKLikurFN/QNPAdLyzKIGuXuEeWYXlN/
-cuslQGB55MWObJkjWhVr9umjJ6OtdPDCJvBnkpsMsxCUijyUQalWydwd6FbP37Vw
-/C4Ox+UMoF7VBtZn5lb/3jkHOtLlFxEYg766460LTXLZER1ENosmCJZRbEKcPibx
-DjG07xea2gIgr1GszruJwhj1+OaFleiTdfb5EIT+267NyVx34H/BZ40TwwcQiWGH
-mtxpCvFNAqe9kcyiEmaUwuh6/+egOuMQ/ShzAw+rdun+eEZK2cOb5Y+5qL5NtStL
-62VK9K5gYwj8iVw+hix4BJLRjWAIZQwdFoBKYX9/5WqjQ/DS3aE=
-=sca4
------END PGP SIGNATURE-----
diff --git a/wine-5.8.tar.xz b/wine-5.8.tar.xz
new file mode 100644
index 0000000..f988b04
--- /dev/null
+++ b/wine-5.8.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:cbad04c261437abec16945cd7ca83c77950f3e03099d7e3f883a6ea7293233cf
+size 23753648
diff --git a/wine-5.8.tar.xz.sign b/wine-5.8.tar.xz.sign
new file mode 100644
index 0000000..cb02774
--- /dev/null
+++ b/wine-5.8.tar.xz.sign
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAl61vvEACgkQzvrI6q8X
+UZ0zhBAAnVUo4/sVpTGfjlkOePDrxcXpduCmgqGG+FK3sn9QtVvQi6iDaIz3naU5
+mVBQG95bBi6I7nvDlUA6BZ8t69HFVN0aqRsAdcmR3iZCkTv6Eg5NUuRQfmV9UI4P
+MPAHfasG0acAsy843vvgmPeWWaig/i2NmPQfAYEZySsGG+GiUMMjpW0MaCfPT2t8
+PLYjBoWy8S2P1mxea5wrp8UoeY0QI8YSXAz8QDXUXNOrivtAcNzLunJW2xd2exTS
+yzRXzn+BM11N0JTA76ruiW68+F2+mSjO/eDVNxSNzkMYV6IIMNGfEkKV4tpykBQx
+UwIPtA06/XGYhrKOQeMuu2VQp6F+T2oQLoHZTVVTErl8U4qBOAQaJ8NXSbOTcark
+MoYi6VbT/xLDjoPSjH8Cipvtk0SVoe8tOJKZxFdl/Wjvxdgsw7Wp/RftSD2Ruiqt
+P1V0gxfensdLlxGQpgWBScuwt/9YP3FHrDpNY9QkqDCGPFHdcrUrYyGO4Y38bS74
+kyw9iwKtjR4xQYWO621sWtRi15EK9XGAIWgE1FNRqiLl7WwNHk+GmfX5GSqOgVtz
+us81URlTqoVkHmnxtnAenU29yAId14sdL19MJT9t9TfM/jLv4JXHGzdmLcsDc2vb
+yGC9gC1eVs/1g2n2Igjb11zFhJxzRDEF1jiZ5f5u/GzZ5pownuo=
+=U8Cs
+-----END PGP SIGNATURE-----
diff --git a/wine-staging-5.7.tar.xz b/wine-staging-5.7.tar.xz
deleted file mode 100644
index f3ace57..0000000
--- a/wine-staging-5.7.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e44802f2e86baa9ee398f6472bb4649db15769ac67067487223a0228d87f55b9
-size 7448132
diff --git a/wine-staging-5.8.tar.xz b/wine-staging-5.8.tar.xz
new file mode 100644
index 0000000..7738a8e
--- /dev/null
+++ b/wine-staging-5.8.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4db5cb9270ae8377f04fd7e1e15a5440747c4f5d9d5d13f280a0c638f760321e
+size 7422020
diff --git a/wine.changes b/wine.changes
index 6ea7931..e391a1d 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,3 +1,16 @@
+-------------------------------------------------------------------
+Sat May 9 06:35:09 UTC 2020 - Marcus Meissner
+
+- Updated to 5.8 development release
+ - Support for Plug & Play device notifications.
+ - More support for building with Clang in MSVC mode.
+ - Still more progress on the WineD3D Vulkan backend.
+ - Initial implementation of a GIF encoder.
+ - Vulkan spec update.
+ - Various bug fixes.
+- update staging to 5.8 release
+- remove patch.txt: was upstream fix
+
-------------------------------------------------------------------
Wed Apr 29 13:36:55 UTC 2020 - Marcus Meissner
diff --git a/wine.spec b/wine.spec
index 51e820d..d51d55e 100644
--- a/wine.spec
+++ b/wine.spec
@@ -29,8 +29,8 @@
%endif
# needs to be on top due to usage of %version macro below
-%define realver 5.7
-Version: 5.7
+%define realver 5.8
+Version: 5.8
Release: 0
%if "%{flavor}" != ""
@@ -138,7 +138,7 @@ Source7: baselibs.conf
Source8: wine-rpmlintrc
# SUSE specific patches
# - currently none, but add them here
-Patch0: patch.txt
+#Patch0: patch.txt
Recommends: wine-gecko >= 2.47.1
Conflicts: wine-gecko < 2.47.1
Recommends: wine-mono >= 4.9.2
@@ -157,7 +157,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc %arm aarch64
%if %{staging}
# upstream patch target version
-%define staging_version 5.7
+%define staging_version 5.8
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
@@ -215,7 +215,7 @@ libraries.
%prep
%setup -q -n wine-%{realver}
-%patch0 -p1
+#patch0 -p1
#
cp %{S:3} .
#
@@ -448,6 +448,7 @@ chmod 755 %winedir/my-find-requires.sh
%if 0%{?suse_version} >= 1550
%ifnarch %arm aarch64
%{_libdir}/wine/*.acm
+%{_libdir}/wine/*.ax
%{_libdir}/wine/*.com
%{_libdir}/wine/*.cpl
%{_libdir}/wine/*.dll