- Don't force using gcc11 on SLFO/ALP which have a newer version.

OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=280
This commit is contained in:
Antonio Larrosa 2024-10-28 11:22:01 +00:00 committed by Git OBS Bridge
parent 33d804a345
commit 717dd2da2c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Oct 28 11:18:04 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>
- Don't force using gcc11 on SLFO/ALP which have a newer version.
-------------------------------------------------------------------
Mon Oct 28 10:29:33 UTC 2024 - Antonio Larrosa <alarrosa@suse.com>

View File

@ -165,7 +165,7 @@ Patch1002: openssh-7.7p1-allow_root_password_login.patch
%endif
BuildRequires: audit-devel
BuildRequires: automake
%if 0%{?suse_version} <= 1600
%if 0%{?suse_version} < 1600
BuildRequires: gcc11
%endif
BuildRequires: groff
@ -364,7 +364,7 @@ sed -i.libexec 's,@LIBEXECDIR@,%{_libexecdir}/ssh,' \
)
%build
%if 0%{?suse_version} <= 1600
%if 0%{?suse_version} < 1600
export CC=gcc-11
%endif
autoreconf -fiv