Fix attest-tools.spec

This commit is contained in:
Roberto Sassu 2020-07-25 12:22:15 +02:00
parent 55e551cee1
commit 801c4fa546
2 changed files with 4 additions and 6 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
name: attest-tools
Version: 0.2.90
Release: 1%{?dist}
Release: 1
Summary: Attestation tools
Source0: %{name}-%{version}.tar.gz
@ -19,7 +19,8 @@ BuildRequires: openssl-devel
%endif
%description
This package includes the tools for configure the IMA Digest Lists extension.
This package includes the tools to perform remote attestation with a quote
or a TPM key.
%prep
%autosetup -n %{name}-%{version} -p1
@ -29,13 +30,10 @@ This package includes the tools for configure the IMA Digest Lists extension.
autoreconf -iv
%configure
make %{?_smp_mflags}
make check
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ima/digest_lists
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1
%make_install %{?_smp_mflags}
%post
ldconfig