diff --git a/tpm2-tools.spec b/tpm2-tools.spec index 381820c..b62ee9e 100644 --- a/tpm2-tools.spec +++ b/tpm2-tools.spec @@ -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