diff --git a/el5/SPECS/openssh.spec b/el5/SPECS/openssh.spec index 1f67f99..b433e4f 100644 --- a/el5/SPECS/openssh.spec +++ b/el5/SPECS/openssh.spec @@ -5,7 +5,7 @@ # 0: build without openssl # 1: use system openssl # 2: build openssl statically -%global with_openssl 1 +%{!?with_openssl: %global with_openssl 2} # Force to build openssl statically for el5/6 %if %{with_openssl} == 1 diff --git a/el6/SPECS/openssh.spec b/el6/SPECS/openssh.spec index 2a612ae..e0bce88 100644 --- a/el6/SPECS/openssh.spec +++ b/el6/SPECS/openssh.spec @@ -5,7 +5,7 @@ # 0: build without openssl # 1: use system openssl # 2: build openssl statically -%global with_openssl 1 +%{!?with_openssl: %global with_openssl 2} # Force to build openssl statically for el5/6 %if %{with_openssl} == 1 diff --git a/el7/SPECS/openssh.spec b/el7/SPECS/openssh.spec index 5ef789b..36bab25 100644 --- a/el7/SPECS/openssh.spec +++ b/el7/SPECS/openssh.spec @@ -5,7 +5,7 @@ # 0: build without openssl # 1: use system openssl # 2: build openssl statically -%global with_openssl 1 +%{!?with_openssl: %global with_openssl 2} %global ver %{?opensshver} %global rel %{?opensshpkgrel}%{?dist}