Build update for 4.0rc1
This commit is contained in:
parent
436602f4e8
commit
e4156ce721
@ -20,20 +20,19 @@ BuildRequires: pkgconfig(openssl)
|
|||||||
BuildRequires: pkgconfig(tss2-mu)
|
BuildRequires: pkgconfig(tss2-mu)
|
||||||
BuildRequires: pkgconfig(tss2-sys)
|
BuildRequires: pkgconfig(tss2-sys)
|
||||||
BuildRequires: pkgconfig(tss2-esys)
|
BuildRequires: pkgconfig(tss2-esys)
|
||||||
|
BuildRequires: automake autoconf libtool
|
||||||
|
|
||||||
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
|
# tpm2-tools is heavily depending on TPM2.0-TSS project, matched tss is required
|
||||||
Requires: tpm2-tss%{?_isa} >= 2.0.0-2%{?dist}
|
Requires: tpm2-tss%{?_isa} >= 2.3.0
|
||||||
|
|
||||||
# tpm2-tools project changed the install path for binaries and man page section
|
|
||||||
Obsoletes: tpm2-tools <= 2.1.1-2
|
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
|
%autosetup -p1 -n %{name}-%{version}%{?candidate:-%{candidate}}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
./bootstrap
|
||||||
%configure --prefix=/usr --disable-static --disable-silent-rules
|
%configure --prefix=/usr --disable-static --disable-silent-rules
|
||||||
%make_build
|
%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
|
%make_install
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md CHANGELOG.md
|
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%doc README.md CHANGELOG.md
|
||||||
%{_bindir}/tpm2_*
|
%{_bindir}/tpm2_*
|
||||||
%{_datadir}/bash-completion/completions/tpm2*
|
%{_datadir}/bash-completion/completions/tpm2*
|
||||||
%{_mandir}/man1/tpm2_*.1.gz
|
%{_mandir}/man1/tpm2_*.1.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user