add check code in tpm2-tss

This commit is contained in:
jinlun 2023-03-21 11:28:34 +08:00
parent 5fcb220c6a
commit 128010c10d

View File

@ -1,6 +1,6 @@
Name: tpm2-tss Name: tpm2-tss
Version: 3.2.1 Version: 3.2.1
Release: 2 Release: 3
Summary: TPM2.0 Software Stack Summary: TPM2.0 Software Stack
License: BSD License: BSD
URL: https://github.com/tpm2-software/tpm2-tss URL: https://github.com/tpm2-software/tpm2-tss
@ -9,7 +9,7 @@ Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{ver
Patch1: backport-CVE-2023-22745.patch Patch1: backport-CVE-2023-22745.patch
BuildRequires: gcc-c++ autoconf-archive libtool pkgconfig systemd libgcrypt-devel openssl-devel doxygen json-c-devel libcurl-devel BuildRequires: gcc-c++ autoconf-archive libtool pkgconfig systemd libgcrypt-devel openssl-devel doxygen json-c-devel libcurl-devel
BuildRequires: curl >= 7.80.0 BuildRequires: curl >= 7.80.0 libcmocka-devel iproute uthash-devel swtpm
%description %description
tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
@ -31,7 +31,8 @@ Obsoletes: %{name}-static
%build %build
%configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \ %configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80- \
--with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} --with-runstatedir=%{_rundir} --with-tmpfilesdir=%{_tmpfilesdir} --with-sysusersdir=%{_sysusersdir} \
--enable-unit --enable-integration
%make_build %make_build
@ -72,6 +73,12 @@ make check
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Tue Mar 21 2023 jinlun <jinlun@huawei.com> - 3.2.1-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:add check code in tpm2-tss
* Tue Jan 31 2023 huangzq6 <huangzhenqiang2@huawei.com> - 3.2.1-2 * Tue Jan 31 2023 huangzq6 <huangzhenqiang2@huawei.com> - 3.2.1-2
- Type:CVE - Type:CVE
- ID:NA - ID:NA