From 91f618756df514d78297a654e74860cb166e1942 Mon Sep 17 00:00:00 2001 From: lixiaokeng Date: Wed, 4 Nov 2020 21:39:57 +0800 Subject: [PATCH] add make test (cherry picked from commit 2467978e4a4631948d61908ef7a4b9e89cbd08c4) --- sg3_utils.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sg3_utils.spec b/sg3_utils.spec index d441e43..059db28 100644 --- a/sg3_utils.spec +++ b/sg3_utils.spec @@ -1,6 +1,6 @@ Name: sg3_utils Version: 1.45 -Release: 2 +Release: 3 Summary: Utilities that send SCSI commands to devices. License: GPL-2.0-or-later AND BSD URL: http://sg.danny.cz/sg/sg3_utils.html @@ -48,6 +48,9 @@ This contains man files for the using of pciutils. make %{?_smp_mflags} +%check +make check + %install %make_install install -p -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8 @@ -71,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la %{_mandir}/man8/* %changelog +* Wed Nov 5 2020 lixiaokeng - 1.45-3 +- add make check + * Tue Feb 9 2021 Zhiqiang Liu - 1.45-2 - solve coredump problem, rename patches and set release to 2 for CI