1
0
Files
_ObsPrj/_config
2025-04-09 14:50:38 +02:00

54 lines
1.2 KiB
Plaintext

Substitute: libelf-devel libelf-devel
%if 0%{?fedora_version}
Substitute: update-alternatives chkconfig
%endif
# cmake-mini requires this-is-only-for-build-envs
Prefer: cmake-full
# PYTHON STUFF
%if "%_repository" == "openSUSE_Tumbleweed" || "%_repository" == "openSUSE_Factory_ARM" || "%_repository" == "openSUSE_Factory_PowerPC" || "%_repository" == "openSUSE_Factory_zSystems"
Macros:
%skip_python36 1
:Macros
%endif
# END PYTHON STUFF
# SLE12 COMPATIBILITY
%if 0%{?sle_version} >= 120000 && 0%{?sle_version} <= 120500
Macros:
%make_build %{__make} %{?_smp_mflags}
:Macros
%endif
# END SLE12 COMPATIBILITY
# Provide SUSE-style info macros for Fedora
%if 0%{?fedora_version}
Macros:
%install_info_prereq info
%install_info(:-:) \
ALL_ARGS=(%{**}) \
NUM_ARGS=${#ALL_ARGS[@]} \
if test -x /sbin/install-info ; then \
if test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
/sbin/install-info "${ALL_ARGS[@]}" \
fi \
fi ;
%install_info_delete(:-:) \
ALL_ARGS=(%{**}) \
NUM_ARGS=${#ALL_ARGS[@]} \
if test -x /sbin/install-info ; then \
if ! test -e "${ALL_ARGS[$((NUM_ARGS-1))]}" ; then \
/sbin/install-info --quiet --delete "${ALL_ARGS[@]}" \
fi ; \
fi ;
:Macros
%endif