diff --git a/libblockdev.spec b/libblockdev.spec index a2ee89517535b514c38839c7ed00819f8eefab3d..05c27764e96b76d134e34206b3788efbdaae2505 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -1,6 +1,6 @@ Name: libblockdev Version: 2.26 -Release: 2 +Release: 3 Summary: libblockdev is a C library supporting GObject introspection for manipulation of block devices License: LGPLv2+ URL: https://github.com/storaged-project/libblockdev @@ -18,7 +18,9 @@ Patch8: 0008-dm-Fix-comparing-DM-RAID-member-devices-UUID.patch BuildRequires: make glib2-devel libyaml-devel libbytesize-devel parted-devel libuuid-devel ndctl-devel device-mapper-devel BuildRequires: device-mapper-devel dmraid-devel systemd-devel nss-devel volume_key-devel >= 0.3.9-7 libblkid-devel libmount-devel BuildRequires: cryptsetup-devel kmod-devel libxslt glib2-doc gtk-doc python3-devel gobject-introspection-devel -BuildRequires: autoconf-archive +BuildRequires: autoconf-archive python3-pylint python3-yaml python3-packaging python3-dbus python3-bytesize nilfs-utils e2fsprogs +BuildRequires: glibc-all-langpacks nss-tools python3-gobject ndctl nss-tools xfsprogs cryptsetup kmod-kvdo mdadm ndctl nss-tools targetcli bcache-tools volume_key +BuildRequires: device-mapper-multipath lvm2-dbusd >= 2.02.156 vdo kmod-kvdo initscripts Requires: btrfs-progs device-mapper dmraid device-mapper-multipath lvm2 mdadm Requires: device-mapper-persistent-data lvm2-dbusd >= 2.02.156 ndctl gdisk util-linux Recommends: vdo kmod-kvdo @@ -162,8 +164,14 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %files -n python3-blockdev %{python3_sitearch}/gi/overrides/* +%check +service lvm2-lvmdbusd start +python3 tests/run_tests.py --fast %changelog +* Thu Jun 16 2022 Hongtao Zhang - 2.26-3 +- Open test cases + * Wed Jun 15 2022 Hongtao Zhang - 2.26-2 - Add BuildRequire make