[openssh-commits] [openssh] 08/12: Add leading zero so it'll work when rhel not set.
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Feb 10 11:14:24 AEDT 2018
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch master
in repository openssh.
commit 04f4e8193cb5a5a751fcc356bd6656291fec539e
Author: Darren Tucker <dtucker at dtucker.net>
Date: Sat Feb 10 09:57:04 2018 +1100
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.
---
contrib/redhat/openssh.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/redhat/openssh.spec b/contrib/redhat/openssh.spec
index ae27db72..abd7eed6 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
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list