Reapply "_config: Use Prefers/Conflicts to handle gcc-build split (bsc#1230628)"

This reverts commit 4c39a601c9.
This commit is contained in:
Giacomo Leidi 2024-10-01 14:22:46 +02:00
parent 7cffcf123c
commit 1b739c62bb
Signed by untrusted user: gleidi
GPG Key ID: DE9BE0ACE8246F08

60
_config
View File

@ -3991,22 +3991,52 @@ Prefer: -go1.18-openssl
# Split between customer facing and internal compiler see gcc SR#322365
Prefer: cpp-build
Prefer: gcc-build-c++ gcc-build
Prefer: gcc-build-ada
Prefer: gcc-build-go
Prefer: gcc-build
Prefer: gcc-build-info
Prefer: gcc-build-c++
Prefer: gcc-build-fortran
Prefer: gcc-build-d
Prefer: gcc-build-32bit
Prefer: gcc-build-devel
Prefer: gcc-build-locale
Prefer: gcc-build-c++-32bit
Prefer: gcc-build-fortran-32bit
Prefer: gcc-build-objc
Prefer: gcc-build-objc-32bit
Prefer: gcc-build-obj-c++
Prefer: gcc-build-PIE
Prefer: gcc-build-ada-32bit
Prefer: gcc-build-go-32bit
Prefer: gcc-build-d-32bit
Prefer: gccjit-build-devel
Prefer: libstdc++-build-devel
Substitute: gcc gcc-build
Substitute: gcc-32bit gcc-build-32bit
Substitute: gcc-ada gcc-build-ada
Substitute: gcc-ada-32bit gcc-build-ada-32bit
Substitute: gcc-c++ gcc-build-c++
Substitute: gcc-c++-32bit gcc-build-c++-32bit
Substitute: gcc-go gcc-build-go
Substitute: gcc-fortran gcc-build-fortran
Substitute: gcc-objc gcc-build-objc
Substitute: gcc-PIE gcc-build-PIE
Substitute: cpp cpp-build
Substitute: libstdc++-devel libstdc++-build-devel
Substitute: libstdc++-devel-32bit libstdc++-build-devel-32bit
Substitute: libgccjit-devel libgccjit-build-devel
Prefer: libgccjit-build-devel
Conflict: cpp
Conflict: gcc-ada
Conflict: gcc-go
Conflict: gcc
Conflict: gcc-info
Conflict: gcc-c++
Conflict: gcc-fortran
Conflict: gcc-d
Conflict: gcc-32bit
Conflict: gcc-devel
Conflict: gcc-locale
Conflict: gcc-c++-32bit
Conflict: gcc-fortran-32bit
Conflict: gcc-objc
Conflict: gcc-objc-32bit
Conflict: gcc-obj-c++
Conflict: gcc-PIE
Conflict: gcc-ada-32bit
Conflict: gcc-go-32bit
Conflict: gcc-d-32bit
Conflict: gccjit-devel
Conflict: libgccjit-devel
Conflict: libstdc++-devel
Prefer: libyaml-devel
Prefer: libwebkitgtk-6_0-4