add make test
This commit is contained in:
parent
231e646f69
commit
e89d26a6ff
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user