add make check
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
This commit is contained in:
parent
28d6bf0992
commit
9a6181d00a
@ -1,6 +1,6 @@
|
|||||||
Name: libiscsi
|
Name: libiscsi
|
||||||
Version: 1.19.0
|
Version: 1.19.0
|
||||||
Release: 3
|
Release: 4
|
||||||
Summary: Client-side library to implement the iSCSI protocol
|
Summary: Client-side library to implement the iSCSI protocol
|
||||||
Recommends: %{name}-utils
|
Recommends: %{name}-utils
|
||||||
License: LGPLv2+ and GPLv2+
|
License: LGPLv2+ and GPLv2+
|
||||||
@ -29,6 +29,9 @@ sh autogen.sh
|
|||||||
%configure --libdir=%{_libdir}/iscsi --disable-werror
|
%configure --libdir=%{_libdir}/iscsi --disable-werror
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install pkgconfigdir=%{_libdir}/pkgconfig %{?_smp_mflags}
|
make DESTDIR=$RPM_BUILD_ROOT install pkgconfigdir=%{_libdir}/pkgconfig %{?_smp_mflags}
|
||||||
mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d
|
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
|
%{_bindir}/iscsi-test-cu
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 17 2020 haowenchao <haowenchao@huawei.com> - 1.19.0-3
|
||||||
- backport one patch to fix iser url scheme parsing
|
- backport one patch to fix iser url scheme parsing
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user