use the macro make_build instead of make in build

Signed-off-by: yixiangzhike <yixiangzhike007@163.com>
(cherry picked from commit 3ab3f1914f4d287c37408b587663aa7c624b311a)
This commit is contained in:
yixiangzhike 2022-10-24 09:22:24 +08:00 committed by openeuler-sync-bot
parent b989981dfc
commit 5a5a05bcf2

View File

@ -2,7 +2,7 @@
Name: apr Name: apr
Version: 1.7.0 Version: 1.7.0
Release: 4 Release: 5
Summary: Apache Portable Runtime. Summary: Apache Portable Runtime.
License: ASL 2.0 and BSD with advertising and ISC and BSD License: ASL 2.0 and BSD with advertising and ISC and BSD
URL: http://apr.apache.org URL: http://apr.apache.org
@ -45,7 +45,7 @@ export ac_cv_search_shm_open=no
%configure \ %configure \
--includedir=%{_includedir}/%{name}-%{aprver} --with-installbuilddir=%{_libdir}/%{name}-%{aprver}/build \ --includedir=%{_includedir}/%{name}-%{aprver} --with-installbuilddir=%{_libdir}/%{name}-%{aprver}/build \
--with-devrandom=/dev/urandom --with-devrandom=/dev/urandom
make %make_build
%install %install
rm -rf %{buildroot} rm -rf %{buildroot}
@ -99,6 +99,12 @@ make check
%doc docs/incomplete_types docs/non_apr_programs %doc docs/incomplete_types docs/non_apr_programs
%changelog %changelog
* Mon Oct 24 2022 yixiangzhike<yixiangzhike007@163.com> - 1.7.0-5
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:use the macro make_build instead of make in build
* Fri Dec 17 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.7.0-4 * Fri Dec 17 2021 yangzhuangzhuang<yangzhuangzhuang1@huawei.com> - 1.7.0-4
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA