Fix s390x dependencies
Fedora doesn't build 32-bit s390x images. There is no `fpc' package available for s390x, either.
This commit is contained in:
parent
ddf8291871
commit
fbba720a74
6
gdb.spec
6
gdb.spec
@ -311,7 +311,7 @@ BuildRequires: boost-devel
|
||||
%global bits_local %{?_isa}
|
||||
%global bits_other %{?_isa}
|
||||
%ifarch s390x
|
||||
%if 0%{!?rhel:1} || 0%{?rhel} < 8
|
||||
%if 0%{?rhel:1} && 0%{?rhel} < 8
|
||||
%global bits_other (%{__isa_name}-32)
|
||||
%endif
|
||||
%else #!s390x
|
||||
@ -369,8 +369,8 @@ BuildRequires: prelink
|
||||
BuildRequires: opencl-headers ocl-icd-devel%{bits_local} ocl-icd-devel%{bits_other}
|
||||
%endif
|
||||
%if 0%{!?rhel:1}
|
||||
# Fedora arm+ppc64le do not yet have fpc built.
|
||||
%ifnarch %{arm} ppc64le
|
||||
# Fedora arm+ppc64le+s390x do not yet have fpc built.
|
||||
%ifnarch %{arm} ppc64le s390x
|
||||
BuildRequires: fpc
|
||||
%endif
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user