From b1c777204620a9b55f416eee734b76f44e754c97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 5 May 2021 18:02:35 +0200 Subject: [PATCH] Use make macros --- libtpms.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtpms.spec b/libtpms.spec index 77dbe71..0823896 100644 --- a/libtpms.spec +++ b/libtpms.spec @@ -31,13 +31,13 @@ Libtpms header files and documentation. %build NOCONFIGURE=1 sh autogen.sh %configure --disable-static --with-tpm2 --with-openssl -make %{?_smp_mflags} +%make_build %check make check %install -make DESTDIR="%{buildroot}" install +%make_install find %{buildroot} -type f -name '*.la' | xargs rm -f -- || : %ldconfig_scriptlets