5.5-RC1, Enable LTO (RHBZ#1986628)

This commit is contained in:
Peter Robinson 2022-12-19 03:49:30 +00:00
parent 9660b32bdb
commit a6f4d0df36
2 changed files with 8 additions and 9 deletions

View File

@ -1 +1 @@
SHA512 (tpm2-tools-5.4.tar.gz) = 8d7802b85bd26b6efa0ed6be73b917b907bb7b424ff7d07e46e5574dfdd9d46ea2d7727904ebaba4651c8d1249cd52a7dc6dff8e9635666c8d97ca7c337a0396
SHA512 (tpm2-tools-5.5-rc1.tar.gz) = 30201a2601875cb38fbfbd8cef39ed2d7e143b7077710a95833d812b63520c96829c757560f5f9a998033a7daac4f1dd4a58d29fea1772eb5f9590de192ef691

View File

@ -1,8 +1,8 @@
#global candidate rc2
%global candidate rc1
Name: tpm2-tools
Version: 5.4
Release: 1%{?candidate:.%{candidate}}%{?dist}
Version: 5.5
Release: 0.1%{?candidate:.%{candidate}}%{?dist}
Summary: A bunch of TPM testing toolS build upon tpm2-tss
License: BSD
@ -33,11 +33,6 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
%build
# LTO exposes a latent uninitialized variable "value" in the function # "nt".
# This has been reported to the maintainer (Yunying), but they have not
# 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
%make_build
@ -58,6 +53,10 @@ tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
%{_mandir}/man1/tss2_*.1.gz
%changelog
* Mon Dec 19 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.5-0.1.rc1
- Update to 5.5-RC1
- Enable LTO (RHBZ#1986628)
* Thu Dec 08 2022 Peter Robinson <pbrobinson@fedoraproject.org> - 5.4-1
- Update to 5.4