!11 sg3_utils 添加make check

From: @lixiaokeng
Reviewed-by: @volcanodragon
Signed-off-by: @liuzhiqiang26
This commit is contained in:
openeuler-ci-bot 2020-11-05 14:43:15 +08:00 committed by Gitee
commit 2059e2ca06

View File

@ -1,6 +1,6 @@
Name: sg3_utils
Version: 1.45
Release: 1
Release: 2
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
@ -47,6 +47,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
@ -70,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la
%{_mandir}/man8/*
%changelog
* Wed Nov 5 2020 lixiaokeng <lixiaokeng@huawei.com> - 1.45-2
- add make check
* Fri Jul 17 2020 yanglongkang <yanglongkang@huawei.com> - 1.45-1
- update package to 1.45