- Fix Leap 15.3 i586 gdb:testsuite build, by not requiring fpc.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=283
This commit is contained in:
Tom de Vries 2021-06-17 09:38:51 +00:00 committed by Git OBS Bridge
parent 2fa89e2610
commit 472550ce1e
2 changed files with 15 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 17 09:36:06 UTC 2021 - Tom de Vries <tdevries@suse.com>
- Fix Leap 15.3 i586 gdb:testsuite build, by not requiring fpc.
-------------------------------------------------------------------
Wed Jun 16 10:47:16 UTC 2021 - Tom de Vries <tdevries@suse.com>

View File

@ -482,13 +482,21 @@ BuildRequires: glibc-devel-static
# versions.
BuildRequires: gcc-go
%endif
%if 0%{?suse_version} >= 1500 && 0%{?is_opensuse}
%ifarch %{ix86} x86_64 aarch64 armv7l
%if %{with fpc}
%if 0%{?suse_version} >= 1500 && 0%{?is_opensuse}
%ifarch x86_64 aarch64 armv7l
BuildRequires: fpc
%endif
%ifarch %{ix86}
# fpc is (currently?) unavailable for Leap 15.3/i586.
%if 0%{?sle_version} != 150300 && 0%{?is_opensuse}
BuildRequires: fpc
%endif
%endif
%endif
%endif
%if 0%{?suse_version} >= 1200
%ifnarch s390
# s390 (for SLE12) doesn't have valgrind