!24 %check阶段,使用"%make_build check"代替"make check",与22.03分支保持一致

From: @Wangjunqi123 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2023-02-15 02:46:15 +00:00 committed by Gitee
commit cdc60ee231
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: cronie Name: cronie
Version: 1.6.1 Version: 1.6.1
Release: 2 Release: 3
Summary: Standard UNIX daemon crond Summary: Standard UNIX daemon crond
License: GPLv2+ and ISC License: GPLv2+ and ISC
URL: https://github.com/cronie-crond/cronie URL: https://github.com/cronie-crond/cronie
@ -70,7 +70,7 @@ mkdir -p $RPM_BUILD_ROOT/lib/systemd/system/
install -m 644 contrib/cronie.systemd $RPM_BUILD_ROOT/lib/systemd/system/crond.service install -m 644 contrib/cronie.systemd $RPM_BUILD_ROOT/lib/systemd/system/crond.service
%check %check
make check %make_build check
%pre %pre
@ -118,6 +118,9 @@ systemctl try-restart crond.service >/dev/null 2>&1 || :
%changelog %changelog
* Wed Feb 15 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.6.1-3
- replace 'make check' with '%make_build check'
* Tue Oct 18 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.6.1-2 * Tue Oct 18 2022 zhangruifang <zhangruifang1@h-partners.com> - 1.6.1-2
- DESC:add version number for Obsoletes - DESC:add version number for Obsoletes