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:
commit
aa2a6a0ad3
@ -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>
|
||||
|
||||
|
9
rnp.spec
9
rnp.spec
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user