Rev devel:gcc/6 Md5 4d49490f6e0975c05b3420d583a22026 2022-01-17 09:34:48 rguenther None

This commit is contained in:
OBS User rguenther
2022-01-17 09:34:48 +00:00
committed by Git OBS Bridge
parent 2dc7100dbb
commit 6f515b4b37
30 changed files with 179 additions and 145 deletions

View File

@@ -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