diff --git a/libiscsi.spec b/libiscsi.spec index 74bd6c1889d0e0dbf10b38516bf4e84d0827f11d..a8d44027dc60b81d2714c97f0d43b44a0cede86f 100644 --- a/libiscsi.spec +++ b/libiscsi.spec @@ -1,6 +1,6 @@ Name: libiscsi Version: 1.19.0 -Release: 9 +Release: 10 Summary: Client-side library to implement the iSCSI protocol Recommends: %{name}-utils License: LGPLv2+ and GPLv2+ @@ -30,7 +30,7 @@ Patch21: 0021-Fix-segmentation-fault-problem.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,7 +51,9 @@ sh autogen.sh make %{?_smp_mflags} %check -make check +cd tests +make test +cd .. %install make DESTDIR=$RPM_BUILD_ROOT install pkgconfigdir=%{_libdir}/pkgconfig %{?_smp_mflags} @@ -128,6 +130,9 @@ This package contains utilities of %{name} to connect to iSCSI targets %{_bindir}/iscsi-test-cu %changelog +* Thu Jun 16 2022 Ruijun Ge - 1.19.0-10 +- DESC: enable tests + * Wed Jun 15 2022 Ruijun Ge - 1.19.0-9 - DESC: backport patch to solve segmentation fault problem