diff --git a/multipath-tools.spec b/multipath-tools.spec index e40d8ba58b90b3940d0b4e9131b4e0b31a502359..26ed9239db560bedca18b960da1d248b9f4492dd 100644 --- a/multipath-tools.spec +++ b/multipath-tools.spec @@ -1,6 +1,6 @@ Name: multipath-tools Version: 0.8.5 -Release: 1 +Release: 2 Summary: Tools to manage multipath devices with the device-mapper License: GPLv2-or-later and LGPLv2+ URL: http://christophe.varoqui.free.fr/ @@ -27,6 +27,7 @@ Patch16: 0016-bugfix-clear-mpp-path-reference-when-path-is-freed-otherwis.patch BuildRequires: gcc, libaio-devel, userspace-rcu-devel, device-mapper-devel >= 1.02.89 BuildRequires: libselinux-devel, libsepol-devel, readline-devel, ncurses-devel, git BuildRequires: systemd-units, systemd-devel, json-c-devel, perl-interpreter, pkgconfig +BuildRequires: libcmocka, libcmocka-devel Requires: userspace-rcu, json-c, device-mapper >= 1.02.96 Requires: kpartx = %{version}-%{release} Requires(post): systemd-units @@ -100,6 +101,9 @@ make install \ install -d %{buildroot}/etc/multipath rm -rf %{buildroot}/%{_initrddir} +%check +make test + %post /sbin/ldconfig @@ -163,6 +167,9 @@ fi %changelog +* Sat Feb 20 2020 lixiaokeng - 0.8.5-2 +- add make test + * Sat Jan 30 2020 lixiaokeng - 0.8.5-1 - update to 0.8.5