mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-rpms.git
synced 2026-09-20 08:03:38 +08:00
only apply el5 endian patch on 9.9p2
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user