!16 mdadm添加make test

From: @lixiaokeng
Reviewed-by: @volcanodragon
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2020-11-05 14:41:43 +08:00 committed by Gitee
commit f30dd21d1e

View File

@ -1,6 +1,6 @@
Name: mdadm
Version: 4.1
Release: 4
Release: 5
Summary: The software RAID arrays user manage tools
License: GPLv2+
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
@ -62,6 +62,9 @@ This contains man files for the using of mdadm.
%build
%make_build CXFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" SYSCONFDIR="%{_sysconfdir}" mdadm mdmon
%check
make test
%install
make DESTDIR=%{buildroot} MANDIR=%{_mandir} BINDIR=%{_sbindir} SYSTEMD_DIR=%{_unitdir} install install-systemd
install -Dp -m 755 misc/mdcheck %{buildroot}%{_sbindir}/mdcheck
@ -99,6 +102,9 @@ install -d -m 710 %{buildroot}/var/run/mdadm/
%{_mandir}/man*/*
%changelog
* Wed Nov 4 2020 lixiaokeng<lixiaokeng@huawei.com> - 4.1-5
- add make test
* Thu Sep 24 2020 wuguanghao <wuguanghao3@huawei.com> - 4.1-4
- fix mdmonitor.service start failed