add make test

(cherry picked from commit 2467978e4a4631948d61908ef7a4b9e89cbd08c4)
This commit is contained in:
lixiaokeng 2020-11-04 21:39:57 +08:00 committed by openeuler-sync-bot
parent a3da76cf7c
commit 91f618756d

View File

@ -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 <lixiaokeng@huawei.com> - 1.45-3
- add make check
* Tue Feb 9 2021 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 1.45-2
- solve coredump problem, rename patches and set release to 2 for CI