From: Darren Tucker Date: Fri, 9 Feb 2018 22:57:04 +0000 (+1100) Subject: Add leading zero so it'll work when rhel not set. X-Git-Tag: V_7_7_P1~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04f4e8193cb5a5a751fcc356bd6656291fec539e;p=thirdparty%2Fopenssh-portable.git Add leading zero so it'll work when rhel not set. When rhel is not set it will error out with "bad if". Add leading zero as per https://fedoraproject.org/wiki/Packaging:DistTag so it'll work on non-RHEL. --- diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec index ae27db72b..abd7eed67 100644 --- a/contrib/redhat/openssh.spec +++ b/contrib/redhat/openssh.spec @@ -25,7 +25,7 @@ # Use build6x options for older RHEL builds # RHEL 7 and Fedora not yet supported -%if %{?rhel} > 6 +%if 0%{?rhel} > 6 %define build6x 0 %else %define build6x 1