!39 [sync] PR-37: remove require dmraid and kmod-kvdo

From: @openeuler-sync-bot 
Reviewed-by: @swf504 
Signed-off-by: @swf504
This commit is contained in:
openeuler-ci-bot 2023-03-23 03:03:50 +00:00 committed by Gitee
commit 9a80653398
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,9 @@
# dmraid is deprecated
%define configure_opts --without-dmraid
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
@ -16,12 +19,12 @@ Patch7: 0007-fs-Fix-return-values-in-bd_fs_xfs_get_info.patch
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: device-mapper-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
Requires: btrfs-progs device-mapper dmraid device-mapper-multipath lvm2 mdadm
Requires: btrfs-progs device-mapper device-mapper-multipath lvm2 mdadm
Requires: device-mapper-persistent-data lvm2-dbusd >= 2.02.156 ndctl gdisk util-linux
Recommends: vdo kmod-kvdo
Recommends: vdo
Provides: %{name}-utils%{?_isa} %{name}-utils
Obsoletes: %{name}-utils < %{version}
@ -64,7 +67,7 @@ possibly with multiple implementations (e.g. using LVM CLI or the new LVM DBus A
%package devel
Summary: Libraries and header files for libblockdev
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: glib2-devel device-mapper-devel xfsprogs dosfstools dmraid-devel systemd-devel
Requires: glib2-devel device-mapper-devel xfsprogs dosfstools systemd-devel
Provides: %{name}-btrfs-devel%{?_isa} %{name}-btrfs-devel
Obsoletes: %{name}-btrfs-devel < %{version}
@ -164,6 +167,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%changelog
* Wed Mar 22 2023 wangzhiqiang <wangzhiqiang95@huawei.com> - 2.26-3
- remove require dmraid and kmod-kvdo
* Wed Jun 15 2022 Hongtao Zhang <zhanghongtao22@huawei.com> - 2.26-2
- Add BuildRequire make