]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Add leading zero so it'll work when rhel not set.
authorDarren Tucker <dtucker@dtucker.net>
Fri, 9 Feb 2018 22:57:04 +0000 (09:57 +1100)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 9 Feb 2018 22:58:32 +0000 (09:58 +1100)
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

index ae27db72bf04c04b435757944f99fd2d4de31009..abd7eed67e3c6e8147a2c52d7eabe0e75679cec7 100644 (file)
@@ -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