Use make macros
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
This commit is contained in:
parent
05eda722a9
commit
8c2349c990
4
apr.spec
4
apr.spec
@ -60,11 +60,11 @@ export ac_cv_search_shm_open=no
|
|||||||
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
--with-installbuilddir=%{_libdir}/apr-%{aprver}/build \
|
||||||
--with-devrandom=/dev/urandom \
|
--with-devrandom=/dev/urandom \
|
||||||
--disable-static
|
--disable-static
|
||||||
make %{?_smp_mflags}
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%{make_install}
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/aclocal
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/aclocal
|
||||||
install -m 644 build/find_apr.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
|
install -m 644 build/find_apr.m4 $RPM_BUILD_ROOT/%{_datadir}/aclocal
|
||||||
|
Loading…
Reference in New Issue
Block a user