From 3276254e0c4416d2d20c1af291e623135563302ea77253e7b77d20b833381438 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 24 Oct 2016 13:38:51 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=7 --- libvmime.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libvmime.spec b/libvmime.spec index 2c59dc7..817f3b7 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -41,7 +41,9 @@ BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: inkscape BuildRequires: libgnutls-devel +%if 0%{?is_opensuse} BuildRequires: libgsasl-devel +%endif BuildRequires: libopenssl-devel BuildRequires: pkg-config BuildRequires: postfix @@ -113,7 +115,9 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" export PATH="$PATH:/usr/sbin" cmake . \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \ +%if 0%{?is_opensuse} -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \ +%endif -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ -DCMAKE_RELEASE_TYPE:STRING="RelWithDebInfo" \