- Add provides/conflicts to glibc crosses since only one GCC version

for the same target can be installed at the same time.

Rev devel:gcc/27 Md5 e1fd30b1418aae157ad5fe13ecb00a7b 2022-04-01 09:55:23 rguenther None
This commit is contained in:
OBS User rguenther
2022-04-01 09:55:23 +00:00
committed by Git OBS Bridge
parent f989a6d864
commit 8bd60878ea
57 changed files with 202 additions and 28 deletions

View File

@@ -267,7 +267,7 @@ ExclusiveArch: i586 ppc64le ppc64 x86_64 s390x aarch64 riscv64
%if "%pkgname" == "cross-ppc64-gcc49"
Obsoletes: cross-ppc-gcc49 <= 4.9.0+r209354
%endif
%if 0%{?gcc_target_newlib:1}
%if 0%{?gcc_target_newlib:1}%{?gcc_target_glibc:1}
# Generally only one cross for the same target triplet can be installed
# at the same time as we are populating a non-version-specific sysroot
Provides: %{gcc_target_arch}-gcc