From 6f515b4b370bb2509aa732d009aa5cc636d2366f Mon Sep 17 00:00:00 2001 From: OBS User rguenther Date: Mon, 17 Jan 2022 09:34:48 +0000 Subject: [PATCH] Rev devel:gcc/6 Md5 4d49490f6e0975c05b3420d583a22026 2022-01-17 09:34:48 rguenther None --- cross-aarch64-gcc12-bootstrap.spec | 8 +-- cross-aarch64-gcc12.spec | 8 +-- cross-amdgcn-gcc12.spec | 8 +-- cross-arm-gcc12.spec | 8 +-- cross-arm-none-gcc12-bootstrap.spec | 8 +-- cross-arm-none-gcc12.spec | 8 +-- cross-avr-gcc12-bootstrap.spec | 8 +-- cross-avr-gcc12.spec | 8 +-- cross-epiphany-gcc12-bootstrap.spec | 8 +-- cross-epiphany-gcc12.spec | 8 +-- cross-hppa-gcc12.spec | 8 +-- cross-m68k-gcc12.spec | 8 +-- cross-mips-gcc12.spec | 8 +-- cross-nvptx-gcc12.spec | 8 +-- cross-ppc64-gcc12.spec | 8 +-- cross-ppc64le-gcc12.spec | 8 +-- cross-riscv64-elf-gcc12-bootstrap.spec | 10 ++-- cross-riscv64-elf-gcc12.spec | 10 ++-- cross-riscv64-gcc12-bootstrap.spec | 10 ++-- cross-riscv64-gcc12.spec | 10 ++-- cross-rx-gcc12-bootstrap.spec | 8 +-- cross-rx-gcc12.spec | 8 +-- cross-s390x-gcc12.spec | 8 +-- cross-sparc-gcc12.spec | 8 +-- cross-sparc64-gcc12.spec | 8 +-- cross-x86_64-gcc12.spec | 8 +-- cross.spec.in | 2 +- gcc.spec.in | 14 ++--- gcc12-testresults.spec | 9 +-- gcc12.spec | 83 ++++++++++++++++++-------- 30 files changed, 179 insertions(+), 145 deletions(-) diff --git a/cross-aarch64-gcc12-bootstrap.spec b/cross-aarch64-gcc12-bootstrap.spec index f76bfc6..f8228ad 100644 --- a/cross-aarch64-gcc12-bootstrap.spec +++ b/cross-aarch64-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-aarch64-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-aarch64-gcc12.spec b/cross-aarch64-gcc12.spec index fd8e195..4eee59d 100644 --- a/cross-aarch64-gcc12.spec +++ b/cross-aarch64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-aarch64-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-amdgcn-gcc12.spec b/cross-amdgcn-gcc12.spec index 12de6ea..f44d1fc 100644 --- a/cross-amdgcn-gcc12.spec +++ b/cross-amdgcn-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-amdgcn-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-arm-gcc12.spec b/cross-arm-gcc12.spec index 19275b5..70411e6 100644 --- a/cross-arm-gcc12.spec +++ b/cross-arm-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-arm-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-arm-none-gcc12-bootstrap.spec b/cross-arm-none-gcc12-bootstrap.spec index 968f55a..22b1d33 100644 --- a/cross-arm-none-gcc12-bootstrap.spec +++ b/cross-arm-none-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-arm-none-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -118,6 +118,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -288,10 +289,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -846,7 +846,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-arm-none-gcc12.spec b/cross-arm-none-gcc12.spec index 1907a44..553575b 100644 --- a/cross-arm-none-gcc12.spec +++ b/cross-arm-none-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-arm-none-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-avr-gcc12-bootstrap.spec b/cross-avr-gcc12-bootstrap.spec index 48b3647..5e6c3f6 100644 --- a/cross-avr-gcc12-bootstrap.spec +++ b/cross-avr-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-avr-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-avr-gcc12.spec b/cross-avr-gcc12.spec index d797ae8..a735dfd 100644 --- a/cross-avr-gcc12.spec +++ b/cross-avr-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-avr-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-epiphany-gcc12-bootstrap.spec b/cross-epiphany-gcc12-bootstrap.spec index 10b0794..373db73 100644 --- a/cross-epiphany-gcc12-bootstrap.spec +++ b/cross-epiphany-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-epiphany-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -118,6 +118,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -288,10 +289,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -846,7 +846,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-epiphany-gcc12.spec b/cross-epiphany-gcc12.spec index 5dd171a..5ed7641 100644 --- a/cross-epiphany-gcc12.spec +++ b/cross-epiphany-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-epiphany-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-hppa-gcc12.spec b/cross-hppa-gcc12.spec index 61bf484..77d362e 100644 --- a/cross-hppa-gcc12.spec +++ b/cross-hppa-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-hppa-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-m68k-gcc12.spec b/cross-m68k-gcc12.spec index b1d89c9..585c65d 100644 --- a/cross-m68k-gcc12.spec +++ b/cross-m68k-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-m68k-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-mips-gcc12.spec b/cross-mips-gcc12.spec index bd5d04e..3d839f0 100644 --- a/cross-mips-gcc12.spec +++ b/cross-mips-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-mips-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-nvptx-gcc12.spec b/cross-nvptx-gcc12.spec index 3068a1b..00cde81 100644 --- a/cross-nvptx-gcc12.spec +++ b/cross-nvptx-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-nvptx-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-ppc64-gcc12.spec b/cross-ppc64-gcc12.spec index b89c6ea..774e0fd 100644 --- a/cross-ppc64-gcc12.spec +++ b/cross-ppc64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-ppc64-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-ppc64le-gcc12.spec b/cross-ppc64le-gcc12.spec index e326b4e..726bfcf 100644 --- a/cross-ppc64le-gcc12.spec +++ b/cross-ppc64le-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-ppc64le-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-riscv64-elf-gcc12-bootstrap.spec b/cross-riscv64-elf-gcc12-bootstrap.spec index 431fc26..c71e15f 100644 --- a/cross-riscv64-elf-gcc12-bootstrap.spec +++ b/cross-riscv64-elf-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-riscv64-elf-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -118,6 +118,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -258,7 +259,7 @@ ExclusiveArch: do-not-build %endif %endif %if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1} -ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 +ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 %endif %define _binary_payload w.ufdio # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has @@ -288,10 +289,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -846,7 +846,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-riscv64-elf-gcc12.spec b/cross-riscv64-elf-gcc12.spec index 43f06fd..80defc2 100644 --- a/cross-riscv64-elf-gcc12.spec +++ b/cross-riscv64-elf-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-riscv64-elf-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -257,7 +258,7 @@ ExclusiveArch: do-not-build %endif %endif %if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1} -ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 +ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 %endif %define _binary_payload w.ufdio # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-riscv64-gcc12-bootstrap.spec b/cross-riscv64-gcc12-bootstrap.spec index 3cadbb4..a8ee3c5 100644 --- a/cross-riscv64-gcc12-bootstrap.spec +++ b/cross-riscv64-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-riscv64-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -257,7 +258,7 @@ ExclusiveArch: do-not-build %endif %endif %if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1} -ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 +ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 %endif %define _binary_payload w.ufdio # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-riscv64-gcc12.spec b/cross-riscv64-gcc12.spec index 012948e..10adc35 100644 --- a/cross-riscv64-gcc12.spec +++ b/cross-riscv64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-riscv64-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -257,7 +258,7 @@ ExclusiveArch: do-not-build %endif %endif %if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1} -ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 +ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 %endif %define _binary_payload w.ufdio # Obsolete cross-ppc-gcc49 from cross-ppc64-gcc49 which has @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-rx-gcc12-bootstrap.spec b/cross-rx-gcc12-bootstrap.spec index 093caf7..68659f4 100644 --- a/cross-rx-gcc12-bootstrap.spec +++ b/cross-rx-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-rx-gcc12-bootstrap +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -118,6 +118,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -288,10 +289,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -846,7 +846,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-rx-gcc12.spec b/cross-rx-gcc12.spec index e3cd248..e3ab868 100644 --- a/cross-rx-gcc12.spec +++ b/cross-rx-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-rx-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-s390x-gcc12.spec b/cross-s390x-gcc12.spec index cdd8076..1d7ef8f 100644 --- a/cross-s390x-gcc12.spec +++ b/cross-s390x-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-s390x-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-sparc-gcc12.spec b/cross-sparc-gcc12.spec index 72515a3..f431adb 100644 --- a/cross-sparc-gcc12.spec +++ b/cross-sparc-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-sparc-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-sparc64-gcc12.spec b/cross-sparc64-gcc12.spec index 499f218..335046d 100644 --- a/cross-sparc64-gcc12.spec +++ b/cross-sparc64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-sparc64-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross-x86_64-gcc12.spec b/cross-x86_64-gcc12.spec index c1a975c..cc236d2 100644 --- a/cross-x86_64-gcc12.spec +++ b/cross-x86_64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file for package cross-x86_64-gcc12 +# spec file # # Copyright (c) 2022 SUSE LLC # @@ -117,6 +117,7 @@ Release: 0 %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -287,10 +288,9 @@ Requires: libstdc++6-devel-gcc12 AutoReqProv: off BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. @@ -845,7 +845,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/cross.spec.in b/cross.spec.in index 9c8857e..5f7d49f 100644 --- a/cross.spec.in +++ b/cross.spec.in @@ -343,7 +343,7 @@ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-g++%{binsuffix} \ install -s $RPM_BUILD_ROOT/%{_prefix}/bin/%{gcc_target_arch}-gcc%{binsuffix} \ $RPM_BUILD_ROOT/env/usr/bin/gcc -for back in cc1 cc1plus; do +for back in cc1 cc1plus; do install -s -D $RPM_BUILD_ROOT/%{targetlibsubdir}/$back \ $RPM_BUILD_ROOT/env%{targetlibsubdir}/$back done diff --git a/gcc.spec.in b/gcc.spec.in index 90f1044..9f34f97 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -944,7 +944,7 @@ Extensive HTML documentation for the GNU C++ standard library. # PACKAGE-BEGIN %package go@variant@ Summary: GNU Go Compiler -License: GPL-3.0-or-later +License: GPL-3.0-or-later Group: Development/Languages/Other Requires: gcc@base_ver@@variant@ = %{version}-%{release} Requires: gcc@base_ver@-go = %{version}-%{release} @@ -977,7 +977,7 @@ Runtime library for the GNU Go language. # PACKAGE-BEGIN %package d@variant@ Summary: GNU D Compiler -License: GPL-3.0-or-later +License: GPL-3.0-or-later Group: Development/Languages/Other Requires: gcc@base_ver@@variant@ = %{version}-%{release} Requires: gcc@base_ver@-d = %{version}-%{release} @@ -1663,7 +1663,7 @@ for i in `find %{GCCDIST}/[36]*/libstdc++-v3/include -name c++config.h 2>/dev/nu echo "Urgs?" exit 1 fi - + cat > %{buildroot}/%{_prefix}/include/c++/%{gcc_dir_version}/%{GCCDIST}/bits/c++config.h < gcc@base_ver@-locale.lang %ifarch %itm_arch %install_info --info-dir=%{_infodir} %{_infodir}/libitm%{binsuffix}.info.gz %endif -%if %{build_fortran} +%if %{build_fortran} %install_info --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz %ifarch %quadmath_arch %install_info --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz @@ -2034,8 +2034,6 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang %{libsubdir}/include/pmmintrin.h %{libsubdir}/include/tmmintrin.h %{libsubdir}/include/smmintrin.h -%endif -%ifarch ppc64le %{libsubdir}/include/rs6000-vecdefines.h %{libsubdir}/include/immintrin.h %{libsubdir}/include/nmmintrin.h diff --git a/gcc12-testresults.spec b/gcc12-testresults.spec index aedd694..a3d99fa 100644 --- a/gcc12-testresults.spec +++ b/gcc12-testresults.spec @@ -21,6 +21,7 @@ # # spec file for package gcc${version} # +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -369,6 +370,7 @@ Suggests: gcc12-info gcc12-locale %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -396,9 +398,8 @@ Patch100: newlib-4.1.0-aligned_alloc.patch Summary: Testsuite results License: SUSE-Public-Domain -Group: Development/Languages/C and C++ -%description +%description Results from running the gcc and target library testsuites. @@ -938,14 +939,14 @@ mkdir ../testresults export SUSE_ASNEEDED=0 export NO_BRP_CHECK_BYTECODE_VERSION=true cd obj-%{GCCDIST} -%if 0%{?run_tests:1} +%if 0%{?run_tests:1} cp `find . -name "*.sum"` ../testresults/ cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' | grep -v libbacktrace` ../testresults/ chmod 644 ../testresults/* %endif %if 0%{?run_tests:1} -%files +%files %defattr(-,root,root) %doc testresults/test_summary.txt %doc testresults/*.sum diff --git a/gcc12.spec b/gcc12.spec index 783bcb0..9a53928 100644 --- a/gcc12.spec +++ b/gcc12.spec @@ -16,8 +16,6 @@ # -# nospeccleaner - %if !0%{?usrmerged} %define _slibdir /%{_lib} %define slibdir /lib @@ -351,6 +349,7 @@ Suggests: gcc12-info gcc12-locale %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc12-rpmlintrc @@ -376,9 +375,8 @@ Patch61: gcc44-rename-info-files.patch # Patches for embedded newlib Patch100: newlib-4.1.0-aligned_alloc.patch -Summary: The GNU C Compiler and Support Files License: GPL-3.0-or-later -Group: Development/Languages/C and C++ +Summary: The GNU C Compiler and Support Files %description Core package for the GNU Compiler Collection, including the C language @@ -387,11 +385,8 @@ frontend. Language frontends other than C are split to different sub-packages, namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go. - - %package -n gcc12-32bit Summary: The GNU C Compiler 32bit support -License: GPL-3.0-or-later Group: Development/Languages/C and C++ Requires: gcc12 = %{version}-%{release} Requires: libgcc_s%{libgcc_s}-32bit >= %{version}-%{release} @@ -418,7 +413,6 @@ This package contains 32bit support for the GNU Compiler Collection. %package -n gcc12-64bit Summary: The GNU C Compiler 64bit support -License: GPL-3.0-or-later Group: Development/Languages/C and C++ Requires: gcc12 = %{version}-%{release} Requires: libgcc_s%{libgcc_s}-64bit >= %{version}-%{release} @@ -452,7 +446,6 @@ Requires: glibc-devel-64bit %description -n gcc12-64bit This package contains 64bit support for the GNU Compiler Collection. - %package devel Summary: GCC plugins development enviroment License: GPL-3.0-or-later @@ -464,7 +457,6 @@ Requires: mpc-devel %description devel Files required for developing and compiling GCC plugins. - %package locale Summary: Locale Data for the GNU Compiler Collection License: GPL-3.0-or-later @@ -475,7 +467,6 @@ Requires: gcc12 = %{version}-%{release} Locale data for the GNU Compiler Collection (GCC) to give error message in the current locale. - %package c++ Summary: The GNU C++ Compiler License: GPL-3.0-or-later @@ -486,6 +477,7 @@ Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix} = %{version} %description c++ This package contains the GNU compiler for C++. + %package c++-32bit Summary: The GNU C++ Compiler License: GPL-3.0-or-later @@ -496,6 +488,7 @@ Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-32bit = %{ve %description c++-32bit This package contains the GNU compiler for C++. + %package c++-64bit Summary: The GNU C++ Compiler License: GPL-3.0-or-later @@ -507,7 +500,6 @@ Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-64bit = %{ve %description c++-64bit This package contains the GNU compiler for C++. - %package -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix} Summary: Include Files and Libraries mandatory for Development License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -525,6 +517,7 @@ Requires: libstdc++%{libstdcxx_sover}-pp = %{version}-%{release} %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix} This package contains all the headers and libraries of the standard C++ library. It is needed for compiling C++ code. + %package -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-32bit Summary: Include Files and Libraries mandatory for Development License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -542,6 +535,7 @@ Requires: libstdc++%{libstdcxx_sover}-pp-32bit = %{version}-%{release} %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-32bit This package contains all the headers and libraries of the standard C++ library. It is needed for compiling C++ code. + %package -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-64bit Summary: Include Files and Libraries mandatory for Development License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -578,6 +572,7 @@ Supplements: (gdb and libstdc++%{libstdcxx_sover} = %{version}-%{release}) %description -n libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix} This package contains pretty printers for the C++ standard library usable from GDB. + %package -n libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix}-32bit Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later @@ -596,6 +591,7 @@ Supplements: (gdb and libstdc++%{libstdcxx_sover}-32bit = %{version}-%{releas %description -n libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix}-32bit This package contains pretty printers for the C++ standard library usable from GDB. + %package -n libstdc++%{libstdcxx_sover}-pp%{libdevel_suffix}-64bit Summary: GDB pretty printers for the C++ standard library License: GPL-3.0-or-later @@ -615,7 +611,6 @@ Supplements: (gdb and libstdc++%{libstdcxx_sover}-64bit = %{version}-%{releas This package contains pretty printers for the C++ standard library usable from GDB. - %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} Summary: C compiler runtime library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -631,6 +626,7 @@ Libgcc is needed for dynamically linked C programs. %post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig %postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix} -p /sbin/ldconfig + %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit Summary: C compiler runtime library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -646,6 +642,7 @@ Libgcc is needed for dynamically linked C programs. %post -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig %postun -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-32bit -p /sbin/ldconfig + %package -n libgcc_s%{libgcc_s}%{libgcc_s_suffix}-64bit Summary: C compiler runtime library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -681,6 +678,7 @@ option. %post -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig %postun -n libgomp%{libgomp_sover}%{libgomp_suffix} -p /sbin/ldconfig + %package -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit Summary: The GNU compiler collection OpenMP runtime library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -700,6 +698,7 @@ option. %post -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig %postun -n libgomp%{libgomp_sover}%{libgomp_suffix}-32bit -p /sbin/ldconfig + %package -n libgomp%{libgomp_sover}%{libgomp_suffix}-64bit Summary: The GNU compiler collection OpenMP runtime library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -737,6 +736,7 @@ The standard C++ library, needed for dynamically linked C++ programs. %post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig %postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix} -p /sbin/ldconfig + %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit Summary: The standard C++ shared library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -754,6 +754,7 @@ The standard C++ library, needed for dynamically linked C++ programs. %post -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig %postun -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-32bit -p /sbin/ldconfig + %package -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-64bit Summary: The standard C++ shared library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -784,7 +785,6 @@ Conflicts: %selfconflict libstdc++%{libstdcxx_sover}-locale %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale The standard C++ library locale data. - %package info Summary: Documentation for the GNU compiler collection License: GFDL-1.2-only @@ -798,7 +798,6 @@ BuildArch: noarch GNU info-pages for the GNU compiler collection covering both user-level and internals documentation. - %package objc Summary: GNU Objective C Compiler License: GPL-3.0-or-later @@ -811,6 +810,7 @@ Requires: libobjc%{libobjc_sover} >= %{version}-%{release} This package contains the GNU Objective C compiler. Objective C is an object oriented language, created by Next Inc. and used in their Nextstep OS. The source code is available in the gcc package. + %package objc-32bit Summary: GNU Objective C Compiler License: GPL-3.0-or-later @@ -823,6 +823,7 @@ Requires: libobjc%{libobjc_sover}-32bit >= %{version}-%{release} This package contains the GNU Objective C compiler. Objective C is an object oriented language, created by Next Inc. and used in their Nextstep OS. The source code is available in the gcc package. + %package objc-64bit Summary: GNU Objective C Compiler License: GPL-3.0-or-later @@ -851,6 +852,7 @@ The library for the GNU Objective C compiler. %post -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig %postun -n libobjc%{libobjc_sover}%{libobjc_suffix} -p /sbin/ldconfig + %package -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit Summary: Library for the GNU Objective C Compiler License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -866,6 +868,7 @@ The library for the GNU Objective C compiler. %post -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig %postun -n libobjc%{libobjc_sover}%{libobjc_suffix}-32bit -p /sbin/ldconfig + %package -n libobjc%{libobjc_sover}%{libobjc_suffix}-64bit Summary: Library for the GNU Objective C Compiler License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -894,6 +897,7 @@ Requires: gcc12-objc = %{version}-%{release} This package contains the GNU Objective C++ compiler. Objective C++ is an object oriented language, created by Next Inc. and used in their Nextstep OS. The source code is available in the gcc package. + %package obj-c++-32bit Summary: GNU Objective C++ Compiler License: GPL-3.0-or-later @@ -906,6 +910,7 @@ Requires: gcc12-objc-32bit = %{version}-%{release} This package contains the GNU Objective C++ compiler. Objective C++ is an object oriented language, created by Next Inc. and used in their Nextstep OS. The source code is available in the gcc package. + %package obj-c++-64bit Summary: GNU Objective C++ Compiler License: GPL-3.0-or-later @@ -919,7 +924,6 @@ This package contains the GNU Objective C++ compiler. Objective C++ is an object oriented language, created by Next Inc. and used in their Nextstep OS. The source code is available in the gcc package. - %package -n cpp12 Summary: The GCC Preprocessor License: GPL-3.0-or-later @@ -929,7 +933,6 @@ Group: Development/Languages/C and C++ This Package contains just the preprocessor that is used by the X11 packages. - %package ada Summary: GNU Ada Compiler Based on GCC (GNAT) License: GPL-3.0-or-later @@ -941,6 +944,7 @@ Requires: libada12 = %{version}-%{release} %description ada This package contains an Ada compiler and associated development tools based on the GNU GCC technology. + %package ada-32bit Summary: GNU Ada Compiler Based on GCC (GNAT) License: GPL-3.0-or-later @@ -952,6 +956,7 @@ Requires: libada12-32bit = %{version}-%{release} %description ada-32bit This package contains an Ada compiler and associated development tools based on the GNU GCC technology. + %package ada-64bit Summary: GNU Ada Compiler Based on GCC (GNAT) License: GPL-3.0-or-later @@ -986,6 +991,7 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada12 -p /sbin/ldconfig %postun -n libada12 -p /sbin/ldconfig + %package -n libada12-32bit Summary: GNU Ada Runtime Libraries License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1008,6 +1014,7 @@ implementation of Distributed Systems Programming (GLADE) and the Posix %post -n libada12-32bit -p /sbin/ldconfig %postun -n libada12-32bit -p /sbin/ldconfig + %package -n libada12-64bit Summary: GNU Ada Runtime Libraries License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1044,6 +1051,7 @@ Requires: libquadmath%{libquadmath_sover} >= %{version}-%{release} %description fortran This is the Fortran compiler of the GNU Compiler Collection (GCC). + %package fortran-32bit Summary: The GNU Fortran Compiler and Support Files License: GPL-3.0-or-later @@ -1057,6 +1065,7 @@ Requires: libquadmath%{libquadmath_sover}-32bit >= %{version}-%{release} %description fortran-32bit This is the Fortran compiler of the GNU Compiler Collection (GCC). + %package fortran-64bit Summary: The GNU Fortran Compiler and Support Files License: GPL-3.0-or-later @@ -1090,6 +1099,7 @@ of the GNU Compiler Collection (GCC). %post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig %postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix} -p /sbin/ldconfig + %package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit Summary: The GNU Fortran Compiler Runtime Library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1109,6 +1119,7 @@ of the GNU Compiler Collection (GCC). %post -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig %postun -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-32bit -p /sbin/ldconfig + %package -n libgfortran%{libgfortran_sover}%{libgfortran_suffix}-64bit Summary: The GNU Fortran Compiler Runtime Library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1146,6 +1157,7 @@ operations. %post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig %postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig + %package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1-only @@ -1163,6 +1175,7 @@ operations. %post -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig %postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig + %package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit Summary: The GNU Fortran Compiler Quadmath Runtime Library License: LGPL-2.1-only @@ -1197,6 +1210,7 @@ The runtime library needed to run programs compiled with the %post -n libitm%{libitm_sover}%{libitm_suffix} -p /sbin/ldconfig %postun -n libitm%{libitm_sover}%{libitm_suffix} -p /sbin/ldconfig + %package -n libitm%{libitm_sover}%{libitm_suffix}-32bit Summary: The GNU Compiler Transactional Memory Runtime Library License: MIT @@ -1213,6 +1227,7 @@ The runtime library needed to run programs compiled with the %post -n libitm%{libitm_sover}%{libitm_suffix}-32bit -p /sbin/ldconfig %postun -n libitm%{libitm_sover}%{libitm_suffix}-32bit -p /sbin/ldconfig + %package -n libitm%{libitm_sover}%{libitm_suffix}-64bit Summary: The GNU Compiler Transactional Memory Runtime Library License: MIT @@ -1246,6 +1261,7 @@ The runtime library needed to run programs compiled with the %post -n libasan%{libasan_sover}%{libasan_suffix} -p /sbin/ldconfig %postun -n libasan%{libasan_sover}%{libasan_suffix} -p /sbin/ldconfig + %package -n libasan%{libasan_sover}%{libasan_suffix}-32bit Summary: The GNU Compiler Address Sanitizer Runtime Library License: MIT @@ -1262,6 +1278,7 @@ The runtime library needed to run programs compiled with the %post -n libasan%{libasan_sover}%{libasan_suffix}-32bit -p /sbin/ldconfig %postun -n libasan%{libasan_sover}%{libasan_suffix}-32bit -p /sbin/ldconfig + %package -n libasan%{libasan_sover}%{libasan_suffix}-64bit Summary: The GNU Compiler Address Sanitizer Runtime Library License: MIT @@ -1295,6 +1312,7 @@ The runtime library needed to run programs compiled with the %post -n libtsan%{libtsan_sover}%{libtsan_suffix} -p /sbin/ldconfig %postun -n libtsan%{libtsan_sover}%{libtsan_suffix} -p /sbin/ldconfig + %package -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit Summary: The GNU Compiler Thread Sanitizer Runtime Library License: MIT @@ -1311,6 +1329,7 @@ The runtime library needed to run programs compiled with the %post -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit -p /sbin/ldconfig %postun -n libtsan%{libtsan_sover}%{libtsan_suffix}-32bit -p /sbin/ldconfig + %package -n libtsan%{libtsan_sover}%{libtsan_suffix}-64bit Summary: The GNU Compiler Thread Sanitizer Runtime Library License: MIT @@ -1344,6 +1363,7 @@ The runtime library needed to run programs compiled with the %post -n libhwasan%{libhwasan_sover}%{libhwasan_suffix} -p /sbin/ldconfig %postun -n libhwasan%{libhwasan_sover}%{libhwasan_suffix} -p /sbin/ldconfig + %package -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}-32bit Summary: The GNU Compiler Hardware-assisted Address Sanitizer Runtime Library License: MIT @@ -1360,6 +1380,7 @@ The runtime library needed to run programs compiled with the %post -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}-32bit -p /sbin/ldconfig %postun -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}-32bit -p /sbin/ldconfig + %package -n libhwasan%{libhwasan_sover}%{libhwasan_suffix}-64bit Summary: The GNU Compiler Hardware-assisted Address Sanitizer Runtime Library License: MIT @@ -1392,6 +1413,7 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic%{libatomic_sover}%{libatomic_suffix} -p /sbin/ldconfig %postun -n libatomic%{libatomic_sover}%{libatomic_suffix} -p /sbin/ldconfig + %package -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit Summary: The GNU Compiler Atomic Operations Runtime Library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1407,6 +1429,7 @@ The runtime library for atomic operations of the GNU Compiler Collection (GCC). %post -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit -p /sbin/ldconfig %postun -n libatomic%{libatomic_sover}%{libatomic_suffix}-32bit -p /sbin/ldconfig + %package -n libatomic%{libatomic_sover}%{libatomic_suffix}-64bit Summary: The GNU Compiler Atomic Operations Runtime Library License: GPL-3.0-or-later WITH GCC-exception-3.1 @@ -1439,6 +1462,7 @@ The runtime library needed to run programs compiled with the %post -n liblsan%{liblsan_sover}%{liblsan_suffix} -p /sbin/ldconfig %postun -n liblsan%{liblsan_sover}%{liblsan_suffix} -p /sbin/ldconfig + %package -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit Summary: The GNU Compiler Leak Sanitizer Runtime Library License: MIT @@ -1455,6 +1479,7 @@ The runtime library needed to run programs compiled with the %post -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit -p /sbin/ldconfig %postun -n liblsan%{liblsan_sover}%{liblsan_suffix}-32bit -p /sbin/ldconfig + %package -n liblsan%{liblsan_sover}%{liblsan_suffix}-64bit Summary: The GNU Compiler Leak Sanitizer Runtime Library License: MIT @@ -1488,6 +1513,7 @@ The runtime library needed to run programs compiled with the %post -n libubsan%{libubsan_sover}%{libubsan_suffix} -p /sbin/ldconfig %postun -n libubsan%{libubsan_sover}%{libubsan_suffix} -p /sbin/ldconfig + %package -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit Summary: The GNU Compiler Undefined Sanitizer Runtime Library License: MIT @@ -1504,6 +1530,7 @@ The runtime library needed to run programs compiled with the %post -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit -p /sbin/ldconfig %postun -n libubsan%{libubsan_sover}%{libubsan_suffix}-32bit -p /sbin/ldconfig + %package -n libubsan%{libubsan_sover}%{libubsan_suffix}-64bit Summary: The GNU Compiler Undefined Sanitizer Runtime Library License: MIT @@ -1537,6 +1564,7 @@ The runtime library needed to run programs compiled with the %post -n libvtv%{libvtv_sover}%{libvtv_suffix} -p /sbin/ldconfig %postun -n libvtv%{libvtv_sover}%{libvtv_suffix} -p /sbin/ldconfig + %package -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit Summary: The GNU Compiler Vtable Verifier Runtime Library License: MIT @@ -1553,6 +1581,7 @@ The runtime library needed to run programs compiled with the %post -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit -p /sbin/ldconfig %postun -n libvtv%{libvtv_sover}%{libvtv_suffix}-32bit -p /sbin/ldconfig + %package -n libvtv%{libvtv_sover}%{libvtv_suffix}-64bit Summary: The GNU Compiler Vtable Verifier Runtime Library License: MIT @@ -1592,6 +1621,7 @@ Requires: libgo%{libgo_sover} >= %{version}-%{release} %description go This package contains a Go compiler and associated development files based on the GNU GCC technology. + %package go-32bit Summary: GNU Go Compiler License: GPL-3.0-or-later @@ -1603,6 +1633,7 @@ Requires: libgo%{libgo_sover}-32bit >= %{version}-%{release} %description go-32bit This package contains a Go compiler and associated development files based on the GNU GCC technology. + %package go-64bit Summary: GNU Go Compiler License: GPL-3.0-or-later @@ -1630,6 +1661,7 @@ Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix} -p /sbin/ldconfig %postun -n libgo%{libgo_sover}%{libgo_suffix} -p /sbin/ldconfig + %package -n libgo%{libgo_sover}%{libgo_suffix}-32bit Summary: GNU Go compiler runtime library License: BSD-3-Clause @@ -1645,6 +1677,7 @@ Runtime library for the GNU Go language. %post -n libgo%{libgo_sover}%{libgo_suffix}-32bit -p /sbin/ldconfig %postun -n libgo%{libgo_sover}%{libgo_suffix}-32bit -p /sbin/ldconfig + %package -n libgo%{libgo_sover}%{libgo_suffix}-64bit Summary: GNU Go compiler runtime library License: BSD-3-Clause @@ -1673,6 +1706,7 @@ Requires: libgphobos%{libgphobos_sover} >= %{version}-%{release} %description d This package contains a D compiler and associated development files based on the GNU GCC technology. + %package d-32bit Summary: GNU D Compiler License: GPL-3.0-or-later @@ -1685,6 +1719,7 @@ Requires: libgphobos%{libgphobos_sover}-32bit >= %{version}-%{release} %description d-32bit This package contains a D compiler and associated development files based on the GNU GCC technology. + %package d-64bit Summary: GNU D Compiler License: GPL-3.0-or-later @@ -1713,6 +1748,7 @@ Runtime library for the GNU D language. %post -n libgphobos%{libgphobos_sover}%{libgphobos_suffix} -p /sbin/ldconfig %postun -n libgphobos%{libgphobos_sover}%{libgphobos_suffix} -p /sbin/ldconfig + %package -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}-32bit Summary: GNU D compiler runtime library License: BSL-1.0 @@ -1728,6 +1764,7 @@ Runtime library for the GNU D language. %post -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}-32bit -p /sbin/ldconfig %postun -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}-32bit -p /sbin/ldconfig + %package -n libgphobos%{libgphobos_sover}%{libgphobos_suffix}-64bit Summary: GNU D compiler runtime library License: BSL-1.0 @@ -1759,6 +1796,7 @@ Runtime library for the GNU D language. %post -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix} -p /sbin/ldconfig %postun -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix} -p /sbin/ldconfig + %package -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}-32bit Summary: GNU D compiler runtime library License: BSL-1.0 @@ -1774,6 +1812,7 @@ Runtime library for the GNU D language. %post -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}-32bit -p /sbin/ldconfig %postun -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}-32bit -p /sbin/ldconfig + %package -n libgdruntime%{libgdruntime_sover}%{libgdruntime_suffix}-64bit Summary: GNU D compiler runtime library License: BSL-1.0 @@ -1793,7 +1832,6 @@ Runtime library for the GNU D language. %package -n libgccjit%{libgccjit_sover}%{libgccjit_suffix} Summary: The GNU Compiler Collection JIT library License: GPL-3.0-or-later -Group: Development/Languages/C and C++ Provides: libgccjit%{libgccjit_sover} = %{version}-%{release} Requires: gcc12 @@ -1816,7 +1854,6 @@ Package contains header files and documentation for GCC JIT front-end. %package -n gcc12-testresults Summary: Testsuite results License: SUSE-Public-Domain -Group: Development/Languages/C and C++ %description -n gcc12-testresults Results from running the gcc and target library testsuites. @@ -2600,7 +2637,7 @@ for l in `find %{buildroot} -name '*.la'`; do mv $l.new $l done -%if 0%{?run_tests:1} +%if 0%{?run_tests:1} cp `find . -name "*.sum"` ../testresults/ cp `find . -name "*.log" \! -name "config.log" | grep -v 'acats.\?/tests' | grep -v libbacktrace` ../testresults/ chmod 644 ../testresults/* @@ -2654,7 +2691,7 @@ mv %{buildroot}/%{_infodir}/libgomp.info %{buildroot}/%{_infodir}/libgomp%{binsu %ifarch %itm_arch mv %{buildroot}/%{_infodir}/libitm.info %{buildroot}/%{_infodir}/libitm%{binsuffix}.info %endif -%if %{build_fortran} +%if %{build_fortran} %ifarch %quadmath_arch mv %{buildroot}/%{_infodir}/libquadmath.info %{buildroot}/%{_infodir}/libquadmath%{binsuffix}.info %endif @@ -2681,7 +2718,7 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc12-locale.lang %ifarch %itm_arch %install_info --info-dir=%{_infodir} %{_infodir}/libitm%{binsuffix}.info.gz %endif -%if %{build_fortran} +%if %{build_fortran} %install_info --info-dir=%{_infodir} %{_infodir}/gfortran%{binsuffix}.info.gz %ifarch %quadmath_arch %install_info --info-dir=%{_infodir} %{_infodir}/libquadmath%{binsuffix}.info.gz @@ -2785,8 +2822,6 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc12-locale.lang %{libsubdir}/include/pmmintrin.h %{libsubdir}/include/tmmintrin.h %{libsubdir}/include/smmintrin.h -%endif -%ifarch ppc64le %{libsubdir}/include/rs6000-vecdefines.h %{libsubdir}/include/immintrin.h %{libsubdir}/include/nmmintrin.h