SHA256
1
0
forked from pool/wine

Accepting request 943296 from home:msmeissn:branches:Emulators

- strip the debuginfo out of the PE binaries for now, saves 2/3 space.
  bsc#1192292

OBS-URL: https://build.opensuse.org/request/show/943296
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=888
This commit is contained in:
Marcus Meissner 2021-12-31 10:07:56 +00:00 committed by Git OBS Bridge
parent a90d23d5af
commit bc6a66299f
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Dec 29 15:00:09 UTC 2021 - Marcus Meissner <meissner@suse.com>
- 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 <meissner@suse.com> Mon Dec 27 08:14:52 UTC 2021 - Marcus Meissner <meissner@suse.com>

View File

@ -342,6 +342,13 @@ mv %{buildroot}/%{_mandir}/fr.UTF-8 %{buildroot}/%{_mandir}/fr
mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
%endif %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
%endif
tar -xjf %{SOURCE5} tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff # Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages # https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages