From 43b4becf7b4023df39cb521ffd786d99d8396ab6d0777b91f7d40657fcd3bd25 Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Fri, 26 Mar 2010 15:16:59 +0000 Subject: [PATCH] Accepting request 35801 from devel:libraries:c_c++ checked in (request 35801) OBS-URL: https://build.opensuse.org/request/show/35801 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=32 --- curl.changes | 5 ----- curl.spec | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) 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 \