mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-02-10 10:57:02 +00:00
Fix without_openssl always being set to 1
In Fedora systems, %{?rhel} is empty. In RHEL systems, %{?fedora} is empty. Therefore, the original code always sets without_openssl to 1.
This commit is contained in:
parent
c21c3a2419
commit
49f325fd47
@ -33,10 +33,10 @@
|
||||
|
||||
%global without_openssl 0
|
||||
# build without openssl where 1.1.1 is not available
|
||||
%if 0%{?fedora} <= 28
|
||||
%if %{defined fedora} && 0%{?fedora} <= 28
|
||||
%global without_openssl 1
|
||||
%endif
|
||||
%if 0%{?rhel} <= 7
|
||||
%if %{defined rhel} && 0%{?rhel} <= 7
|
||||
%global without_openssl 1
|
||||
%endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user