From 717dd2da2cd263e719fab548ff634ebdd68436c54bb2958b74bc5a9c4677f672 Mon Sep 17 00:00:00 2001 From: Antonio Larrosa Date: Mon, 28 Oct 2024 11:22:01 +0000 Subject: [PATCH] - 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 --- openssh.changes | 5 +++++ openssh.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/openssh.changes b/openssh.changes index 57887e5..d47964e 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Oct 28 11:18:04 UTC 2024 - Antonio Larrosa + +- Don't force using gcc11 on SLFO/ALP which have a newer version. + ------------------------------------------------------------------- Mon Oct 28 10:29:33 UTC 2024 - Antonio Larrosa diff --git a/openssh.spec b/openssh.spec index 68a84db..8b89726 100644 --- a/openssh.spec +++ b/openssh.spec @@ -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