SHA256
1
0
forked from pool/libvmime

- Add BuildRequires for RH/CentOS

OBS-URL: https://build.opensuse.org/package/show/server:mail/libvmime?expand=0&rev=31
This commit is contained in:
Jan Engelhardt 2022-01-08 12:57:16 +00:00 committed by Git OBS Bridge
parent 964e6887c8
commit bcaf027075
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Jan 8 12:56:59 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Add BuildRequires for RH/CentOS
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 4 16:08:42 UTC 2021 - Jan Engelhardt <jengelh@inai.de> Sat Dec 4 16:08:42 UTC 2021 - Jan Engelhardt <jengelh@inai.de>

View File

@ -31,10 +31,15 @@ Patch1: libvmime-nodatetime.diff
Patch2: libvmime-soname.diff Patch2: libvmime-soname.diff
BuildRequires: cmake >= 2.8.3 BuildRequires: cmake >= 2.8.3
BuildRequires: gcc-c++ BuildRequires: gcc-c++
%if 0%{?centos_version}
BuildRequires: gnutls-devel
%else
BuildRequires: libgnutls-devel BuildRequires: libgnutls-devel
%endif
%if !0%{?sle_version} %if !0%{?sle_version}
BuildRequires: libgsasl-devel BuildRequires: libgsasl-devel
%endif %endif
BuildRequires: openssl-devel
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: xz BuildRequires: xz
%if 0%{?with_pdf} %if 0%{?with_pdf}
@ -110,7 +115,8 @@ popd
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_CXX_FLAGS:STRING=" " \ -DCMAKE_CXX_FLAGS:STRING=" " \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \ -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$cf" \
-DCMAKE_C_FLAGS:STRING=" " -DCMAKE_C_FLAGS:STRING=" " \
-DVMIME_BUILD_DOCUMENTATION:BOOL=OFF
%cmake_build %cmake_build
%install %install