From 9ba1f58c0f4ba0a6a717b78c078408829434dfac Mon Sep 17 00:00:00 2001 From: Zoltan Fridrich Date: Tue, 18 Oct 2022 16:46:19 +0200 Subject: [PATCH] Use make macros Co-authored-by: Tom Stellard Signed-off-by: Zoltan Fridrich --- gnutls.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnutls.spec b/gnutls.spec index a400364..21fa3ff 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -253,10 +253,10 @@ export FIPS_MODULE_NAME="$OS_NAME ${OS_VERSION_ID%%.*} %name" --disable-rpath \ --with-default-priority-string="@SYSTEM" -make %{?_smp_mflags} V=1 +%make_build %install -make install DESTDIR=$RPM_BUILD_ROOT +%make_install make -C doc install-html DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_libdir}/*.la