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