From e89d26a6ff9c017ff68f0865cef5008b4c416b1b Mon Sep 17 00:00:00 2001 From: lixiaokeng Date: Wed, 4 Nov 2020 21:12:34 +0800 Subject: [PATCH] add make test --- mdadm.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mdadm.spec b/mdadm.spec index 415182b..3ec31a5 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -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 - 4.1-5 +- add make test + * Thu Sep 24 2020 wuguanghao - 4.1-4 - fix mdmonitor.service start failed -- Gitee