From ea57cfec478a92b27a640b015ade50ad9fa83ecf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Fri, 24 Apr 2015 11:36:56 +0300 Subject: [PATCH] restore lost BR 3.5 kernel from cebd27d --- openssh.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openssh.spec b/openssh.spec index 9ffef3d..0862135 100644 --- a/openssh.spec +++ b/openssh.spec @@ -97,6 +97,10 @@ BuildRequires: zlib-devel >= 1.2.3 %if %{with tests} && 0%(id -u sshd >/dev/null 2>&1; echo $?) BuildRequires: %{name}-server %endif +%if %{with tests} && %{with libseccomp} +# libseccomp based sandbox requires NO_NEW_PRIVS prctl flag +BuildRequires: uname(release) >= 3.5 +%endif Requires: zlib >= 1.2.3 %if "%{pld_release}" == "ac" Requires: filesystem >= 2.0-1 -- 2.44.0