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