!11 enable the fapi module

From: @yang_zhuang_zhuang
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-01-15 14:30:10 +08:00 committed by Gitee
commit a050f0e825

View File

@ -1,6 +1,6 @@
Name: tpm2-tss
Version: 2.4.1
Release: 2
Release: 3
Summary: TPM2.0 Software Stack
License: BSD and TCGL
URL: https://github.com/tpm2-software/tpm2-tss
@ -8,7 +8,7 @@ Source0: https://github.com/tpm2-software/tpm2-tss/releases/download/%{ver
Patch0: backport-CVE-2020-24455-FAPI-Fix-execution-of-policy-callback-for-reading-PC.patch
BuildRequires: gcc-c++ autoconf-archive libtool pkgconfig systemd libgcrypt-devel openssl-devel doxygen
BuildRequires: gcc-c++ autoconf-archive libtool pkgconfig systemd libgcrypt-devel openssl-devel doxygen json-c-devel libcurl-devel
%description
tpm2-tss is a software stack supporting Trusted Platform Module(TPM) 2.0 system
@ -29,7 +29,7 @@ Obsoletes: %{name}-static
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-fapi --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80-
%configure --disable-static --disable-silent-rules --with-udevrulesdir=%{_udevrulesdir} --with-udevrulesprefix=80-
%make_build
@ -52,6 +52,9 @@ make check
%defattr(-,root,root)
%doc README.md CHANGELOG.md
%license LICENSE
%{_sysconfdir}/sysusers.d/tpm2-tss.conf
%{_sysconfdir}/tmpfiles.d/tpm2-tss-fapi.conf
%{_sysconfdir}/tpm2-tss/
%{_libdir}/*.so.*
%{_libdir}/*.so
%{_udevrulesdir}/80-tpm-udev.rules
@ -67,6 +70,12 @@ make check
%{_mandir}/man*/*
%changelog
* Fri Jan 15 2021 yangzhuangzhuang <yangzhuangzhuang> - - 2.4.1-3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:enable the fapi module
* Thu Jan 14 2021 Hugel<gengqihu1@huawei.com> - 2.4.1-2
- Type:CVE
- ID:NA