2025-05-07 13:14:42 +00:00
committed by Git OBS Bridge
parent 6d9b33432f
commit 3127b0cbf2

View File

@@ -111,17 +111,11 @@ ExclusiveArch: do_not_build
# Enable support for livepatching.
%define have_livepatching_support 0
%if %{build_cross}
%if "%{cross_arch}" == "x86_64"
%define have_livepatching_support 1
%endif
%if "%{cross_arch}" == "ppc64le"
%if "%{cross_arch}" == "x86_64" || "%{cross_arch}" == "ppc64le"
%define have_livepatching_support 1
%endif
%else
%ifarch x86_64
%define have_livepatching_support 1
%endif
%ifarch ppc64le
%ifarch x86_64 ppc64le
%define have_livepatching_support 1
%endif
%endif