SHA256
1
0
forked from pool/rnp

Accepting request 1194484 from security:privacy

- Build with Botan 3 on Leap 15.7

OBS-URL: https://build.opensuse.org/request/show/1194484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rnp?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2024-08-18 16:19:42 +00:00 committed by Git OBS Bridge
commit aa2a6a0ad3
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Aug 17 16:49:52 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- Build with Botan 3 on Leap 15.7
-------------------------------------------------------------------
Tue Jul 30 20:17:53 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@ -36,11 +36,14 @@ BuildRequires: pkgconfig(json-c) >= 0.11
BuildRequires: pkgconfig(sexpp) >= 0.8.7
BuildRequires: pkgconfig(zlib)
BuildRequires: rubygem(asciidoctor)
%if 0%{?suse_version} > 1600
%if (0%{?suse_version} > 1600) || (0%{?sle_version} >= 150700 && 0%{?is_opensuse})
BuildRequires: pkgconfig(botan-3) >= 3.0.0
%else
BuildRequires: pkgconfig(botan-2) >= 2.14.0
%endif
%if 0%{?sle_version} >= 150700 && 0%{?is_opensuse}
BuildRequires: gcc12-c++
%endif
%description
RNP is a set of OpenPGP (RFC4880) tools, an alternative to GnuPG.
@ -66,6 +69,10 @@ This package contains the files needed to build against librnp.
rm -rf src/libsexp
%build
%if 0%{?sle_version} >= 150700 && 0%{?is_opensuse}
export CC=gcc-12
export CXX=g++-12
%endif
%cmake \
-DDOWNLOAD_GTEST:BOOL=OFF \
-DBUILD_TESTING:BOOL=ON \