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