From 783af54849762597a427ae417b0c3f84894310311f8974d51e3732fbf7aa1eeb Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 4 Jan 2022 08:47:10 +0000 Subject: [PATCH] Accepting request 943667 from home:Vogtinator:branches:Emulators - Use plain strip instead of MinGW strip to preserve the important builtin dll marker OBS-URL: https://build.opensuse.org/request/show/943667 OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=890 --- wine.changes | 6 ++++++ wine.spec | 8 +++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/wine.changes b/wine.changes index 64f5285..7492ca1 100644 --- a/wine.changes +++ b/wine.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/wine.spec b/wine.spec index 710401a..1bb9f82 100644 --- a/wine.spec +++ b/wine.spec @@ -342,11 +342,9 @@ mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl %endif -%ifarch x86_64 -find %{buildroot}/usr/lib64/wine/x86_64-windows/ -type f | xargs /usr/bin/x86_64-w64-mingw32-strip --strip-debug -%endif -%ifarch %ix86 -find %{buildroot}/usr/lib/wine/i386-windows/ -type f| xargs /usr/bin/i686-w64-mingw32-strip --strip-debug +%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}