add make check

Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
Wenchao Hao 2021-08-17 15:03:14 +08:00
parent 28d6bf0992
commit 9a6181d00a

View File

@ -1,6 +1,6 @@
Name: libiscsi
Version: 1.19.0
Release: 3
Release: 4
Summary: Client-side library to implement the iSCSI protocol
Recommends: %{name}-utils
License: LGPLv2+ and GPLv2+
@ -29,6 +29,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
@ -104,6 +107,9 @@ This package contains utilities of %{name} to connect to iSCSI targets
%{_bindir}/iscsi-test-cu
%changelog
* Tue Aug 17 2020 haowenchao <haowenchao@huawei.com> - 1.19.0-4
- add make check
* Tue Aug 17 2020 haowenchao <haowenchao@huawei.com> - 1.19.0-3
- backport one patch to fix iser url scheme parsing