Use standard %make_build and %make_install macros in spec file.
This commit is contained in:
parent
5c4fc05d8d
commit
17e7abe647
@ -70,14 +70,14 @@ export CFLAGS="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
|
||||
--with-mangrp=root \
|
||||
--with-manmode=0644
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
mkdir -p %{buildroot}%{_mandir}/man8
|
||||
|
||||
%makeinstall INSTALL="install -p" \
|
||||
%make_install \
|
||||
SBINDIR=%{buildroot}%{_sbindir} \
|
||||
BINDIR=%{buildroot}%{_sbindir} \
|
||||
MANDIR=%{buildroot}%{_mandir}/man8 \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user