add make check

This commit is contained in:
lixiaokeng 2020-11-04 20:43:03 +08:00
parent 5c18643078
commit 269e53bd4a

View File

@ -1,6 +1,6 @@
Name: libiscsi
Version: 1.19.0
Release: 2
Release: 3
Summary: Client-side library to implement the iSCSI protocol
License: LGPLv2+ and GPLv2+
URL: https://github.com/sahlberg/%{name}
@ -31,6 +31,9 @@ sh autogen.sh
%configure --libdir=%{_libdir}/iscsi --disable-werror
make %{?_smp_mflags}
%check
make check
%install
make DESTDIR=$RPM_BUILD_ROOT install pkgconfigdir=%{_libdir}/pkgconfig %{?_smp_mflags}
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
@ -97,6 +100,9 @@ This package contains the help info for %{name}.
%{_mandir}/man1/iscsi-test-cu.1.gz
%changelog
* Wed Nov 4 2020 lixiaokeng <lixiaokeng@huawei.com> - 1.19.0-3
- add make check
* Thu Oct 29 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 1.19.0-2
- backport one patch to fix iser url scheme parsing