SHA256
1
0
forked from pool/wine

Accepting request 969860 from home:Guillaume_G:branches:Emulators

- Fix build on aarch64 - boo#1197233

OBS-URL: https://build.opensuse.org/request/show/969860
OBS-URL: https://build.opensuse.org/package/show/Emulators/wine?expand=0&rev=914
This commit is contained in:
Marcus Meissner 2022-04-13 12:27:37 +00:00 committed by Git OBS Bridge
parent c0da5d0a0b
commit a387119e30
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 13 07:32:06 UTC 2022 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fix build on aarch64 - boo#1197233
-------------------------------------------------------------------
Mon Apr 11 15:34:23 UTC 2022 - Martin Hauke <mardnh@gmx.de>

View File

@ -45,6 +45,8 @@ BuildRequires: autoconf
BuildRequires: bison
%ifarch aarch64
BuildRequires: clang >= 5
BuildRequires: lld
BuildRequires: llvm
%endif
BuildRequires: cups-devel
%if 0%{?suse_version} >= 1550
@ -348,6 +350,11 @@ mv %{buildroot}/%{_mandir}/pl.UTF-8 %{buildroot}/%{_mandir}/pl
find %{buildroot}/usr/lib*/wine/*-windows/ -type f -exec strip --strip-debug {} +
%endif
%ifarch aarch64
# Do not ship static *.a libs
rm %{buildroot}%{_libdir}/wine/*-windows/*.a
%endif
tar -xjf %{SOURCE5}
# Copied from Ubuntu Wine out of debian.diff
# https://launchpad.net/~ubuntu-wine/+archive/ppa/+packages
@ -477,6 +484,9 @@ chmod 755 %winedir/my-find-requires.sh
%{_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*