122 lines
4.2 KiB
Plaintext
122 lines
4.2 KiB
Plaintext
%if 0%{suse_version} > 1210
|
|
Keep: !*
|
|
%endif
|
|
|
|
%if 0%{suse_version} < 1120
|
|
Substitute: zlib-devel-static zlib-devel
|
|
%endif
|
|
%if 0%{?sles_version} == 9
|
|
Substitute: !gmp-devel
|
|
Substitute: gcc-ada gnat
|
|
Ignore: gcc41-ada
|
|
Ignore: libunwind-devel
|
|
%endif
|
|
%if 0%{?sles_version} == 10
|
|
Substitute: gmp libgmp3
|
|
%endif
|
|
%if 0%{?sles_version} == 11
|
|
Substitute: cloog-isl-devel
|
|
%endif
|
|
%if 0%{suse_version} >= 1330
|
|
Substitute: cloog-isl-devel
|
|
%endif
|
|
|
|
%if "%_repository" == "SLE-11"
|
|
Preinstall: !libgcc43 libgcc_s1
|
|
Support: !libgomp43 !libstdc++43
|
|
Prefer: !libstdc++43 !libgcc43 !libgomp43 libgomp1 libgcc_s1 libstdc++6
|
|
%endif
|
|
%if "%_repository" == "SLE-12"
|
|
# as sle11-sp3+ has gcc8+ as toolchain compiler, and gcc48 as use-for-build here,
|
|
# build service is confused about a choice between libitm1-gcc48-32bit (from devel:gcc)
|
|
# and libitm1-32bit (from sle11-sp4-update). For whatever reason the other libs
|
|
# don't have that problem, only these two. Just prefer the sle11-sp4 ones (from gcc8+)
|
|
Prefer: libatomic1-32bit libitm1-32bit
|
|
Substitute: memory-constraints
|
|
Macros:
|
|
%without_limitbuild 1
|
|
:Macros
|
|
%endif
|
|
%if "%_repository" == "openSUSE_Leap_15.6" || "%_repository" == "openSUSE_Leap_15.5"
|
|
%ifarch s390x
|
|
Macros:
|
|
%disable_32bit 1
|
|
:Macros
|
|
%endif
|
|
%endif
|
|
%if "%_repository" == "SLFO"
|
|
Macros:
|
|
%want_reproducible_builds 1
|
|
:Macros
|
|
%endif
|
|
|
|
Support: !build-compare
|
|
|
|
Prefer: libmpxwrappers2 libmpx2 libasan5 libasan5-32bit libubsan1 libubsan1-32bit libgfortran5 libgfortran5-32bit libgdruntime2 libgphobos2 libhwasan0 libgo19 libasan8 libasan8-32bit libtsan2 libtsan0 libatomic1 libitm1 libobjc4 libgfortran3 libquadmath0 libgdruntime4 libgphobos4 libgo22
|
|
Prefer: glibc-32bit
|
|
Prefer: cpp
|
|
|
|
ExportFilter: ^cross-.*-glibc-.*\.noarch\.rpm$ x86_64 ppc64
|
|
|
|
%if "%_repository" == "openSUSE_Factory" || "%_repository" == "openSUSE_Factory_ARM" || "%_repository" == "openSUSE_Factory_PPC" || "%_repository" == "openSUSE_Factory_zSystems" || "%_repository" == "openSUSE_Factory_LegacyX86" || "%_repository" == "openSUSE_Factory_RISCV"
|
|
#Prefer: libgcc_s1-gcc8 libstdc++6-gcc8 libgomp1-gcc8 libubsan1-gcc8 libatomic1-gcc8 libitm1-gcc8 liblsan0-gcc8 libtsan0-gcc8
|
|
Prefer: libcilkrts5 libasan6 libgo23
|
|
Macros:
|
|
%gcc_version 15
|
|
%product_libs_gcc_ver 15
|
|
:Macros
|
|
%endif
|
|
|
|
# Fix gdb build
|
|
Prefer: debuginfod-client
|
|
|
|
Macros:
|
|
%product_libs_gcc_ver_libasan0 48
|
|
%product_libs_gcc_ver_libasan1 49
|
|
%product_libs_gcc_ver_libasan2 5
|
|
%product_libs_gcc_ver_libffi4 5
|
|
%product_libs_gcc_ver_libgo7 5
|
|
%product_libs_gcc_ver_mpx0 5
|
|
%product_libs_gcc_ver_mpxwrappers0 5
|
|
%product_libs_gcc_ver_libgfortran3 6
|
|
%product_libs_gcc_ver_libasan3 6
|
|
%product_libs_gcc_ver_libgo9 6
|
|
%product_libs_gcc_ver_libgcj_bc1 6
|
|
# The following shlibs have the latest version built from GCC 7 sources
|
|
%product_libs_gcc_ver_libgfortran4 7
|
|
%product_libs_gcc_ver_libasan4 7
|
|
%product_libs_gcc_ver_libubsan0 7
|
|
%product_libs_gcc_ver_libcilkrts5 7
|
|
%product_libs_gcc_ver_libgo11 7
|
|
# The following shlibs have the latest version built from GCC 8 sources
|
|
%product_libs_gcc_ver_libgo13 8
|
|
%product_libs_gcc_ver_libmpx2 8
|
|
%product_libs_gcc_ver_libmpxwrappers2 8
|
|
# The following shlibs have the latest version built from GCC 9 sources
|
|
%product_libs_gcc_ver_libasan5 9
|
|
%product_libs_gcc_ver_libgo14 9
|
|
# The following shlibs have the latest version built from GCC 10 sources
|
|
%product_libs_gcc_ver_libgphobos1 10
|
|
%product_libs_gcc_ver_libgdruntime1 10
|
|
%product_libs_gcc_ver_libgo16 10
|
|
# The following shlibs have the latest version build from GCC 11 sources
|
|
%product_libs_gcc_ver_libasan6 11
|
|
%product_libs_gcc_ver_libtsan0 11
|
|
%product_libs_gcc_ver_libgo19 11
|
|
%product_libs_gcc_ver_libgphobos2 11
|
|
%product_libs_gcc_ver_libgdruntime2 11
|
|
# The following shlibs have the latest version build from GCC 12 sources
|
|
%product_libs_gcc_ver_libgphobos3 12
|
|
%product_libs_gcc_ver_libgdruntime3 12
|
|
%product_libs_gcc_ver_libgo21 12
|
|
# The following shlibs have the latest version build from GCC 13 sources
|
|
%product_libs_gcc_ver_libm218 13
|
|
%product_libs_gcc_ver_libgo22 13
|
|
%product_libs_gcc_ver_libgphobos4 13
|
|
%product_libs_gcc_ver_libgdruntime4 13
|
|
# The following shlibs have the latest version build from GCC 14 sources
|
|
%product_libs_gcc_ver_libm219 14
|
|
%product_libs_gcc_ver_libgo23 14
|
|
%product_libs_gcc_ver_libgphobos5 14
|
|
%product_libs_gcc_ver_libgdruntime5 14
|
|
:Macros |