diff --git a/libiscsi.spec b/libiscsi.spec index 296592e1a43a770b837208725b47019a6ef3b29b..27d495034794b56b5b0c0ba7eb9c79fe7e1bcbef 100644 --- a/libiscsi.spec +++ b/libiscsi.spec @@ -1,6 +1,6 @@ Name: libiscsi Version: 1.19.0 -Release: 8 +Release: 9 Summary: Client-side library to implement the iSCSI protocol Recommends: %{name}-utils License: LGPLv2+ and GPLv2+ @@ -29,7 +29,7 @@ Patch20: 0020-Check-return-value-of-scsi_malloc-in-order-to.patch Source: https://github.com/sahlberg/%{name}/archive/%{version}.tar.gz -BuildRequires: gcc +BuildRequires: gcc scsi-target-utils BuildRequires: autoconf automake libtool popt-devel CUnit-devel libgcrypt-devel rdma-core-devel chrpath %description @@ -51,6 +51,9 @@ make %{?_smp_mflags} %check make check +cd tests +make test +cd .. %install make DESTDIR=$RPM_BUILD_ROOT install pkgconfigdir=%{_libdir}/pkgconfig %{?_smp_mflags} @@ -127,6 +130,9 @@ This package contains utilities of %{name} to connect to iSCSI targets %{_bindir}/iscsi-test-cu %changelog +* Mon Jun 13 2022 Ruijun Ge - 1.19.0-9 +- DESC: enable tests + * Fri Jun 10 2022 Ruijun Ge - 1.19.0-8 - DESC: backport patches to solve command parameter parse problem and dereference null pointer problem