diff --git a/curl.changes b/curl.changes index 906caf9..26023d9 100644 --- a/curl.changes +++ b/curl.changes @@ -1,8 +1,3 @@ -------------------------------------------------------------------- -Wed Mar 24 18:39:57 UTC 2010 - crrodriguez@opensuse.org - -- enable libssh2 support unconditionally. - ------------------------------------------------------------------- Wed Mar 10 13:46:45 UTC 2010 - crrodriguez@opensuse.org diff --git a/curl.spec b/curl.spec index e9746b0..af05c26 100644 --- a/curl.spec +++ b/curl.spec @@ -25,7 +25,9 @@ BuildRequires: krb5-devel %else BuildRequires: heimdal-devel %endif +%if 0%{?_with_libssh2:1} BuildRequires: libssh2-devel openssh +%endif %if 0%{?_with_stunnel:1} # used by the testsuite BuildRequires: stunnel @@ -95,7 +97,7 @@ export CFLAGS="$RPM_OPT_FLAGS" %else --with-gssapi=/usr/lib/heimdal \ %endif - --with-libssh2\ + %{?_with_libssh2} \ --enable-ares \ --libdir=%{_libdir} \ --enable-hidden-symbols \