From fc38ab238d2a9d7f6ee676568ac9ab6e6071f390 Mon Sep 17 00:00:00 2001 From: boypt <1033514+boypt@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:39:50 +0800 Subject: [PATCH] only apply el5 endian patch on 9.9p2 --- el5/SPECS/openssh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el5/SPECS/openssh.spec b/el5/SPECS/openssh.spec index ae7e05a..45a5783 100644 --- a/el5/SPECS/openssh.spec +++ b/el5/SPECS/openssh.spec @@ -238,7 +238,7 @@ environment. # Applay a patch if glibc version is 2.5, not sure about other versions %global glibc_version %(ldd --version 2>&1 | head -n1 | grep -oP '[0-9.]+') echo "GLIBC version: %{glibc_version}" -%if "%{glibc_version}" <= "2.5" +%if "%{glibc_version}" <= "2.5" && "%{opensshver}" == "9.9p2" %patch0 -p0 %endif