From 5b7d89bbb62da0ed99355a111bb1f8f4478128c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timm=20B=C3=A4der?= Date: Wed, 5 May 2021 14:47:56 +0200 Subject: [PATCH] Use make macros --- freeipmi.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freeipmi.spec b/freeipmi.spec index ccfae40..e051995 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -57,10 +57,10 @@ IPMI SEL syslog logging daemon. export CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ %{?_enable_debug} --disable-static -make %{?_smp_mflags} +%make_build %install -make install DESTDIR=%{buildroot} +%make_install rm -rf %{buildroot}%{_infodir}/dir # kludge to get around rpmlint complaining about 0 length semephore file echo freeipmi > %{buildroot}%{_localstatedir}/lib/freeipmi/ipckey