[packages/openssh] fix

glen glen at pld-linux.org
Wed Mar 25 13:53:54 CET 2015


commit 744d77c8f79db0081826d3477399ae8ab52db690
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Wed Mar 25 14:53:47 2015 +0200

    fix

 openssh.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openssh.spec b/openssh.spec
index fb9293c..57246dd 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -92,7 +92,7 @@ BuildRequires:	sed >= 4.0
 # libseccomp based sandbox requires NO_NEW_PRIVS prctl flag
 %{?with_tests:BuildRequires:	uname(release) >= 3.5}
 BuildRequires:	zlib-devel >= 1.2.3
-%if %{with tests} && 0%(id -u sshd 2>/dev/null; echo $?)
+%if %{with tests} && 0%(id -u sshd >/dev/null 2>&1; echo $?)
 BuildRequires:	%{name}-server
 %endif
 Requires:	zlib >= 1.2.3
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/744d77c8f79db0081826d3477399ae8ab52db690



More information about the pld-cvs-commit mailing list