|
@@ -106,7 +106,7 @@
|
|
|
|
|
|
Name: libblockdev
|
|
|
Version: 2.20
|
|
|
-Release: 3%{?_dist_release}
|
|
|
+Release: 4%{?_dist_release}
|
|
|
Summary: A library for low-level manipulation with block devices
|
|
|
License: LGPLv2+
|
|
|
URL: https://github.com/storaged-project/libblockdev
|
|
@@ -118,6 +118,7 @@ Source0: https://github.com/storaged-project/libblockdev/releases/download/
|
|
|
Patch0: 0001-swap-error-codes.patch
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
+BuildRequires: libudev-devel
|
|
|
%if %{with_gi}
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
%endif
|
|
@@ -140,6 +141,25 @@ BuildRequires: gtk-doc
|
|
|
# BuildRequires: python2-six
|
|
|
# BuildRequires: python3-six
|
|
|
|
|
|
+%if %{with_dm}
|
|
|
+Requires: %{name}-dm%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+%if %{with_fs}
|
|
|
+Requires: %{name}-fs%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+%if %{with_loop}
|
|
|
+Requires: %{name}-loop%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+%if %{with_lvm}
|
|
|
+Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+%if %{with_mdraid}
|
|
|
+Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+%if %{with_part}
|
|
|
+Requires: %{name}-part%{?_isa} = %{version}-%{release}
|
|
|
+%endif
|
|
|
+
|
|
|
%description
|
|
|
The libblockdev is a C library with GObject introspection support that can be
|
|
|
used for doing low-level operations with block devices like setting up LVM,
|
|
@@ -964,6 +984,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|
|
%files plugins-all
|
|
|
|
|
|
%changelog
|
|
|
+* Mon Jan 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.20-4
|
|
|
+- disabled lvmdbusd.
|
|
|
+- added R:libblockdev-{dm,fs,loop,lvm,mdraid,part}.
|
|
|
+
|
|
|
* Mon Dec 17 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.20-3
|
|
|
- initial build for Vine Linux.
|
|
|
- disabled bcache, escrow and nvdimm.
|