diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-02-10 09:57:04 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-02-10 09:58:32 +1100 |
commit | 04f4e8193cb5a5a751fcc356bd6656291fec539e (patch) | |
tree | 99090455b0e67c9af2b7793e1ec820149acc4caf | |
parent | 12abd67a6af28476550807a443b38def2076bb92 (diff) |
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.
-rw-r--r-- | contrib/redhat/openssh.spec | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ | |||
25 | 25 | ||
26 | # Use build6x options for older RHEL builds | 26 | # Use build6x options for older RHEL builds |
27 | # RHEL 7 and Fedora not yet supported | 27 | # RHEL 7 and Fedora not yet supported |
28 | %if %{?rhel} > 6 | 28 | %if 0%{?rhel} > 6 |
29 | %define build6x 0 | 29 | %define build6x 0 |
30 | %else | 30 | %else |
31 | %define build6x 1 | 31 | %define build6x 1 |