From b27c52b066adc18cc6d497b32c649eeed973d7a6 Mon Sep 17 00:00:00 2001 From: Jerry Snitselaar Date: Mon, 24 May 2021 11:43:52 -0700 Subject: [PATCH] tpm2-tools: work around for openssl 3.0 For now use -Wno-error=decrepated-declarations while working on updating the tpm2-tools code to use newer openssl code. Related: rhbz#1958029 Signed-off-by: Jerry Snitselaar --- tpm2-tools.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tpm2-tools.spec b/tpm2-tools.spec index a388d1a..60a31f9 100644 --- a/tpm2-tools.spec +++ b/tpm2-tools.spec @@ -2,7 +2,7 @@ Name: tpm2-tools Version: 5.0 -Release: 3%{?candidate:.%{candidate}}%{?dist} +Release: 4%{?candidate:.%{candidate}}%{?dist} Summary: A bunch of TPM testing toolS build upon tpm2-tss License: BSD @@ -38,7 +38,7 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss. # responded and I am not comfortable enough with the code to know if a trivial # initialization to zero is appropriate/safe. So LTO is disabled for now. %define _lto_cflags %{nil} -%configure --prefix=/usr --disable-static --disable-silent-rules +%configure --prefix=/usr --disable-static --disable-silent-rules CFLAGS="%{optflags} -Wno-error=deprecated-declarations" %make_build %install @@ -58,6 +58,9 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss. %{_mandir}/man1/tss2_*.1.gz %changelog +* Wed May 19 2021 Jerry Snitselaar - 5.0-4 +- Work around for openssl 3.0 update. Related: rhbz#1958029 + * Fri Apr 16 2021 Mohan Boddu - 5.0-3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937