diff --git a/_service b/_service
index 1f13b43..3b4a911 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
@PARENT_TAG@
v(.*)
https://github.com/wine-staging/wine-staging.git
- refs/tags/v9.0
+ refs/tags/v9.1
v*.*
git
diff --git a/wine-9.0.tar.xz b/wine-9.0.tar.xz
deleted file mode 100644
index 7f6778f..0000000
--- a/wine-9.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7cfd090a5395f5b76d95bb5defac8a312c8de4c070c1163b8b58da38330ca6ee
-size 30007216
diff --git a/wine-9.0.tar.xz.sign b/wine-9.0.tar.xz.sign
deleted file mode 100644
index 8c5f9be..0000000
--- a/wine-9.0.tar.xz.sign
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmWm7aUACgkQzvrI6q8X
-UZ1IwhAArp/IEVLBG4DdnsWpHktgsBNa5+HXc72ckKsyJsmRqeeLBAaDENy6bVxA
-RDiasEigY28wNvB9K1L4WnBgwPIBGtOsYXyOOn4cd2UHofs5iYfGU+u+i2YsW8LL
-KJa05wQAadd4FsZj38HZY+B0chQdwOnrtcqsp+HrEEN3wbsC3b5vcCtGTv/RF9J7
-HB0VQqCTafFtMOwq/5urpQsx/DmCc14zUvp5Gw1NgE4fdOmdKtlVfSY8OptLXLUl
-H5BQInD7DabrfhXge9KXQgAzvIaCd4SwK6ZvBWyW5/CbihGtShFV1QLjWaWr25SL
-/tQ1d3hMXr5HQNyEJWUiP27efBqBfBr2r6oO/Z/Wssj/Pdtr8HlRY9f4/sf8SIUz
-NmTS42Yv3YO7b9Uaix+TlrzT9xZ69I3RTv8FXMKizyfzPevozfFAUSKgi2UyD6u8
-N39lm/OstoCY4samE0I4thju+1lop1Aj1npWSFu0nBHM4fFmccAGcKgU9xpTkKoD
-JReXvTIJm4LtCP4rqpyb6LG53yJ4lHMrZr0IPtuxshPCBZE6rQjWpJIy+3hrA0Nn
-z8BjRtlXIHbFVlq/F1WeIlwq1tF6+9qiNHXeNZMI7keRdk8cSU8SBr+jKufjsGZE
-KNTK8qmyhdfqoIiG5QrN8M3fs0XtV+gZ70jYAbUGrbF1dnwds2I=
-=+AcQ
------END PGP SIGNATURE-----
diff --git a/wine-9.1.tar.xz b/wine-9.1.tar.xz
new file mode 100644
index 0000000..65f9222
--- /dev/null
+++ b/wine-9.1.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:01b3b91b6fc35cabe93b28f190a237ba95c8ac70c436d919586deaa3da258fff
+size 30028220
diff --git a/wine-9.1.tar.xz.sign b/wine-9.1.tar.xz.sign
new file mode 100644
index 0000000..3960876
--- /dev/null
+++ b/wine-9.1.tar.xz.sign
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmW0OOkACgkQzvrI6q8X
+UZ1EGQ//YIpys9BBHk1NmBzo8hdcnh493pXe1psNwAzvncs/fX61gBwT6n2H55Zd
+oB0OkO9kXN7w7cYUQUABGMcUaZfoOaAL+7wB94fqxcbVcHiuW4ZeG8LTBz6z2j+a
+EBj3IbzCsr5EzipfHWpqkgfyB+aWMZFrDw26AQTSFCjyEJhAv/UwF+YEUFkw4jg0
+BcImHV32mcxTdV7WblUmnNzDgfFqXvF1YZXkIDg/zxLyMoWr1kIF4OXVNedUHrSi
+DqRPU7T0Wblz+8Lr0sPNnVPniOwLlnSIcbDfu9gJ4iP8Jd3Ng3Cl17oVP/vX3bsc
+so7KUuSrbTwICXqK8V2wZnGUYp1Kh8nZIcj3CmUmkbi3UwKrbwA7CJa8tRVTF39R
+2bvEsQpTtEDXSdF+qOjwIjHb5VyzY5l+UGSBnJT8QYpu3YO/KwX+wqb300yjxFKB
+Swh2rIrWfaPzfGBcI5x/t6HmgkY4piT/Z3rt12AtvXw/n2jVF+6HANjwhiqiv+/6
+VrX/I6Fn4EuC5WNCqEGjxLJVWmPqupDH/W/zf6+YE+yvwgabbboH7BlLsHOPu+sh
+EcVAJGjIcl09klQ/qHPh7AaJxgOZ/mqSbr0qSGaBpyDEUNNlkLnMqV4YyHD/Yb7X
+gmSPsiLLhpG474t3iPmHtoQDw8JWqP23MAJYv2mFqxRVBmj1LEg=
+=TaeR
+-----END PGP SIGNATURE-----
diff --git a/wine-staging-9.0.tar.xz b/wine-staging-9.0.tar.xz
deleted file mode 100644
index 9fcf7f7..0000000
--- a/wine-staging-9.0.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e3bfdd6690ebd8bc285372e17dc1c617069993237fcb2e3024fa57e9ac001eb5
-size 7287492
diff --git a/wine-staging-9.1.tar.xz b/wine-staging-9.1.tar.xz
new file mode 100644
index 0000000..dcdefdf
--- /dev/null
+++ b/wine-staging-9.1.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:de41d41c733995c90658e938e1b7a77f6f7b11e4f0da049d8c0883c63f045991
+size 7334396
diff --git a/wine.changes b/wine.changes
index 046e1b6..d3aaefc 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,3 +1,18 @@
+-------------------------------------------------------------------
+Fri Feb 2 09:42:56 UTC 2024 - Marcus Meissner
+
+- fixed directory usage to build withh rpm 4.19
+
+-------------------------------------------------------------------
+Sun Jan 28 15:39:11 UTC 2024 - Marcus Meissner
+
+- Updated to 9.1 release
+ - A number of Input Method improvements.
+ - Improved Diffie-Hellman key support.
+ - Better Dvorak keyboard detection.
+ - Various bug fixes.
+- update staging to 9.1 release
+
-------------------------------------------------------------------
Thu Jan 18 09:25:31 UTC 2024 - Marcus Meissner
diff --git a/wine.spec b/wine.spec
index bcfbc3a..cc12ebc 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 9.0
-Version: 9.0
+%define realver 9.1
+Version: 9.1
Release: 0
%if "%{flavor}" != ""
@@ -144,9 +144,9 @@ Summary: An MS Windows Emulator
License: LGPL-2.1-or-later
Group: System/Emulators/PC
URL: https://www.winehq.org/
-Source0: https://dl.winehq.org/wine/source/9.0/%{projectname}-%{realver}.tar.xz
+Source0: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz
Source41: wine.keyring
-Source42: https://dl.winehq.org/wine/source/9.0/%{projectname}-%{realver}.tar.xz.sign
+Source42: https://dl.winehq.org/wine/source/9.x/%{projectname}-%{realver}.tar.xz.sign
Source2: http://kegel.com/wine/wisotool
Source3: README.SUSE
Source4: wine.desktop
@@ -174,7 +174,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc armv7l armv7hl aarch64
%if %{staging}
# upstream patch target version
-%define staging_version 9.0
+%define staging_version 9.1
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
@@ -508,18 +508,23 @@ chmod 755 %winedir/my-find-requires.sh
%dir /usr/lib/wine/
%dir /usr/lib/wine/i386-windows
%dir /usr/lib/wine/i386-unix
+%dir %{_libdir}/wine/x86_64-windows
+%dir %{_libdir}/wine/x86_64-unix
+%dir %{_libdir}/wine
/usr/%{_lib}/wine/i386-windows
/usr/%{_lib}/wine/i386-unix
-%endif
+%else
%dir %{_libdir}/wine
%dir %{_libdir}/wine/*-windows
+%dir %{_libdir}/wine/*-unix
+%endif
+
%{_libdir}/wine/*-windows/*.[b-z]*
%{_libdir}/wine/*-windows/*.ax
%{_libdir}/wine/*-windows/*.acm
#ifarch aarch64
#{_libdir}/wine/*-windows/st*
#endif
-%dir %{_libdir}/wine/*-unix
%{_libdir}/wine/*-unix/*.so*
%files devel
@@ -534,14 +539,16 @@ chmod 755 %winedir/my-find-requires.sh
%{_bindir}/winemaker
%{_bindir}/wmc
%{_bindir}/wrc
-%dir %{_libdir}/wine/*-unix
%ifnarch aarch64
%{_libdir}/wine/*-unix/*.a
%endif
%if 0%{?suse_version} >= 1550
%ifarch %{ix86} x86_64
+%ifarch x86_64
+%dir %{_libdir}/wine/x86_64-windows
+%dir %{_libdir}/wine/x86_64-unix
+%endif
# only generated with mingw
-%dir %{_libdir}/wine/*-windows
%{_libdir}/wine/*-windows/*.a
%endif
%endif