Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc13 for openSUSE:Factory checked 
in at 2023-08-30 10:19:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc13 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc13.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc13"

Wed Aug 30 10:19:28 2023 rev:14 rq:1107917 version:13.2.1+git7683

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc13/gcc13.changes      2023-08-09 
17:23:54.640878742 +0200
+++ /work/SRC/openSUSE:Factory/.gcc13.new.1766/gcc13.changes    2023-08-30 
10:22:08.043683236 +0200
@@ -1,0 +2,23 @@
+Mon Aug 28 07:59:17 UTC 2023 - Richard Biener <rguent...@suse.com>
+
+- Disable building glibc cross compilers on SLE based code streams,
+  the required cross-glibc packages are not available there.
+- Disable building avr cross on non-openSUSE code streams since
+  avr-libc isn't available there.
+- Disable building newlib cross compilers on non-openSUSE code streams
+  since newlib isn't available there.
+- Fix typo preventing s390x compiler build.
+- Raise s390x architecture baseline to z14 for ALP.  [PED-253]
+- Turn cross compiler to ppc64le to a glibc cross.
+
+-------------------------------------------------------------------
+Wed Aug 23 06:50:07 UTC 2023 - Richard Biener <rguent...@suse.com>
+
+- Turn cross compiler to s390x to a glibc cross.  [bsc#1214460]
+
+-------------------------------------------------------------------
+Fri Aug 18 13:03:36 UTC 2023 - Michal Suchanek <msucha...@suse.com>
+
+- Raise Power architecture baseline to Power9 only for ALP (boo#1213915).
+
+-------------------------------------------------------------------

New:
----
  cross-ppc64le-gcc13-bootstrap.spec
  cross-s390x-gcc13-bootstrap.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.107863997 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.115864283 +0200
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x  riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x  riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-aarch64-gcc13.spec: same change
++++++ cross-amdgcn-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.163865996 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.167866139 +0200
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-arm-gcc13.spec: same change
cross-arm-none-gcc13-bootstrap.spec: same change
cross-arm-none-gcc13.spec: same change
cross-avr-gcc13-bootstrap.spec: same change
cross-avr-gcc13.spec: same change
cross-bpf-gcc13.spec: same change
cross-epiphany-gcc13-bootstrap.spec: same change
cross-epiphany-gcc13.spec: same change
cross-hppa-gcc13-bootstrap.spec: same change
cross-hppa-gcc13.spec: same change
cross-m68k-gcc13.spec: same change
cross-mips-gcc13.spec: same change
cross-nvptx-gcc13.spec: same change
++++++ cross-ppc64-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.519878704 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.523878847 +0200
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le  x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le  x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

++++++ cross-ppc64le-gcc13-bootstrap.spec ++++++
++++ 1064 lines (skipped)

++++++ cross-ppc64le-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.567880417 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.571880560 +0200
@@ -19,7 +19,7 @@
 %define pkgname cross-ppc64le-gcc13
 %define cross_arch ppc64le
 %define gcc_target_arch powerpc64le-suse-linux
-%define gcc_icecream 1
+%define gcc_target_glibc 1
 # nospeccleaner
 
 %define build_cp 0%{!?gcc_accel:1}
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586  ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586  ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

++++++ cross-pru-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.595881416 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.595881416 +0200
@@ -216,12 +216,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -258,11 +267,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -652,7 +666,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -721,9 +738,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -733,19 +750,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-pru-gcc13.spec: same change
++++++ cross-riscv64-elf-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.643883130 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.647883273 +0200
@@ -216,12 +216,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -258,11 +267,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -652,7 +666,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -721,9 +738,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -733,19 +750,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-riscv64-elf-gcc13.spec: same change
cross-riscv64-gcc13-bootstrap.spec: same change
cross-riscv64-gcc13.spec: same change
++++++ cross-rx-gcc13-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.735886414 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.739886557 +0200
@@ -216,12 +216,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -258,11 +267,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -652,7 +666,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -721,9 +738,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -733,19 +750,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-rx-gcc13.spec: same change
++++++ cross-s390x-gcc13-bootstrap.spec ++++++
++++ 1064 lines (skipped)

++++++ cross-s390x-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.811889127 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.815889269 +0200
@@ -19,7 +19,7 @@
 %define pkgname cross-s390x-gcc13
 %define cross_arch s390x
 %define gcc_target_arch s390x-suse-linux
-%define gcc_icecream 1
+%define gcc_target_glibc 1
 # nospeccleaner
 
 %define build_cp 0%{!?gcc_accel:1}
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64  aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64  aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

++++++ cross-sparc-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.835889984 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.839890127 +0200
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

cross-sparc64-gcc13.spec: same change
++++++ cross-x86_64-gcc13.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.887891840 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.891891983 +0200
@@ -215,12 +215,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch:  do-not-build
+%endif
 BuildRequires:  cross-%cross_arch-glibc-devel
 Requires:       cross-%cross_arch-glibc-devel
 %endif
@@ -257,11 +266,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch:  i586 ppc64le ppc64  s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch:  %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch:    %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch:  i586 ppc64le ppc64  s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has
@@ -651,7 +665,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -720,9 +737,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -732,19 +749,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

++++++ gcc13-testresults.spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:13.927893268 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:13.931893411 +0200
@@ -853,7 +853,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -922,9 +925,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -934,19 +937,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

gcc13.spec: same change
++++++ _multibuild ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:14.039897266 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:14.043897408 +0200
@@ -4,17 +4,19 @@
 <flavor>cross-aarch64-gcc13</flavor>
 <flavor>cross-riscv64-gcc13-bootstrap</flavor>
 <flavor>cross-riscv64-gcc13</flavor>
+<flavor>cross-s390x-gcc13-bootstrap</flavor>
+<flavor>cross-s390x-gcc13</flavor>
+<flavor>cross-ppc64le-gcc13-bootstrap</flavor>
+<flavor>cross-ppc64le-gcc13</flavor>
 <flavor>cross-arm-gcc13</flavor>
 <flavor>cross-avr-gcc13-bootstrap</flavor>
 <flavor>cross-avr-gcc13</flavor>
 <flavor>cross-pru-gcc13-bootstrap</flavor>
 <flavor>cross-pru-gcc13</flavor>
 <flavor>cross-x86_64-gcc13</flavor>
-<flavor>cross-s390x-gcc13</flavor>
 <flavor>cross-sparc-gcc13</flavor>
 <flavor>cross-sparc64-gcc13</flavor>
 <flavor>cross-ppc64-gcc13</flavor>
-<flavor>cross-ppc64le-gcc13</flavor>
 <flavor>cross-m68k-gcc13</flavor>
 <flavor>cross-mips-gcc13</flavor>
 <flavor>cross-hppa-gcc13-bootstrap</flavor>

++++++ change_spec ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:14.059897980 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:14.063898122 +0200
@@ -100,16 +100,16 @@
 if test "$do_crosses" = 1 ; then
 add_glibc_cross cross-aarch64-gcc$base_ver aarch64 aarch64-suse-linux
 add_glibc_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux
+add_glibc_cross cross-s390x-gcc$base_ver s390x s390x-suse-linux
+add_glibc_cross cross-ppc64le-gcc$base_ver ppc64le powerpc64le-suse-linux
 add_cross cross-arm-gcc$base_ver arm arm-suse-linux-gnueabi %define 
gcc_icecream 1
 add_cross cross-avr-gcc$base_ver-bootstrap avr avr "%define gcc_libc_bootstrap 
1"
 add_cross cross-avr-gcc$base_ver avr avr
 add_newlib_cross cross-pru-gcc$base_ver pru pru
 add_cross cross-x86_64-gcc$base_ver x86_64 x86_64-suse-linux %define 
gcc_icecream 1
-add_cross cross-s390x-gcc$base_ver s390x s390x-suse-linux %define gcc_icecream 
1
 add_cross cross-sparc-gcc$base_ver sparcv9 sparc-suse-linux %define 
gcc_icecream 1
 add_cross cross-sparc64-gcc$base_ver sparc64 sparc64-suse-linux %define 
gcc_icecream 1
 add_cross cross-ppc64-gcc$base_ver ppc64 powerpc64-suse-linux %define 
gcc_icecream 1
-add_cross cross-ppc64le-gcc$base_ver ppc64le powerpc64le-suse-linux %define 
gcc_icecream 1
 add_cross cross-m68k-gcc$base_ver m68k m68k-suse-linux %define gcc_icecream 1
 add_cross cross-mips-gcc$base_ver mips mips-suse-linux %define gcc_icecream 1
 add_cross cross-hppa-gcc$base_ver-bootstrap hppa hppa-suse-linux %define 
gcc_libc_bootstrap 1

++++++ cross.spec.in ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:14.127900406 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:14.131900550 +0200
@@ -125,12 +125,21 @@
 %if 0%{!?gcc_icecream:1}
 %if 0%{!?gcc_libc_bootstrap:1}
 %if 0%{?gcc_target_newlib:1}
+%if !0%{?is_opensuse}
+ExclusiveArch: do-not-build
+%endif
 BuildRequires: cross-%cross_arch-newlib-devel
 %endif
 %if "%{cross_arch}" == "avr"
+%if !0%{?is_opensuse}
+ExclusiveArch: do-not-build
+%endif
 BuildRequires: avr-libc
 %endif
 %if 0%{?gcc_target_glibc:1}
+%if %{suse_version} < 1600
+ExclusiveArch: do-not-build
+%endif
 BuildRequires: cross-%cross_arch-glibc-devel
 Requires:      cross-%cross_arch-glibc-devel
 %endif
@@ -167,11 +176,16 @@
 %define amdgcn_newlib 1
 %endif
 %endif
-%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
-ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %if "%{cross_arch}" == "pru"
 ExclusiveArch: %arm
 %endif
+%if 0%{?gcc_target_glibc:1}
+%ifarch %{cross_arch}
+ExcludeArch: %{cross_arch}
+%endif
+%endif
+%if 0%{?gcc_icecream:1}%{?gcc_libc_bootstrap:1}
+ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
 %endif
 %define _binary_payload w.ufdio
 # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.nA70JW/_old  2023-08-30 10:22:14.167901835 +0200
+++ /var/tmp/diff_new_pack.nA70JW/_new  2023-08-30 10:22:14.171901977 +0200
@@ -1662,7 +1662,10 @@
        --enable-fix-cortex-a53-843419 \
 %endif
 %if "%{TARGET_ARCH}" == "powerpc64le"
-%if %{suse_version} >= 1600
+%if 0%{?cross_arch:1}
+       --with-glibc-version=2.32 \
+%endif
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
        --with-cpu=power9 \
        --with-tune=power9 \
 %else
@@ -1731,9 +1734,9 @@
 %endif
        --with-tune=generic \
 %endif
-%if "%{TARGET_ARCH}" == "s390"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
+%if "%{TARGET_ARCH}" == "s390" || "%{TARGET_ARCH}" == "s390x"
+%if %{suse_version} >= 1600 && !0%{?is_opensuse}
+        --with-tune=z14 --with-arch=z14 \
 %else
 %if %{suse_version} >= 1310
         --with-tune=zEC12 --with-arch=z196 \
@@ -1743,19 +1746,9 @@
 %endif
        --with-long-double-128 \
        --enable-decimal-float \
+%if 0%{?cross_arch:1}
+       --disable-multilib \
 %endif
-%if "%{TARGET_ARCH}" == "s390x"
-%if %{suse_version} >= 1600
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-%if %{suse_version} >= 1310
-        --with-tune=zEC12 --with-arch=z196 \
-%else
-       --with-tune=z9-109 --with-arch=z900 \
-%endif
-%endif
-       --with-long-double-128 \
-       --enable-decimal-float \
 %endif
 %if "%{TARGET_ARCH}" == "m68k"
        --disable-multilib \

Reply via email to