remove require of dmraid
This commit is contained in:
parent
82afaad647
commit
009d4e8bfc
@ -1,16 +1,19 @@
|
||||
# dmraid is deprecated
|
||||
%define configure_opts --without-dmraid
|
||||
|
||||
Name: libblockdev
|
||||
Version: 2.24
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: libblockdev is a C library supporting GObject introspection for manipulation of block devices
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/storaged-project/libblockdev
|
||||
Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-1/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: git 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 python2-devel 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
|
||||
|
||||
@ -55,7 +58,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
|
||||
@ -167,6 +170,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 6 2021 Lixiaokeng <lixiaokeng@huawei.com> - 2.24-2
|
||||
- remove require of dmraid
|
||||
|
||||
* Wed Jul 29 2020 Zhiqiang Liu <liuzhiqiang26@huawei.com> - 2.24-1
|
||||
- update to 2.24 version
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user