Use make macros

This commit is contained in:
Timm Bäder 2021-05-05 14:47:56 +02:00
parent 916836384e
commit 5b7d89bbb6

View File

@ -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