From 9a6181d00a84e2f3fb575ea09c562ba11c157884 Mon Sep 17 00:00:00 2001 From: Wenchao Hao Date: Tue, 17 Aug 2021 15:03:14 +0800 Subject: [PATCH] add make check Signed-off-by: Wenchao Hao --- libiscsi.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libiscsi.spec b/libiscsi.spec index ce085c3..0d4fd6d 100644 --- a/libiscsi.spec +++ b/libiscsi.spec @@ -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 - 1.19.0-4 +- add make check + * Tue Aug 17 2020 haowenchao - 1.19.0-3 - backport one patch to fix iser url scheme parsing