From 2d786076bbfedf04081e0cdebbd7d9680a15dc1aff04c36438f465d0cc8a9bf0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 8 Mar 2017 09:52:46 +0000 Subject: [PATCH 1/4] Accepting request 477705 from home:bosim:branches:server:mail Fix building for SLES. Due to no gsasl availability we force to build without (seems to be a hard requirements for vmime now, maybe we can disgard the activation of the flag for openSUSE) OBS-URL: https://build.opensuse.org/request/show/477705 OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=16 --- libvmime.changes | 5 +++++ libvmime.spec | 2 ++ 2 files changed, 7 insertions(+) diff --git a/libvmime.changes b/libvmime.changes index 2d46bec..edc936b 100644 --- a/libvmime.changes +++ b/libvmime.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Mar 8 09:43:48 UTC 2017 - bosim@opensuse.org + +- Switch off GSASL for SLES + ------------------------------------------------------------------- Mon Jan 23 22:44:49 UTC 2017 - jengelh@inai.de diff --git a/libvmime.spec b/libvmime.spec index b702174..20356ea 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -111,6 +111,8 @@ cmake . \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \ %if 0%{?is_opensuse} -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \ +%else + -DVMIME_HAVE_SASL_SUPPORT:BOOL=OFF \ %endif -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ -DVMIME_BUILD_STATIC_LIBRARY:BOOL=OFF \ From 57f8af14ce9a1e1f3d7633dd7b8ba91bf50639a7181a2b6b91145e76bba12073 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 8 Mar 2017 09:53:42 +0000 Subject: [PATCH 2/4] OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=17 --- libvmime.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvmime.spec b/libvmime.spec index 20356ea..99651df 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -109,9 +109,7 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" cmake . \ -DVMIME_SENDMAIL_PATH:STRING="%_sbindir/sendmail" \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \ -%if 0%{?is_opensuse} - -DVMIME_HAVE_SASL_SUPPORT:BOOL=ON \ -%else +%if !0%{?is_opensuse} -DVMIME_HAVE_SASL_SUPPORT:BOOL=OFF \ %endif -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ From 9a62eed66f8b5b97f6a854801ccbb4a5a588ad2b7f2f4b8da1762854aef574ee Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 21 Mar 2017 19:16:55 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=18 --- libvmime.changes | 2 +- libvmime.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvmime.changes b/libvmime.changes index edc936b..bd56b0d 100644 --- a/libvmime.changes +++ b/libvmime.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Wed Mar 8 09:43:48 UTC 2017 - bosim@opensuse.org -- Switch off GSASL for SLES +- Don't stop the build due to SLES missing GSASL. ------------------------------------------------------------------- Mon Jan 23 22:44:49 UTC 2017 - jengelh@inai.de diff --git a/libvmime.spec b/libvmime.spec index 99651df..04edfb8 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -109,7 +109,7 @@ cf="%optflags -DVMIME_ALWAYS_GENERATE_7BIT_PARAMETER=1" cmake . \ -DVMIME_SENDMAIL_PATH:STRING="%_sbindir/sendmail" \ -DVMIME_BUILD_SAMPLES:BOOL=OFF \ -%if !0%{?is_opensuse} +%if 0%{?sle_version} -DVMIME_HAVE_SASL_SUPPORT:BOOL=OFF \ %endif -DVMIME_HAVE_TLS_SUPPORT:BOOL=ON \ From b408f89d515c43156fe29b7343f2e81c5176366e4ef3d408bae4bc7c54ad2a51 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 21 Mar 2017 19:44:56 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=19 --- libvmime.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvmime.spec b/libvmime.spec index 04edfb8..ae09cde 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -37,7 +37,7 @@ BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: inkscape BuildRequires: libgnutls-devel -%if 0%{?is_opensuse} +%if !0%{?sle_version} BuildRequires: libgsasl-devel %endif BuildRequires: libopenssl-devel