From 77d3ccd24dcf10e3ed366d491ab9c2d2c9129c1e Mon Sep 17 00:00:00 2001 From: OBS User rguenther Date: Thu, 13 Jan 2022 12:48:03 +0000 Subject: [PATCH] Rev devel:gcc/2 Md5 4740ea568825a52f96653ee3e6abf3a5 2022-01-13 12:48:03 rguenther None --- cross-aarch64-gcc12-bootstrap.spec | 10 +-- cross-aarch64-gcc12.spec | 10 +-- cross-amdgcn-gcc12.spec | 10 +-- cross-arm-gcc12.spec | 10 +-- cross-arm-none-gcc12-bootstrap.spec | 10 +-- cross-arm-none-gcc12.spec | 10 +-- cross-avr-gcc12-bootstrap.spec | 10 +-- cross-avr-gcc12.spec | 10 +-- cross-epiphany-gcc12-bootstrap.spec | 10 +-- cross-epiphany-gcc12.spec | 10 +-- cross-hppa-gcc12.spec | 10 +-- cross-m68k-gcc12.spec | 10 +-- cross-mips-gcc12.spec | 10 +-- cross-nvptx-gcc12.spec | 10 +-- cross-ppc64-gcc12.spec | 10 +-- cross-ppc64le-gcc12.spec | 10 +-- cross-riscv64-elf-gcc12-bootstrap.spec | 12 ++-- cross-riscv64-elf-gcc12.spec | 12 ++-- cross-riscv64-gcc12-bootstrap.spec | 12 ++-- cross-riscv64-gcc12.spec | 12 ++-- cross-rx-gcc12-bootstrap.spec | 10 +-- cross-rx-gcc12.spec | 10 +-- cross-s390x-gcc12.spec | 10 +-- cross-sparc-gcc12.spec | 10 +-- cross-sparc64-gcc12.spec | 10 +-- cross-x86_64-gcc12.spec | 10 +-- gcc.spec.in | 2 +- gcc12-testresults.spec | 13 ++-- gcc12.spec | 85 ++++++++------------------ 29 files changed, 165 insertions(+), 203 deletions(-) diff --git a/cross-aarch64-gcc12-bootstrap.spec b/cross-aarch64-gcc12-bootstrap.spec index 6ded0a2..ce967cd 100644 --- a/cross-aarch64-gcc12-bootstrap.spec +++ b/cross-aarch64-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-aarch64-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 a79c9d3..9ef6e17 100644 --- a/cross-aarch64-gcc12.spec +++ b/cross-aarch64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-aarch64-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 4f76cf1..7886534 100644 --- a/cross-amdgcn-gcc12.spec +++ b/cross-amdgcn-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-amdgcn-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 e0257a6..04053f9 100644 --- a/cross-arm-gcc12.spec +++ b/cross-arm-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-arm-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 6a40d12..f7abdd9 100644 --- a/cross-arm-none-gcc12-bootstrap.spec +++ b/cross-arm-none-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-arm-none-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -118,7 +118,6 @@ 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 @@ -289,9 +288,10 @@ 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}. @@ -460,7 +460,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -841,7 +841,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 8d84641..1a3c00e 100644 --- a/cross-arm-none-gcc12.spec +++ b/cross-arm-none-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-arm-none-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 af7544e..51d5a95 100644 --- a/cross-avr-gcc12-bootstrap.spec +++ b/cross-avr-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-avr-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 4fb209b..532ba40 100644 --- a/cross-avr-gcc12.spec +++ b/cross-avr-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-avr-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 1f9dfba..e25cdb4 100644 --- a/cross-epiphany-gcc12-bootstrap.spec +++ b/cross-epiphany-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-epiphany-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -118,7 +118,6 @@ 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 @@ -289,9 +288,10 @@ 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}. @@ -460,7 +460,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -841,7 +841,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 a4a1e45..96a24b7 100644 --- a/cross-epiphany-gcc12.spec +++ b/cross-epiphany-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-epiphany-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 38ea9f4..ff47dee 100644 --- a/cross-hppa-gcc12.spec +++ b/cross-hppa-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-hppa-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 8cd77f2..2bc87f9 100644 --- a/cross-m68k-gcc12.spec +++ b/cross-m68k-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-m68k-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 320832a..30c87c9 100644 --- a/cross-mips-gcc12.spec +++ b/cross-mips-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-mips-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 5ad58d5..365df12 100644 --- a/cross-nvptx-gcc12.spec +++ b/cross-nvptx-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-nvptx-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 dbf12e5..d95fddb 100644 --- a/cross-ppc64-gcc12.spec +++ b/cross-ppc64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-ppc64-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 a4ade82..9ee09c2 100644 --- a/cross-ppc64le-gcc12.spec +++ b/cross-ppc64le-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-ppc64le-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 a2af677..86928fa 100644 --- a/cross-riscv64-elf-gcc12-bootstrap.spec +++ b/cross-riscv64-elf-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-riscv64-elf-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -118,7 +118,6 @@ 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 @@ -259,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 @@ -289,9 +288,10 @@ 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}. @@ -460,7 +460,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -841,7 +841,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 32db4e6..9b03f9e 100644 --- a/cross-riscv64-elf-gcc12.spec +++ b/cross-riscv64-elf-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-riscv64-elf-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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 +257,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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 283b66d..ea691ac 100644 --- a/cross-riscv64-gcc12-bootstrap.spec +++ b/cross-riscv64-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-riscv64-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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 +257,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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 6f8f1eb..b6c5f81 100644 --- a/cross-riscv64-gcc12.spec +++ b/cross-riscv64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-riscv64-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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 +257,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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 50aaf13..70d1365 100644 --- a/cross-rx-gcc12-bootstrap.spec +++ b/cross-rx-gcc12-bootstrap.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-rx-gcc12-bootstrap # # Copyright (c) 2022 SUSE LLC # @@ -118,7 +118,6 @@ 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 @@ -289,9 +288,10 @@ 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}. @@ -460,7 +460,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -841,7 +841,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 2dfaccc..994e2b3 100644 --- a/cross-rx-gcc12.spec +++ b/cross-rx-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-rx-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 7a42d04..33b5f71 100644 --- a/cross-s390x-gcc12.spec +++ b/cross-s390x-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-s390x-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 611256b..9a40777 100644 --- a/cross-sparc-gcc12.spec +++ b/cross-sparc-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-sparc-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 47df7f2..88d65b3 100644 --- a/cross-sparc64-gcc12.spec +++ b/cross-sparc64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-sparc64-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 7a47312..8cc575f 100644 --- a/cross-x86_64-gcc12.spec +++ b/cross-x86_64-gcc12.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package cross-x86_64-gcc12 # # Copyright (c) 2022 SUSE LLC # @@ -117,7 +117,6 @@ 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,9 +287,10 @@ 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}. @@ -459,7 +459,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -840,7 +840,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 a35ff0a..d31b137 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:351786231cfa2f810e162e3dfa488e620db91da2e1a6bf3fd434d2ea7131d170 +oid sha256:65eb45aa83bf5c97a56a68e74cd470b0b0e6731387a4af0b19993e5cb35de0e2 size 86086 diff --git a/gcc12-testresults.spec b/gcc12-testresults.spec index 23adcdc..e981e50 100644 --- a/gcc12-testresults.spec +++ b/gcc12-testresults.spec @@ -21,7 +21,6 @@ # # 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 @@ -259,7 +258,7 @@ BuildRequires: gcc-ada %endif %endif %if %{build_d} -%if %{suse_version} < 1500 +%if %{suse_version} < 1550 BuildRequires: gcc11-d %else BuildRequires: gcc-d @@ -369,7 +368,6 @@ 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 @@ -397,8 +395,9 @@ 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. @@ -650,7 +649,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -933,14 +932,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 d396523..e901f3f 100644 --- a/gcc12.spec +++ b/gcc12.spec @@ -16,6 +16,8 @@ # +# nospeccleaner + %if !0%{?usrmerged} %define _slibdir /%{_lib} %define slibdir /lib @@ -238,7 +240,7 @@ BuildRequires: gcc-ada %endif %endif %if %{build_d} -%if %{suse_version} < 1500 +%if %{suse_version} < 1550 BuildRequires: gcc11-d %else BuildRequires: gcc-d @@ -348,7 +350,6 @@ 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 @@ -374,8 +375,9 @@ Patch61: gcc44-rename-info-files.patch # Patches for embedded newlib Patch100: newlib-4.1.0-aligned_alloc.patch -License: GPL-3.0-or-later Summary: The GNU C Compiler and Support Files +License: GPL-3.0-or-later +Group: Development/Languages/C and C++ %description Core package for the GNU Compiler Collection, including the C language @@ -384,8 +386,11 @@ 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} @@ -412,6 +417,7 @@ 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} @@ -445,6 +451,7 @@ 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 @@ -456,6 +463,7 @@ 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 @@ -466,6 +474,7 @@ 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 @@ -476,7 +485,6 @@ 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 @@ -487,7 +495,6 @@ 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 @@ -499,6 +506,7 @@ 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 @@ -516,7 +524,6 @@ 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 @@ -534,7 +541,6 @@ 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 @@ -571,7 +577,6 @@ 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 @@ -590,7 +595,6 @@ 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 @@ -610,6 +614,7 @@ 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 @@ -625,7 +630,6 @@ 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 @@ -641,7 +645,6 @@ 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 @@ -677,7 +680,6 @@ 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 @@ -697,7 +699,6 @@ 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 @@ -735,7 +736,6 @@ 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 @@ -753,7 +753,6 @@ 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,6 +783,7 @@ 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 @@ -797,6 +797,7 @@ 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 @@ -809,7 +810,6 @@ 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 @@ -822,7 +822,6 @@ 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,7 +850,6 @@ 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 @@ -867,7 +865,6 @@ 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 @@ -896,7 +893,6 @@ 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 @@ -909,7 +905,6 @@ 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 @@ -923,6 +918,7 @@ 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 @@ -932,6 +928,7 @@ 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 @@ -943,7 +940,6 @@ 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 @@ -955,7 +951,6 @@ 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 @@ -990,7 +985,6 @@ 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 @@ -1013,7 +1007,6 @@ 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 @@ -1050,7 +1043,6 @@ 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 @@ -1064,7 +1056,6 @@ 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 @@ -1098,7 +1089,6 @@ 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 @@ -1118,7 +1108,6 @@ 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 @@ -1156,7 +1145,6 @@ 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 @@ -1174,7 +1162,6 @@ 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 @@ -1209,7 +1196,6 @@ 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 @@ -1226,7 +1212,6 @@ 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 @@ -1260,7 +1245,6 @@ 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 @@ -1277,7 +1261,6 @@ 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 @@ -1311,7 +1294,6 @@ 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 @@ -1328,7 +1310,6 @@ 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 @@ -1362,7 +1343,6 @@ 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 @@ -1379,7 +1359,6 @@ 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 @@ -1412,7 +1391,6 @@ 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 @@ -1428,7 +1406,6 @@ 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 @@ -1461,7 +1438,6 @@ 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 @@ -1478,7 +1454,6 @@ 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 @@ -1512,7 +1487,6 @@ 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 @@ -1529,7 +1503,6 @@ 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 @@ -1563,7 +1536,6 @@ 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 @@ -1580,7 +1552,6 @@ 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 @@ -1620,7 +1591,6 @@ 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 @@ -1632,7 +1602,6 @@ 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 @@ -1660,7 +1629,6 @@ 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 @@ -1676,7 +1644,6 @@ 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 @@ -1705,7 +1672,6 @@ 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 @@ -1718,7 +1684,6 @@ 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 @@ -1747,7 +1712,6 @@ 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 @@ -1763,7 +1727,6 @@ 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 @@ -1795,7 +1758,6 @@ 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 @@ -1811,7 +1773,6 @@ 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 @@ -1831,6 +1792,7 @@ 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 @@ -1853,6 +1815,7 @@ 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. @@ -2106,7 +2069,7 @@ nvptx-none,\ %if %{build_gcn} amdgcn-amdhsa,\ %endif - --enable-offload-defaulted \ + --enable-offload-defaulted \ %endif %if %{build_nvptx} --without-cuda-driver \ @@ -2631,7 +2594,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/* @@ -2685,7 +2648,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 @@ -2712,7 +2675,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