diff --git a/_service b/_service
index 8734455..0991432 100644
--- a/_service
+++ b/_service
@@ -3,7 +3,7 @@
@PARENT_TAG@
v(.*)
https://github.com/wine-staging/wine-staging.git
- refs/tags/v7.0-rc3
+ refs/tags/v7.0-rc4
v*.*
git
diff --git a/wine-7.0-rc3.tar.xz b/wine-7.0-rc3.tar.xz
deleted file mode 100644
index fa6fd3d..0000000
--- a/wine-7.0-rc3.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b7ac6f09a4d39d6dd7ab03f4d75b2fe423746a2b4e27e3bb2cbba233468cf1c4
-size 27109836
diff --git a/wine-7.0-rc3.tar.xz.sign b/wine-7.0-rc3.tar.xz.sign
deleted file mode 100644
index 150fb6d..0000000
--- a/wine-7.0-rc3.tar.xz.sign
+++ /dev/null
@@ -1,16 +0,0 @@
------BEGIN PGP SIGNATURE-----
-
-iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmHIm78ACgkQzvrI6q8X
-UZ3nCw//aKFv9kOA5V5PRoxoD/naxrlj7uDgQQH60bBs5XQchT7vVnyMmMPtLSzo
-fjMSqXYSScMefVbRUQWK+1zpY/evTHZHX0nnANThECDn2TqQsLaeXfRQrxdb52d0
-ULcAlidZ1LSmJHLg1PSLL363Ep++3oVXLhLNHEPTop2TeVD+NM0y+WPZ9eVanGmx
-ihJ6eqQJXCEY7c0DIfFf1AnJKO4MvCfabq0BAVG1Nt6+Z2O1l92xYYxKtqX/v2Qc
-5T3td5Q9OncGRoZrPtX3j9JlBLh5BLgDJLXkV7YxARBBYSHXFPfc8/dZZy//F8mP
-UlFaKUeu/Mk/yiA/o/jEkhFbfziTnLLSBU9AiWSEB4gxMSr6KH7+MT1TJubC+3K6
-Y18oPaC5vHpBIFpR2beZsktQE+oMy7AN/FXZy46yDTPe45q293XC3yJImLD0Ed1h
-exruN2y/CsGGdFSV921Ke0uVY+gMNqe6H5Nhm+XpSkAXQDo17rEwBNaejY+QGUKE
-i0RmUeXQ+uslDl4LlV70yPgI9arXT6GMh8R+imxDTfWT9PixXuZ/UDZmrAfRp7WU
-aIFyfkn8HZnoJEt0uM+twLoaG+egUN0R/znueac+HMZUWjHkz4lKoa/WLEFRAWwx
-pmYknuBzQ+JFWPOmAslBq9e0VCtpeOE+DQyALPSikofJPMzAOLw=
-=wLG6
------END PGP SIGNATURE-----
diff --git a/wine-7.0-rc4.tar.xz b/wine-7.0-rc4.tar.xz
new file mode 100644
index 0000000..32aebf0
--- /dev/null
+++ b/wine-7.0-rc4.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1b027324850e932e8f5b0a317c475be6cc1467d27961b0722c9bc463530b1dbb
+size 27110520
diff --git a/wine-7.0-rc4.tar.xz.sign b/wine-7.0-rc4.tar.xz.sign
new file mode 100644
index 0000000..a9ecb40
--- /dev/null
+++ b/wine-7.0-rc4.tar.xz.sign
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAABCgAdFiEE2iNXmnTUrZr50/lFzvrI6q8XUZ0FAmHSGPoACgkQzvrI6q8X
+UZ3xHQ//Qm65y+Jk9+u2jJT8QBNCL55J1EZOeyn6J6Iyk8Pbau+ywrk8ln+z78ZU
+wiER5SoyLzyWcIRogZ8la/i4tSQxTTDs69znuz+1yM2JxeRox4zxJkFqzGImxcPi
+UEgJsvEei00puwdZ9BY9CybXQES9CC24MN4z6vuhO24rZv2Ix68c/tlE5exFfiy3
+11Nh0UdSkqacZx9eaf5jIAswH9mstvQ+eelaGQTylete9yCzUWWyoPpUMa6Rw39h
+iQsYYNRhn+NYtlYoRMN326P8aZsrcfMUqB15X9yQQov3fVLcFSmMs3cGHGmIqe2J
+H0M6U8P/IFVofPOAcTkR0jB8ZaLjixOrKVakiKsMp5LaE135d0/g+ZM8GFAmkZ4U
+cH/DzeXnJ2MhmzaYjMNzDvZanVhnOsOvAUlVrkINeW7dwocDXpbRTwSmV9BBBurl
+5stq6tTXxcOyD+OdmrwiLJmumpp75CHrCD8MRBv7FXX6DTKtpqNxvvYJbTbwzOwe
+Dje4l7hsI2NNNGToCB7OCa9DU6052B9c5VRT7BDskcLVvzERUWSVAAvbsy0FA6tB
+a/l871vaKDmARPP5icZJoZr4Z6GjluWInnhtJZn+eWpX2L5xmzK7Nth5Os5nqyNE
+crKDDbFE0/vlfVmoaaqrdQyC2DXiUXgUV6PjEoS1ed3OJRYMa4s=
+=z3JW
+-----END PGP SIGNATURE-----
diff --git a/wine-staging-7.0-rc3.tar.xz b/wine-staging-7.0-rc3.tar.xz
deleted file mode 100644
index d0cbbfe..0000000
--- a/wine-staging-7.0-rc3.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:df3928bb1bd28e248d812331f9dbd1d39713f3b77f0bec3e0244bdd6612f7767
-size 7300224
diff --git a/wine-staging-7.0-rc4.tar.xz b/wine-staging-7.0-rc4.tar.xz
new file mode 100644
index 0000000..66d5a3f
--- /dev/null
+++ b/wine-staging-7.0-rc4.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3a769f6f64bd61f68105c6261fe030e4c6cd618a1b146b93ea150829ecb09298
+size 7301260
diff --git a/wine.changes b/wine.changes
index 0ba3242..7492ca1 100644
--- a/wine.changes
+++ b/wine.changes
@@ -1,3 +1,22 @@
+-------------------------------------------------------------------
+Mon Jan 3 22:28:51 UTC 2022 - Fabian Vogt
+
+- Use plain strip instead of MinGW strip to preserve the important
+ builtin dll marker
+
+-------------------------------------------------------------------
+Mon Jan 3 09:20:56 UTC 2022 - Marcus Meissner
+
+- updated to 7.0-rc4 release candidate
+ - Bug fixes only, we are in code freeze.
+- update staging to 7.0-rc4 release
+
+-------------------------------------------------------------------
+Wed Dec 29 15:00:09 UTC 2021 - Marcus Meissner
+
+- strip the debuginfo out of the PE binaries for now, saves 2/3 space.
+ bsc#1192292
+
-------------------------------------------------------------------
Mon Dec 27 08:14:52 UTC 2021 - Marcus Meissner
diff --git a/wine.spec b/wine.spec
index 12533de..1bb9f82 100644
--- a/wine.spec
+++ b/wine.spec
@@ -1,7 +1,7 @@
#
# spec file for package wine
#
-# Copyright (c) 2021 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
@@ -29,8 +29,8 @@
%endif
# needs to be on top due to usage of %version macro below
-%define realver 7.0-rc3
-Version: 7.0~rc3
+%define realver 7.0-rc4
+Version: 7.0~rc4
Release: 0
%if "%{flavor}" != ""
@@ -161,7 +161,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
ExclusiveArch: %{ix86} x86_64 ppc armv7l armv7hl aarch64
%if %{staging}
# upstream patch target version
-%define staging_version 7.0-rc3
+%define staging_version 7.0-rc4
Source100: wine-staging-%{staging_version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: libOSMesa-devel
@@ -342,6 +342,11 @@ mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif
+%ifarch %ix86 x86_64
+# Use plain strip, which unlike the MinGW variant preserves the wine builtin marker
+find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} +
+%endif
+
tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages