Use make macros
This commit is contained in:
parent
916836384e
commit
5b7d89bbb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user