add make check
This commit is contained in:
parent
5c18643078
commit
269e53bd4a
@ -1,6 +1,6 @@
|
|||||||
Name: libiscsi
|
Name: libiscsi
|
||||||
Version: 1.19.0
|
Version: 1.19.0
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Client-side library to implement the iSCSI protocol
|
Summary: Client-side library to implement the iSCSI protocol
|
||||||
License: LGPLv2+ and GPLv2+
|
License: LGPLv2+ and GPLv2+
|
||||||
URL: https://github.com/sahlberg/%{name}
|
URL: https://github.com/sahlberg/%{name}
|
||||||
@ -31,6 +31,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
|
||||||
@ -97,6 +100,9 @@ This package contains the help info for %{name}.
|
|||||||
%{_mandir}/man1/iscsi-test-cu.1.gz
|
%{_mandir}/man1/iscsi-test-cu.1.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Oct 29 2020 Zhiqiang Liu <lzhq28@mail.ustc.edu.cn> - 1.19.0-2
|
||||||
- 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