add make test

This commit is contained in:
lixiaokeng 2020-11-04 21:39:57 +08:00
parent 07b53fe7a2
commit a6366f8129

View File

@ -1,6 +1,6 @@
Name: sg3_utils Name: sg3_utils
Version: 1.45 Version: 1.45
Release: 1 Release: 2
Summary: Utilities that send SCSI commands to devices. Summary: Utilities that send SCSI commands to devices.
License: GPL-2.0-or-later AND BSD License: GPL-2.0-or-later AND BSD
URL: http://sg.danny.cz/sg/sg3_utils.html 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} make %{?_smp_mflags}
%check
make check
%install %install
%make_install %make_install
install -p -m 644 doc/rescan-scsi-bus.sh.8 $RPM_BUILD_ROOT%{_mandir}/man8 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/* %{_mandir}/man8/*
%changelog %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 * Fri Jul 17 2020 yanglongkang <yanglongkang@huawei.com> - 1.45-1
- update package to 1.45 - update package to 1.45