New version

- Move the  part_err library before part and fs (vtrefny)
- Fix BuildRequires for crypto and dm packages (vtrefny)
- Fix mounting read-only devices (vtrefny)
- Fix the bd_s390_dasd_is_ldl function. (vponcova)
- Add the bd_s390_dasd_is_fba function to check if DASD is FBA (vponcova)
- Disable MD RAID tests on 32bit systems (vpodzime)
- Fix error message when mounting with a wrong fs type (vtrefny)
- Only create RPMs for requested/configured  plugins (vpodzime)
- Only check dependencies of plugins to be built (vpodzime)
- Only build and distribute plugins if configured so (vpodzime)
- Fix format-security and unused-result compiler warnings (vtrefny)
- Add an AC macro for modular builds (vpodzime)
- Add functions for mounting and unmounting filesystems (vtrefny)
This commit is contained in:
Vratislav Podzimek 2017-03-15 13:35:54 +01:00
parent da017d9b65
commit cbbcca7af6
3 changed files with 213 additions and 18 deletions

1
.gitignore vendored
View File

@ -26,3 +26,4 @@
/libblockdev-2.3.tar.gz /libblockdev-2.3.tar.gz
/libblockdev-2.4.tar.gz /libblockdev-2.4.tar.gz
/libblockdev-2.5.tar.gz /libblockdev-2.5.tar.gz
/libblockdev-2.6.tar.gz

View File

@ -1,6 +1,18 @@
%define with_python3 1 %define with_python3 1
%define with_gtk_doc 1 %define with_gtk_doc 1
%define with_bcache 1 %define with_bcache 1
%define with_btrfs 1
%define with_crypto 1
%define with_dm 1
%define with_loop 1
%define with_lvm 1
%define with_lvm_dbus 1
%define with_mdraid 1
%define with_mpath 1
%define with_swap 1
%define with_kbd 1
%define with_part 1
%define with_fs 1
%define is_rhel 0%{?rhel} != 0 %define is_rhel 0%{?rhel} != 0
@ -8,11 +20,50 @@
%if %{is_rhel} %if %{is_rhel}
%define with_python3 0 %define with_python3 0
%define with_bcache 0 %define with_bcache 0
%define configure_opts --without-python3 --without-bcache %define distro_copts --without-python3 --without-bcache
%endif %endif
%if %{with_btrfs} != 1
%define btrfs_copts --without-btrfs
%endif
%if %{with_crypto} != 1
%define crypto_copts --without-crypto
%endif
%if %{with_dm} != 1
%define dm_copts --without-dm
%endif
%if %{with_loop} != 1
%define loop_copts --without-loop
%endif
%if %{with_lvm} != 1
%define lvm_copts --without-lvm
%endif
%if %{with_lvm_dbus} != 1
%define lvm_dbus_copts --without-lvm_dbus
%endif
%if %{with_mdraid} != 1
%define mdraid_copts --without-mdraid
%endif
%if %{with_mpath} != 1
%define mpath_copts --without-mpath
%endif
%if %{with_swap} != 1
%define swap_copts --without-swap
%endif
%if %{with_kbd} != 1
%define kbd_copts --without-kbd
%endif
%if %{with_part} != 1
%define part_copts --without-part
%endif
%if %{with_fs} != 1
%define fs_copts --without-fs
%endif
%define configure_opts %{?distro_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?kbd_copts} %{?part_copts} %{?fs_copts}
Name: libblockdev Name: libblockdev
Version: 2.5 Version: 2.6
Release: 1%{?dist} Release: 1%{?dist}
Summary: A library for low-level manipulation with block devices Summary: A library for low-level manipulation with block devices
License: LGPLv2+ License: LGPLv2+
@ -21,12 +72,6 @@ Source0: https://github.com/rhinstaller/libblockdev/archive/%{name}-%{versio
BuildRequires: glib2-devel BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel BuildRequires: gobject-introspection-devel
BuildRequires: cryptsetup-devel
BuildRequires: device-mapper-devel
BuildRequires: systemd-devel
BuildRequires: dmraid-devel
BuildRequires: volume_key-devel >= 0.3.9-7
BuildRequires: nss-devel
BuildRequires: python-devel BuildRequires: python-devel
%if %{with_python3} %if %{with_python3}
BuildRequires: python3-devel BuildRequires: python3-devel
@ -35,10 +80,6 @@ BuildRequires: python3-devel
BuildRequires: gtk-doc BuildRequires: gtk-doc
%endif %endif
BuildRequires: glib2-doc BuildRequires: glib2-doc
BuildRequires: kmod-devel
BuildRequires: parted-devel
BuildRequires: libblkid-devel
BuildRequires: libbytesize-devel
# Needed for the escrow tests in tests/crypto_test.py, but not used to build # Needed for the escrow tests in tests/crypto_test.py, but not used to build
# BuildRequires: volume_key # BuildRequires: volume_key
@ -48,10 +89,6 @@ BuildRequires: libbytesize-devel
# BuildRequires: python-six # BuildRequires: python-six
# BuildRequires: python3-six # BuildRequires: python3-six
%ifarch s390 s390x
BuildRequires: s390utils-devel
%endif
%description %description
The libblockdev is a C library with GObject introspection support that can be 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, used for doing low-level operations with block devices like setting up LVM,
@ -109,7 +146,9 @@ This package contains header files and pkg-config files needed for development
with the libblockdev-utils library. with the libblockdev-utils library.
%if %{with_btrfs}
%package btrfs %package btrfs
BuildRequires: libbytesize-devel
Summary: The BTRFS plugin for the libblockdev library Summary: The BTRFS plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: btrfs-progs Requires: btrfs-progs
@ -127,9 +166,14 @@ Requires: %{name}-utils-devel%{?_isa}
%description btrfs-devel %description btrfs-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-btrfs plugin/library. with the libblockdev-btrfs plugin/library.
%endif
%if %{with_crypto}
%package crypto %package crypto
BuildRequires: cryptsetup-devel
BuildRequires: volume_key-devel >= 0.3.9-7
BuildRequires: nss-devel
Summary: The crypto plugin for the libblockdev library Summary: The crypto plugin for the libblockdev library
%description crypto %description crypto
@ -144,9 +188,14 @@ Requires: glib2-devel
%description crypto-devel %description crypto-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-crypto plugin/library. with the libblockdev-crypto plugin/library.
%endif
%if %{with_dm}
%package dm %package dm
BuildRequires: device-mapper-devel
BuildRequires: dmraid-devel
BuildRequires: systemd-devel
Summary: The Device Mapper plugin for the libblockdev library Summary: The Device Mapper plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: device-mapper Requires: device-mapper
@ -168,9 +217,14 @@ Requires: %{name}-utils-devel%{?_isa}
%description dm-devel %description dm-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-dm plugin/library. with the libblockdev-dm plugin/library.
%endif
%if %{with_fs}
%package fs %package fs
BuildRequires: parted-devel
BuildRequires: libblkid-devel
BuildRequires: libmount-devel
Summary: The FS plugin for the libblockdev library Summary: The FS plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: device-mapper-multipath Requires: device-mapper-multipath
@ -190,9 +244,12 @@ Requires: dosfstools
%description fs-devel %description fs-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-fs plugin/library. with the libblockdev-fs plugin/library.
%endif
%if %{with_kbd}
%package kbd %package kbd
BuildRequires: kmod-devel
Summary: The KBD plugin for the libblockdev library Summary: The KBD plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
%if %{with_bcache} %if %{with_bcache}
@ -213,8 +270,10 @@ Requires: glib2-devel
%description kbd-devel %description kbd-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-kbd plugin/library. with the libblockdev-kbd plugin/library.
%endif
%if %{with_loop}
%package loop %package loop
Summary: The loop plugin for the libblockdev library Summary: The loop plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
@ -233,9 +292,12 @@ Requires: glib2-devel
%description loop-devel %description loop-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-loop plugin/library. with the libblockdev-loop plugin/library.
%endif
%if %{with_lvm}
%package lvm %package lvm
BuildRequires: device-mapper-devel
Summary: The LVM plugin for the libblockdev library Summary: The LVM plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: lvm2 Requires: lvm2
@ -255,8 +317,11 @@ Requires: glib2-devel
%description lvm-devel %description lvm-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-lvm plugin/library. with the libblockdev-lvm plugin/library.
%endif
%if %{with_lvm_dbus}
%package lvm-dbus %package lvm-dbus
BuildRequires: device-mapper-devel
Summary: The LVM plugin for the libblockdev library Summary: The LVM plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 1.4 Requires: %{name}-utils%{?_isa} >= 1.4
Requires: lvm2-dbusd >= 2.02.156 Requires: lvm2-dbusd >= 2.02.156
@ -276,9 +341,12 @@ Requires: glib2-devel
%description lvm-dbus-devel %description lvm-dbus-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-lvm-dbus plugin/library. with the libblockdev-lvm-dbus plugin/library.
%endif
%if %{with_mdraid}
%package mdraid %package mdraid
BuildRequires: libbytesize-devel
Summary: The MD RAID plugin for the libblockdev library Summary: The MD RAID plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: mdadm Requires: mdadm
@ -296,9 +364,12 @@ Requires: glib2-devel
%description mdraid-devel %description mdraid-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-mdraid plugin/library. with the libblockdev-mdraid plugin/library.
%endif
%if %{with_mpath}
%package mpath %package mpath
BuildRequires: device-mapper-devel
Summary: The multipath plugin for the libblockdev library Summary: The multipath plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: device-mapper-multipath Requires: device-mapper-multipath
@ -316,9 +387,12 @@ Requires: glib2-devel
%description mpath-devel %description mpath-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-mpath plugin/library. with the libblockdev-mpath plugin/library.
%endif
%if %{with_part}
%package part %package part
BuildRequires: parted-devel
Summary: The partitioning plugin for the libblockdev library Summary: The partitioning plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
Requires: device-mapper-multipath Requires: device-mapper-multipath
@ -338,8 +412,10 @@ Requires: glib2-devel
%description part-devel %description part-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-part plugin/library. with the libblockdev-part plugin/library.
%endif
%if %{with_swap}
%package swap %package swap
Summary: The swap plugin for the libblockdev library Summary: The swap plugin for the libblockdev library
Requires: %{name}-utils%{?_isa} >= 0.11 Requires: %{name}-utils%{?_isa} >= 0.11
@ -358,8 +434,12 @@ Requires: glib2-devel
%description swap-devel %description swap-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-swap plugin/library. with the libblockdev-swap plugin/library.
%endif
%ifarch s390 s390x
%package s390 %package s390
BuildRequires: s390utils-devel
Summary: The s390 plugin for the libblockdev library Summary: The s390 plugin for the libblockdev library
Requires: s390utils Requires: s390utils
@ -377,22 +457,56 @@ Requires: s390utils-devel
%description s390-devel %description s390-devel
This package contains header files and pkg-config files needed for development This package contains header files and pkg-config files needed for development
with the libblockdev-s390 plugin/library. with the libblockdev-s390 plugin/library.
%endif
%package plugins-all %package plugins-all
Summary: Meta-package that pulls all the libblockdev plugins as dependencies Summary: Meta-package that pulls all the libblockdev plugins as dependencies
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%if %{with_btrfs}
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release} Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
%endif
%if %{with_crypto}
Requires: %{name}-crypto%{?_isa} = %{version}-%{release} Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
%endif
%if %{with_dm}
Requires: %{name}-dm%{?_isa} = %{version}-%{release} Requires: %{name}-dm%{?_isa} = %{version}-%{release}
%endif
%if %{with_fs}
Requires: %{name}-fs%{?_isa} = %{version}-%{release} Requires: %{name}-fs%{?_isa} = %{version}-%{release}
%endif
%if %{with_kbd}
Requires: %{name}-kbd%{?_isa} = %{version}-%{release} Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
%endif
%if %{with_loop}
Requires: %{name}-loop%{?_isa} = %{version}-%{release} Requires: %{name}-loop%{?_isa} = %{version}-%{release}
%endif
%if %{with_lvm}
Requires: %{name}-lvm%{?_isa} = %{version}-%{release} Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
%endif
%if %{with_mdraid}
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release} Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
%endif
%if %{with_mpath}
Requires: %{name}-mpath%{?_isa} = %{version}-%{release} Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
%endif
%if %{with_part}
Requires: %{name}-part%{?_isa} = %{version}-%{release} Requires: %{name}-part%{?_isa} = %{version}-%{release}
%endif
%if %{with_swap}
Requires: %{name}-swap%{?_isa} = %{version}-%{release} Requires: %{name}-swap%{?_isa} = %{version}-%{release}
%endif
%ifarch s390 s390x %ifarch s390 s390x
Requires: %{name}-s390%{?_isa} = %{version}-%{release} Requires: %{name}-s390%{?_isa} = %{version}-%{release}
%endif %endif
@ -417,32 +531,71 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post utils -p /sbin/ldconfig %post utils -p /sbin/ldconfig
%postun utils -p /sbin/ldconfig %postun utils -p /sbin/ldconfig
%if %{with_btrfs}
%post btrfs -p /sbin/ldconfig %post btrfs -p /sbin/ldconfig
%postun btrfs -p /sbin/ldconfig %postun btrfs -p /sbin/ldconfig
%endif
%if %{with_crypto}
%post crypto -p /sbin/ldconfig %post crypto -p /sbin/ldconfig
%postun crypto -p /sbin/ldconfig %postun crypto -p /sbin/ldconfig
%endif
%if %{with_dm}
%post dm -p /sbin/ldconfig %post dm -p /sbin/ldconfig
%postun dm -p /sbin/ldconfig %postun dm -p /sbin/ldconfig
%endif
%if %{with_fs}
%post fs -p /sbin/ldconfig %post fs -p /sbin/ldconfig
%postun fs -p /sbin/ldconfig %postun fs -p /sbin/ldconfig
%endif
%if %{with_loop}
%post loop -p /sbin/ldconfig %post loop -p /sbin/ldconfig
%postun loop -p /sbin/ldconfig %postun loop -p /sbin/ldconfig
%endif
%if %{with_lvm}
%post lvm -p /sbin/ldconfig %post lvm -p /sbin/ldconfig
%postun lvm -p /sbin/ldconfig %postun lvm -p /sbin/ldconfig
%endif
%if %{with_lvm_dbus}
%post lvm-dbus -p /sbin/ldconfig %post lvm-dbus -p /sbin/ldconfig
%postun lvm-dbus -p /sbin/ldconfig %postun lvm-dbus -p /sbin/ldconfig
%endif
%if %{with_mdraid}
%post mdraid -p /sbin/ldconfig %post mdraid -p /sbin/ldconfig
%postun mdraid -p /sbin/ldconfig %postun mdraid -p /sbin/ldconfig
%endif
%if %{with_mpath}
%post mpath -p /sbin/ldconfig %post mpath -p /sbin/ldconfig
%postun mpath -p /sbin/ldconfig %postun mpath -p /sbin/ldconfig
%endif
%if %{with_part}
%post part -p /sbin/ldconfig %post part -p /sbin/ldconfig
%postun part -p /sbin/ldconfig %postun part -p /sbin/ldconfig
%endif
%if %{with_swap}
%post swap -p /sbin/ldconfig %post swap -p /sbin/ldconfig
%postun swap -p /sbin/ldconfig %postun swap -p /sbin/ldconfig
%endif
%ifarch s390 s390x
%post s390 -p /sbin/ldconfig %post s390 -p /sbin/ldconfig
%postun s390 -p /sbin/ldconfig %postun s390 -p /sbin/ldconfig
%endif
%if %{with_kbd}
%post kbd -p /sbin/ldconfig %post kbd -p /sbin/ldconfig
%postun kbd -p /sbin/ldconfig %postun kbd -p /sbin/ldconfig
%endif
%files %files
@ -487,6 +640,7 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_includedir}/blockdev/extra_arg.h %{_includedir}/blockdev/extra_arg.h
%if %{with_btrfs}
%files btrfs %files btrfs
%{_libdir}/libbd_btrfs.so.* %{_libdir}/libbd_btrfs.so.*
@ -494,8 +648,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_btrfs.so %{_libdir}/libbd_btrfs.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/btrfs.h %{_includedir}/blockdev/btrfs.h
%endif
%if %{with_crypto}
%files crypto %files crypto
%{_libdir}/libbd_crypto.so.* %{_libdir}/libbd_crypto.so.*
@ -503,8 +659,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_crypto.so %{_libdir}/libbd_crypto.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/crypto.h %{_includedir}/blockdev/crypto.h
%endif
%if %{with_dm}
%files dm %files dm
%{_libdir}/libbd_dm.so.* %{_libdir}/libbd_dm.so.*
@ -512,8 +670,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_dm.so %{_libdir}/libbd_dm.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/dm.h %{_includedir}/blockdev/dm.h
%endif
%if %{with_fs}
%files fs %files fs
%{_libdir}/libbd_fs.so.* %{_libdir}/libbd_fs.so.*
@ -521,8 +681,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_fs.so %{_libdir}/libbd_fs.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/fs.h %{_includedir}/blockdev/fs.h
%endif
%if %{with_kbd}
%files kbd %files kbd
%{_libdir}/libbd_kbd.so.* %{_libdir}/libbd_kbd.so.*
@ -530,8 +692,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_kbd.so %{_libdir}/libbd_kbd.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/kbd.h %{_includedir}/blockdev/kbd.h
%endif
%if %{with_loop}
%files loop %files loop
%{_libdir}/libbd_loop.so.* %{_libdir}/libbd_loop.so.*
@ -539,8 +703,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_loop.so %{_libdir}/libbd_loop.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/loop.h %{_includedir}/blockdev/loop.h
%endif
%if %{with_lvm}
%files lvm %files lvm
%{_libdir}/libbd_lvm.so.* %{_libdir}/libbd_lvm.so.*
@ -548,7 +714,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_lvm.so %{_libdir}/libbd_lvm.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/lvm.h %{_includedir}/blockdev/lvm.h
%endif
%if %{with_lvm_dbus}
%files lvm-dbus %files lvm-dbus
%{_libdir}/libbd_lvm-dbus.so.* %{_libdir}/libbd_lvm-dbus.so.*
%config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg %config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg
@ -557,8 +726,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_lvm-dbus.so %{_libdir}/libbd_lvm-dbus.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/lvm.h %{_includedir}/blockdev/lvm.h
%endif
%if %{with_mdraid}
%files mdraid %files mdraid
%{_libdir}/libbd_mdraid.so.* %{_libdir}/libbd_mdraid.so.*
@ -566,8 +737,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_mdraid.so %{_libdir}/libbd_mdraid.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/mdraid.h %{_includedir}/blockdev/mdraid.h
%endif
%if %{with_mpath}
%files mpath %files mpath
%{_libdir}/libbd_mpath.so.* %{_libdir}/libbd_mpath.so.*
@ -575,8 +748,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_mpath.so %{_libdir}/libbd_mpath.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/mpath.h %{_includedir}/blockdev/mpath.h
%endif
%if %{with_part}
%files part %files part
%{_libdir}/libbd_part.so.* %{_libdir}/libbd_part.so.*
@ -584,8 +759,10 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_part.so %{_libdir}/libbd_part.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/part.h %{_includedir}/blockdev/part.h
%endif
%if %{with_swap}
%files swap %files swap
%{_libdir}/libbd_swap.so.* %{_libdir}/libbd_swap.so.*
@ -593,6 +770,8 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_libdir}/libbd_swap.so %{_libdir}/libbd_swap.so
%dir %{_includedir}/blockdev %dir %{_includedir}/blockdev
%{_includedir}/blockdev/swap.h %{_includedir}/blockdev/swap.h
%endif
%ifarch s390 s390x %ifarch s390 s390x
%files s390 %files s390
@ -607,6 +786,21 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%files plugins-all %files plugins-all
%changelog %changelog
* Wed Mar 15 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-1
- Move the part_err library before part and fs (vtrefny)
- Fix BuildRequires for crypto and dm packages (vtrefny)
- Fix mounting read-only devices (vtrefny)
- Fix the bd_s390_dasd_is_ldl function. (vponcova)
- Add the bd_s390_dasd_is_fba function to check if DASD is FBA (vponcova)
- Disable MD RAID tests on 32bit systems (vpodzime)
- Fix error message when mounting with a wrong fs type (vtrefny)
- Only create RPMs for requested/configured plugins (vpodzime)
- Only check dependencies of plugins to be built (vpodzime)
- Only build and distribute plugins if configured so (vpodzime)
- Fix format-security and unused-result compiler warnings (vtrefny)
- Add an AC macro for modular builds (vpodzime)
- Add functions for mounting and unmounting filesystems (vtrefny)
* Mon Mar 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.5-1 * Mon Mar 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.5-1
- Do not try to get GVariant after not adding anything to its builder (vpodzime) - Do not try to get GVariant after not adding anything to its builder (vpodzime)
- Replace NULL with "" when building ExtraArg (vpodzime) - Replace NULL with "" when building ExtraArg (vpodzime)

View File

@ -1 +1 @@
SHA512 (libblockdev-2.5.tar.gz) = cea8c2269325f07457c9da53ee7c8c9371418ba5e46e76613db2d9cf4bdce58142dea8f8cc99c25fe997d94d86a575ff05c291ccaf140c3346da884f64429ec0 SHA512 (libblockdev-2.6.tar.gz) = a9c42a3ac6ef703d1c8cbdb6f0c67ee1e4245ecb3876bce16b97fbdb5249b668c5935577410eb85253bb558d0726b2183163332234b508e88400ad2cb20438a0