From bcaf027075e10b7fb02affd97a349c757e8780eb1a4f5c88a6737716e685c1cc Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sat, 8 Jan 2022 12:57:16 +0000 Subject: [PATCH] - Add BuildRequires for RH/CentOS OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=31 --- libvmime.changes | 5 +++++ libvmime.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/libvmime.changes b/libvmime.changes index c4f49c6..d41c665 100644 --- a/libvmime.changes +++ b/libvmime.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Jan 8 12:56:59 UTC 2022 - Jan Engelhardt + +- Add BuildRequires for RH/CentOS + ------------------------------------------------------------------- Sat Dec 4 16:08:42 UTC 2021 - Jan Engelhardt diff --git a/libvmime.spec b/libvmime.spec index b227a66..467b08a 100644 --- a/libvmime.spec +++ b/libvmime.spec @@ -31,10 +31,15 @@ Patch1: libvmime-nodatetime.diff Patch2: libvmime-soname.diff BuildRequires: cmake >= 2.8.3 BuildRequires: gcc-c++ +%if 0%{?centos_version} +BuildRequires: gnutls-devel +%else BuildRequires: libgnutls-devel +%endif %if !0%{?sle_version} BuildRequires: libgsasl-devel %endif +BuildRequires: openssl-devel BuildRequires: pkg-config BuildRequires: xz %if 0%{?with_pdf} @@ -110,7 +115,8 @@ popd -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \ -DCMAKE_CXX_FLAGS:STRING=" " \ -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \ - -DCMAKE_C_FLAGS:STRING=" " + -DCMAKE_C_FLAGS:STRING=" " \ + -DVMIME_BUILD_DOCUMENTATION:BOOL=OFF %cmake_build %install