!6 tpm2-tools update to 4.1.3

Merge pull request !6 from yixiangzhike/master
This commit is contained in:
openeuler-ci-bot 2020-08-06 18:44:04 +08:00 committed by Gitee
commit bf08f7ee61
4 changed files with 10 additions and 5 deletions

View File

@ -35,7 +35,8 @@ index d461a744c0d..e43d03f9e0a 100644
bool tpm2_attr_util_obj_strtoattr(char *attribute_list, TPMA_OBJECT *objattrs) {
- memset(objattrs, 0, sizeof(*objattrs));
return common_strtoattr(attribute_list, objattrs, obj_attr_table, ARRAY_LEN(obj_attr_table));
return common_strtoattr(attribute_list, objattrs, obj_attr_table,
ARRAY_LEN(obj_attr_table));
}
--

Binary file not shown.

BIN
tpm2-tools-4.1.3.tar.gz Normal file

Binary file not shown.

View File

@ -1,17 +1,17 @@
Name: tpm2-tools
Version: 3.1.1
Release: 7
Version: 4.1.3
Release: 1
Summary: A TPM2.0 testing tool based on TPM2.0-TSS
License: BSD
URL: https://github.com/tpm2-software/tpm2-tools
Source0: https://github.com/tpm2-software/tpm2-tools/releases/download/%{version}/%{name}-%{version}.tar.gz
Patch1: Revert-objectattrs-clear-before-or-ing-in-values.patch
Patch0: Revert-objectattrs-clear-before-or-ing-in-values.patch
BuildRequires: gcc-c++ libtool autoconf-archive pkgconfig(cmocka) pkgconfig(libcurl) pkgconfig(openssl)
BuildRequires: pkgconfig(tss2-mu) pkgconfig(tss2-sys) pkgconfig(tss2-esys) git libgcrypt
BuildRequires: libgcrypt-devel gdb
Requires: tpm2-tss >= 2.0.0-2
Requires: tpm2-tss >= 2.3.1
Obsoletes: tpm2-tools <= 2.1.1-2
%description
@ -49,12 +49,16 @@ make check
%defattr(-,root,root)
%license LICENSE
%{_bindir}/*
%{_datadir}/bash-completion/completions/tpm2*
%files help
%doc README.md CHANGELOG.md
%{_mandir}/*/*
%changelog
* Thu Aug 6 2020 zhangxingliang <zhangxingliang3@huawei.com> - 4.1.3-1
- update to 4.1.3
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 3.1.1-7
- add BuildRequires: libgcrypt-devel gdb