From ed656598106dc85fc1bd379210054d9a37beb58540b084f8bc29bf3db7608ebd Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Mon, 9 Jan 2017 15:38:49 +0000 Subject: [PATCH] - Disable 32bit testing on openSUSE s390x. OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gdb?expand=0&rev=150 --- gdb.changes | 5 +++++ gdb.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb.changes b/gdb.changes index a42651f..b0197b5 100644 --- a/gdb.changes +++ b/gdb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 9 15:37:41 UTC 2017 - matz@suse.com + +- Disable 32bit testing on openSUSE s390x. + ------------------------------------------------------------------- Fri Dec 16 09:55:50 UTC 2016 - mliska@suse.cz diff --git a/gdb.spec b/gdb.spec index 0bafbeb..e17f743 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,7 +1,7 @@ # # spec file for package gdb # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 RedHat # # All modifications and additions to the file contributed by third parties @@ -291,6 +291,8 @@ BuildRequires: gcc-ada BuildRequires: gcc-ada %endif %endif +%if ! (0%{?is_opensuse} && %_arch == "s390x" ) +# openSUSE for s390x doesn't build 32bit libs %if 0%{suse_version} > 1110 %ifarch x86_64 ppc64 s390x %if 0%{suse_version} >= 1330 @@ -304,6 +306,7 @@ BuildRequires: glibc-devel-static-32bit %endif %endif %endif +%endif %if 0%{suse_version} >= 1210 BuildRequires: glibc-devel-static %endif