Build update for 4.0rc1

This commit is contained in:
Peter Robinson 2019-08-28 11:09:39 +01:00
parent 436602f4e8
commit e4156ce721
1 changed files with 5 additions and 6 deletions

View File

@ -20,20 +20,19 @@ BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(tss2-mu)
BuildRequires: pkgconfig(tss2-sys)
BuildRequires: pkgconfig(tss2-esys)
BuildRequires: automake autoconf libtool
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
Requires: tpm2-tss%{?_isa} >= 2.0.0-2%{?dist}
# tpm2-tools project changed the install path for binaries and man page section
Obsoletes: tpm2-tools <= 2.1.1-2
Requires: tpm2-tss%{?_isa} >= 2.3.0
%description
tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
tpm2-tools is a batch of tools for tpm2.0. It is based on tpm2-tss.
%prep
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
%build
./bootstrap
%configure --prefix=/usr --disable-static --disable-silent-rules
%make_build
@ -41,8 +40,8 @@ tpm2-tools is a batch of testing tools for tpm2.0. It is based on tpm2-tss.
%make_install
%files
%doc README.md CHANGELOG.md
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/tpm2_*
%{_datadir}/bash-completion/completions/tpm2*
%{_mandir}/man1/tpm2_*.1.gz