e59aa7
%define with_python3 0
e59aa7
%define with_gtk_doc 1
e59aa7
%define with_bcache 0
e59aa7
%define with_btrfs 1
e59aa7
%define with_crypto 1
e59aa7
%define with_dm 1
e59aa7
%define with_loop 1
e59aa7
%define with_lvm 1
e59aa7
%define with_lvm_dbus 0
e59aa7
%define with_mdraid 1
e59aa7
%define with_mpath 1
e59aa7
%define with_swap 1
e59aa7
%define with_kbd 1
e59aa7
%define with_part 1
e59aa7
%define with_fs 1
e59aa7
%define with_gi 1
e59aa7
e59aa7
%define is_rhel 0%{?rhel} != 0
e59aa7
e59aa7
# python3 is not available on RHEL
e59aa7
%if %{is_rhel}
e59aa7
%define with_python3 0
e59aa7
%define with_bcache 0
e59aa7
%define with_lvm_dbus 0
e59aa7
%define distro_copts --without-python3 --without-bcache --without-lvm-dbus
e59aa7
%endif
e59aa7
e59aa7
%if %{with_btrfs} != 1
e59aa7
%define btrfs_copts --without-btrfs
e59aa7
%endif
e59aa7
%if %{with_crypto} != 1
e59aa7
%define crypto_copts --without-crypto
e59aa7
%endif
e59aa7
%if %{with_dm} != 1
e59aa7
%define dm_copts --without-dm
e59aa7
%endif
e59aa7
%if %{with_loop} != 1
e59aa7
%define loop_copts --without-loop
e59aa7
%endif
e59aa7
%if %{with_lvm} != 1
e59aa7
%define lvm_copts --without-lvm
e59aa7
%endif
e59aa7
%if %{with_lvm_dbus} != 1
e59aa7
%define lvm_dbus_copts --without-lvm_dbus
e59aa7
%endif
e59aa7
%if %{with_mdraid} != 1
e59aa7
%define mdraid_copts --without-mdraid
e59aa7
%endif
e59aa7
%if %{with_mpath} != 1
e59aa7
%define mpath_copts --without-mpath
e59aa7
%endif
e59aa7
%if %{with_swap} != 1
e59aa7
%define swap_copts --without-swap
e59aa7
%endif
e59aa7
%if %{with_kbd} != 1
e59aa7
%define kbd_copts --without-kbd
e59aa7
%endif
e59aa7
%if %{with_part} != 1
e59aa7
%define part_copts --without-part
e59aa7
%endif
e59aa7
%if %{with_fs} != 1
e59aa7
%define fs_copts --without-fs
e59aa7
%endif
e59aa7
%if %{with_gi} != 1
e59aa7
%define gi_copts --disable-introspection
e59aa7
%endif
e59aa7
e59aa7
%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} %{?gi_copts}
e59aa7
e59aa7
Name:        libblockdev
e59aa7
Version:     2.12
e59aa7
Release:     3%{?dist}
e59aa7
Summary:     A library for low-level manipulation with block devices
e59aa7
License:     LGPLv2+
e59aa7
URL:         https://github.com/storaged-project/libblockdev
e59aa7
Source0:     https://github.com/storaged-project/libblockdev/archive/%{name}-%{version}.tar.gz
e59aa7
e59aa7
BuildRequires: glib2-devel
e59aa7
%if %{with_gi}
e59aa7
BuildRequires: gobject-introspection-devel
e59aa7
%endif
e59aa7
BuildRequires: python-devel
e59aa7
%if %{with_python3}
e59aa7
BuildRequires: python3-devel
e59aa7
%endif
e59aa7
%if %{with_gtk_doc}
e59aa7
BuildRequires: gtk-doc
e59aa7
%endif
e59aa7
BuildRequires: glib2-doc
e59aa7
e59aa7
# Needed for the escrow tests in tests/crypto_test.py, but not used to build
e59aa7
# BuildRequires: volume_key
e59aa7
# BuildRequires: nss-tools
e59aa7
e59aa7
# Needed for python 2 vs. 3 compatibility in the tests, but not used to build
e59aa7
# BuildRequires: python-six
e59aa7
# BuildRequires: python3-six
e59aa7
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description
e59aa7
The libblockdev is a C library with GObject introspection support that can be
e59aa7
used for doing low-level operations with block devices like setting up LVM,
e59aa7
BTRFS, LUKS or MD RAID. The library uses plugins (LVM, BTRFS,...) and serves as
e59aa7
a thin wrapper around its plugins' functionality. All the plugins, however, can
e59aa7
be used as standalone libraries. One of the core principles of libblockdev is
e59aa7
that it is stateless from the storage configuration's perspective (e.g. it has
e59aa7
no information about VGs when creating an LV).
e59aa7
e59aa7
%package devel
e59aa7
Summary:     Development files for libblockdev
e59aa7
Requires: %{name}%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev library.
e59aa7
e59aa7
%package -n python2-blockdev
e59aa7
Summary:     Python2 gobject-introspection bindings for libblockdev
e59aa7
Requires: %{name}%{?_isa} = %{version}-%{release}
e59aa7
Requires: pygobject3-base
e59aa7
%{?python_provide:%python_provide python2-blockdev}
e59aa7
e59aa7
%description -n python2-blockdev
e59aa7
This package contains enhancements to the gobject-introspection bindings for
e59aa7
libblockdev in Python2.
e59aa7
e59aa7
%if %{with_python3}
e59aa7
%package -n python3-blockdev
e59aa7
Summary:     Python3 gobject-introspection bindings for libblockdev
e59aa7
Requires: %{name}%{?_isa} = %{version}-%{release}
e59aa7
Requires: python3-gobject-base
e59aa7
%{?python_provide:%python_provide python3-blockdev}
e59aa7
e59aa7
%description -n python3-blockdev
e59aa7
This package contains enhancements to the gobject-introspection bindings for
e59aa7
libblockdev in Python3.
e59aa7
%endif
e59aa7
e59aa7
%package utils
e59aa7
Summary:     A library with utility functions for the libblockdev library
e59aa7
e59aa7
%description utils
e59aa7
The libblockdev-utils is a library providing utility functions used by the
e59aa7
libblockdev library and its plugins.
e59aa7
e59aa7
%package utils-devel
e59aa7
Summary:     Development files for libblockdev-utils
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description utils-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-utils library.
e59aa7
e59aa7
e59aa7
%if %{with_btrfs}
e59aa7
%package btrfs
e59aa7
BuildRequires: libbytesize-devel
e59aa7
Summary:     The BTRFS plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: btrfs-progs
e59aa7
e59aa7
%description btrfs
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the BTRFS-related functionality.
e59aa7
e59aa7
%package btrfs-devel
e59aa7
Summary:     Development files for the libblockdev-btrfs plugin/library
e59aa7
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description btrfs-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-btrfs plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_crypto}
e59aa7
%package crypto
e59aa7
BuildRequires: cryptsetup-devel
e59aa7
BuildRequires: volume_key-devel >= 0.3.9-7
e59aa7
BuildRequires: nss-devel
e59aa7
Summary:     The crypto plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description crypto
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to encrypted devices (LUKS).
e59aa7
e59aa7
%package crypto-devel
e59aa7
Summary:     Development files for the libblockdev-crypto plugin/library
e59aa7
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description crypto-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-crypto plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_dm}
e59aa7
%package dm
e59aa7
BuildRequires: device-mapper-devel
e59aa7
BuildRequires: dmraid-devel
e59aa7
BuildRequires: systemd-devel
e59aa7
Summary:     The Device Mapper plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: device-mapper
e59aa7
Requires: dmraid
e59aa7
e59aa7
%description dm
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to Device Mapper.
e59aa7
e59aa7
%package dm-devel
e59aa7
Summary:     Development files for the libblockdev-dm plugin/library
e59aa7
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
Requires: device-mapper-devel
e59aa7
Requires: systemd-devel
e59aa7
Requires: dmraid-devel
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description dm-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-dm plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_fs}
e59aa7
%package fs
e59aa7
BuildRequires: parted-devel
e59aa7
BuildRequires: libblkid-devel
e59aa7
BuildRequires: libmount-devel
e59aa7
Summary:     The FS plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: device-mapper-multipath
e59aa7
e59aa7
%description fs
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to operations with file systems.
e59aa7
e59aa7
%package fs-devel
e59aa7
Summary:     Development files for the libblockdev-fs plugin/library
e59aa7
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
Requires: xfsprogs
e59aa7
Requires: dosfstools
e59aa7
e59aa7
%description fs-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-fs plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_kbd}
e59aa7
%package kbd
e59aa7
BuildRequires: kmod-devel
e59aa7
Summary:     The KBD plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
%if %{with_bcache}
e59aa7
Requires: bcache-tools >= 1.0.8
e59aa7
%endif
e59aa7
e59aa7
%description kbd
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to kernel block devices (namely zRAM and
e59aa7
Bcache).
e59aa7
e59aa7
%package kbd-devel
e59aa7
Summary:     Development files for the libblockdev-kbd plugin/library
e59aa7
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description kbd-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-kbd plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_loop}
e59aa7
%package loop
e59aa7
Summary:     The loop plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description loop
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to loop devices.
e59aa7
e59aa7
%package loop-devel
e59aa7
Summary:     Development files for the libblockdev-loop plugin/library
e59aa7
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description loop-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-loop plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_lvm}
e59aa7
%package lvm
e59aa7
BuildRequires: device-mapper-devel
e59aa7
Summary:     The LVM plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: lvm2
e59aa7
# for thin_metadata_size
e59aa7
Requires: device-mapper-persistent-data
e59aa7
e59aa7
%description lvm
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the LVM-related functionality.
e59aa7
e59aa7
%package lvm-devel
e59aa7
Summary:     Development files for the libblockdev-lvm plugin/library
e59aa7
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description lvm-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-lvm plugin/library.
e59aa7
%endif
e59aa7
e59aa7
%if %{with_lvm_dbus}
e59aa7
%package lvm-dbus
e59aa7
BuildRequires: device-mapper-devel
e59aa7
Summary:     The LVM plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: lvm2-dbusd >= 2.02.156
e59aa7
# for thin_metadata_size
e59aa7
Requires: device-mapper-persistent-data
e59aa7
e59aa7
%description lvm-dbus
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the LVM-related functionality utilizing the LVM DBus API.
e59aa7
e59aa7
%package lvm-dbus-devel
e59aa7
Summary:     Development files for the libblockdev-lvm-dbus plugin/library
e59aa7
Requires: %{name}-lvm-dbus%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description lvm-dbus-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-lvm-dbus plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_mdraid}
e59aa7
%package mdraid
e59aa7
BuildRequires: libbytesize-devel
e59aa7
Summary:     The MD RAID plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: mdadm
e59aa7
e59aa7
%description mdraid
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to MD RAID.
e59aa7
e59aa7
%package mdraid-devel
e59aa7
Summary:     Development files for the libblockdev-mdraid plugin/library
e59aa7
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description mdraid-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-mdraid plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_mpath}
e59aa7
%package mpath
e59aa7
BuildRequires: device-mapper-devel
e59aa7
Summary:     The multipath plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: device-mapper-multipath
e59aa7
e59aa7
%description mpath
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to multipath devices.
e59aa7
e59aa7
%package mpath-devel
e59aa7
Summary:     Development files for the libblockdev-mpath plugin/library
e59aa7
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description mpath-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-mpath plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_part}
e59aa7
%package part
e59aa7
BuildRequires: parted-devel
e59aa7
Summary:     The partitioning plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: device-mapper-multipath
e59aa7
Requires: gdisk
e59aa7
Requires: util-linux
e59aa7
e59aa7
%description part
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to partitioning.
e59aa7
e59aa7
%package part-devel
e59aa7
Summary:     Development files for the libblockdev-part plugin/library
e59aa7
Requires: %{name}-part%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description part-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-part plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_swap}
e59aa7
%package swap
e59aa7
Summary:     The swap plugin for the libblockdev library
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
Requires: util-linux
e59aa7
e59aa7
%description swap
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to swap devices.
e59aa7
e59aa7
%package swap-devel
e59aa7
Summary:     Development files for the libblockdev-swap plugin/library
e59aa7
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
e59aa7
%description swap-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-swap plugin/library.
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%ifarch s390 s390x
e59aa7
%package s390
e59aa7
BuildRequires: s390utils-devel
e59aa7
Summary:    The s390 plugin for the libblockdev library
e59aa7
Requires: s390utils
e59aa7
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%description s390
e59aa7
The libblockdev library plugin (and in the same time a standalone library)
e59aa7
providing the functionality related to s390 devices.
e59aa7
e59aa7
%package s390-devel
e59aa7
Summary:     Development files for the libblockdev-s390 plugin/library
e59aa7
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
e59aa7
Requires: %{name}-utils-devel%{?_isa} = %{version}-%{release}
e59aa7
Requires: glib2-devel
e59aa7
Requires: s390utils-devel
e59aa7
e59aa7
%description s390-devel
e59aa7
This package contains header files and pkg-config files needed for development
e59aa7
with the libblockdev-s390 plugin/library.
e59aa7
%endif
e59aa7
e59aa7
%package plugins-all
e59aa7
Summary:     Meta-package that pulls all the libblockdev plugins as dependencies
e59aa7
Requires: %{name}%{?_isa} = %{version}-%{release}
e59aa7
e59aa7
%if %{with_btrfs}
e59aa7
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_crypto}
e59aa7
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_dm}
e59aa7
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_fs}
e59aa7
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_kbd}
e59aa7
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_loop}
e59aa7
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_lvm}
e59aa7
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_mdraid}
e59aa7
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_mpath}
e59aa7
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_part}
e59aa7
Requires: %{name}-part%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%if %{with_swap}
e59aa7
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%ifarch s390 s390x
e59aa7
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
e59aa7
%endif
e59aa7
e59aa7
%description plugins-all
e59aa7
A meta-package that pulls all the libblockdev plugins as dependencies.
e59aa7
e59aa7
e59aa7
%prep
e59aa7
%setup -q -n %{name}-%{version}
e59aa7
e59aa7
%build
e59aa7
%configure %{?configure_opts}
e59aa7
%{__make} %{?_smp_mflags}
e59aa7
e59aa7
%install
e59aa7
%{make_install}
e59aa7
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
e59aa7
e59aa7
e59aa7
%post -p /sbin/ldconfig
e59aa7
%postun -p /sbin/ldconfig
e59aa7
%post utils -p /sbin/ldconfig
e59aa7
%postun utils -p /sbin/ldconfig
e59aa7
e59aa7
%if %{with_btrfs}
e59aa7
%post btrfs -p /sbin/ldconfig
e59aa7
%postun btrfs -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_crypto}
e59aa7
%post crypto -p /sbin/ldconfig
e59aa7
%postun crypto -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_dm}
e59aa7
%post dm -p /sbin/ldconfig
e59aa7
%postun dm -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_fs}
e59aa7
%post fs -p /sbin/ldconfig
e59aa7
%postun fs -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_loop}
e59aa7
%post loop -p /sbin/ldconfig
e59aa7
%postun loop -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_lvm}
e59aa7
%post lvm -p /sbin/ldconfig
e59aa7
%postun lvm -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_lvm_dbus}
e59aa7
%post lvm-dbus -p /sbin/ldconfig
e59aa7
%postun lvm-dbus -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_mdraid}
e59aa7
%post mdraid -p /sbin/ldconfig
e59aa7
%postun mdraid -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_mpath}
e59aa7
%post mpath -p /sbin/ldconfig
e59aa7
%postun mpath -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_part}
e59aa7
%post part -p /sbin/ldconfig
e59aa7
%postun part -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_swap}
e59aa7
%post swap -p /sbin/ldconfig
e59aa7
%postun swap -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%ifarch s390 s390x
e59aa7
%post s390 -p /sbin/ldconfig
e59aa7
%postun s390 -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
%if %{with_kbd}
e59aa7
%post kbd -p /sbin/ldconfig
e59aa7
%postun kbd -p /sbin/ldconfig
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%files
e59aa7
%{!?_licensedir:%global license %%doc}
e59aa7
%license LICENSE
e59aa7
%{_libdir}/libblockdev.so.*
e59aa7
%if %{with_gi}
e59aa7
%{_libdir}/girepository*/BlockDev*.typelib
e59aa7
%endif
e59aa7
%dir %{_sysconfdir}/libblockdev
e59aa7
%dir %{_sysconfdir}/libblockdev/conf.d
e59aa7
%config %{_sysconfdir}/libblockdev/conf.d/00-default.cfg
e59aa7
e59aa7
%files devel
e59aa7
%doc features.rst specs.rst
e59aa7
%{_libdir}/libblockdev.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/blockdev.h
e59aa7
%{_includedir}/blockdev/plugins.h
e59aa7
%{_libdir}/pkgconfig/blockdev.pc
e59aa7
%if %{with_gtk_doc}
e59aa7
%{_datadir}/gtk-doc/html/libblockdev
e59aa7
%endif
e59aa7
%if %{with_gi}
e59aa7
%{_datadir}/gir*/BlockDev*.gir
e59aa7
%endif
e59aa7
e59aa7
%files -n python2-blockdev
e59aa7
%{python2_sitearch}/gi/overrides/*
e59aa7
e59aa7
%if %{with_python3}
e59aa7
%files -n python3-blockdev
e59aa7
%{python3_sitearch}/gi/overrides/BlockDev*
e59aa7
%{python3_sitearch}/gi/overrides/__pycache__/BlockDev*
e59aa7
%endif
e59aa7
e59aa7
%files utils
e59aa7
%{_libdir}/libbd_utils.so.*
e59aa7
%{_libdir}/libbd_part_err.so.*
e59aa7
e59aa7
%files utils-devel
e59aa7
%{_libdir}/libbd_utils.so
e59aa7
%{_libdir}/libbd_part_err.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/utils.h
e59aa7
%{_includedir}/blockdev/sizes.h
e59aa7
%{_includedir}/blockdev/exec.h
e59aa7
%{_includedir}/blockdev/extra_arg.h
e59aa7
%{_includedir}/blockdev/dev_utils.h
e59aa7
e59aa7
e59aa7
%if %{with_btrfs}
e59aa7
%files btrfs
e59aa7
%{_libdir}/libbd_btrfs.so.*
e59aa7
e59aa7
%files btrfs-devel
e59aa7
%{_libdir}/libbd_btrfs.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/btrfs.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_crypto}
e59aa7
%files crypto
e59aa7
%{_libdir}/libbd_crypto.so.*
e59aa7
e59aa7
%files crypto-devel
e59aa7
%{_libdir}/libbd_crypto.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/crypto.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_dm}
e59aa7
%files dm
e59aa7
%{_libdir}/libbd_dm.so.*
e59aa7
e59aa7
%files dm-devel
e59aa7
%{_libdir}/libbd_dm.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/dm.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_fs}
e59aa7
%files fs
e59aa7
%{_libdir}/libbd_fs.so.*
e59aa7
e59aa7
%files fs-devel
e59aa7
%{_libdir}/libbd_fs.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/fs.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_kbd}
e59aa7
%files kbd
e59aa7
%{_libdir}/libbd_kbd.so.*
e59aa7
e59aa7
%files kbd-devel
e59aa7
%{_libdir}/libbd_kbd.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/kbd.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_loop}
e59aa7
%files loop
e59aa7
%{_libdir}/libbd_loop.so.*
e59aa7
e59aa7
%files loop-devel
e59aa7
%{_libdir}/libbd_loop.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/loop.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_lvm}
e59aa7
%files lvm
e59aa7
%{_libdir}/libbd_lvm.so.*
e59aa7
e59aa7
%files lvm-devel
e59aa7
%{_libdir}/libbd_lvm.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/lvm.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_lvm_dbus}
e59aa7
%files lvm-dbus
e59aa7
%{_libdir}/libbd_lvm-dbus.so.*
e59aa7
%config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg
e59aa7
e59aa7
%files lvm-dbus-devel
e59aa7
%{_libdir}/libbd_lvm-dbus.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/lvm.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_mdraid}
e59aa7
%files mdraid
e59aa7
%{_libdir}/libbd_mdraid.so.*
e59aa7
e59aa7
%files mdraid-devel
e59aa7
%{_libdir}/libbd_mdraid.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/mdraid.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_mpath}
e59aa7
%files mpath
e59aa7
%{_libdir}/libbd_mpath.so.*
e59aa7
e59aa7
%files mpath-devel
e59aa7
%{_libdir}/libbd_mpath.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/mpath.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_part}
e59aa7
%files part
e59aa7
%{_libdir}/libbd_part.so.*
e59aa7
e59aa7
%files part-devel
e59aa7
%{_libdir}/libbd_part.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/part.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%if %{with_swap}
e59aa7
%files swap
e59aa7
%{_libdir}/libbd_swap.so.*
e59aa7
e59aa7
%files swap-devel
e59aa7
%{_libdir}/libbd_swap.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/swap.h
e59aa7
%endif
e59aa7
e59aa7
e59aa7
%ifarch s390 s390x
e59aa7
%files s390
e59aa7
%{_libdir}/libbd_s390.so.*
e59aa7
e59aa7
%files s390-devel
e59aa7
%{_libdir}/libbd_s390.so
e59aa7
%dir %{_includedir}/blockdev
e59aa7
%{_includedir}/blockdev/s390.h
e59aa7
%endif
e59aa7
e59aa7
%files plugins-all
e59aa7
e59aa7
%changelog
e59aa7
* Wed Oct 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-3
e59aa7
- A few more exact Requires for libblockdev-utils
e59aa7
  Related: rhbz#1480294
e59aa7
e59aa7
* Wed Oct 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-2
e59aa7
- Make the Requires for libblockdev-utils more exact
e59aa7
  Related: rhbz#1480294
e59aa7
e59aa7
* Wed Aug 30 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-1
e59aa7
- Own directories /etc/libblockdev and /etc/libblockdev/conf.d (vtrefny)
e59aa7
- Wait for resized partition (kailueke)
e59aa7
- Make sure the device is opened for libparted (vpodzime)
e59aa7
- Fix label check in swap_test (vtrefny)
e59aa7
- Use "run_tests" script for running tests from Makefile (vtrefny)
e59aa7
- Add a script for running tests (vtrefny)
e59aa7
- Tests: Move library initialization to setUpClass method (vtrefny)
e59aa7
- Stop skipping FAT resize tests on rawhide (vtrefny)
e59aa7
- Close filesystem before closing the partition during FAT resize (vtrefny)
e59aa7
- Use mountpoint for "xfs_info" calls (vtrefny)
e59aa7
- Use libmount cache when parsing /proc/mounts (vtrefny)
e59aa7
- Add some space for the CI status (vpodzime)
e59aa7
- Confirm the force when creating PVs in FS tests (vpodzime)
e59aa7
- Skip vgremove tests on 32bit Debian (vtrefny)
e59aa7
- Fix names of backing files in tests (vtrefny)
e59aa7
-  Fix checking for available locales (vtrefny)
e59aa7
- Skip dependency checking in mpath tests on Debian (vtrefny)
e59aa7
- Skip zRAM tests on Debian (vtrefny)
e59aa7
- Skip the test for device escrow on Debian too (vtrefny)
e59aa7
- Skip free region tests on Debian too (vtrefny)
e59aa7
- Fix redirecting command output to /dev/null in tests (vtrefny)
e59aa7
- Try harder to unmount devices in test cleanup (vtrefny)
e59aa7
- Require only plugins that are needed for given test (vtrefny)
e59aa7
- Try to get distribution info from "PrettyName" if "CPEName" isn't available (vtrefny)
e59aa7
- Use -ff when creating PVs in FS tests (vpodzime)
e59aa7
- Sync spec with downstream (vpodzime)
e59aa7
e59aa7
* Mon Jul 31 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.11-1
e59aa7
- Make the KbdZRAMDevicesTestCase inherit from KbdZRAMTestCase (vpodzime)
e59aa7
- Allow non-source directory builds (kailueke)
e59aa7
- Add a way to disable runtime dependency checks (vpodzime)
e59aa7
- Link to GObject even if no plugin is activated (kailueke)
e59aa7
- Skip zram tests on Rawhide (vpodzime)
e59aa7
- Keep most utilities available for tests (vpodzime)
e59aa7
- Use new libmount function to get (un)mount error message (vtrefny)
e59aa7
- Update the documentation URL (vpodzime)
e59aa7
e59aa7
* Wed Jul 05 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.10-1
e59aa7
- Only enable partition size tolerance with alignment (vpodzime)
e59aa7
- Limit the requested partition size to maximum possible (vpodzime)
e59aa7
- Do not verify vfat FS' size after generic resize (vpodzime)
e59aa7
- Specify tolerance for partition size (kailueke)
e59aa7
- Only use the exact constraint if not using any other (vpodzime)
e59aa7
- Check resulting FS size in tests for generic FS resize (vpodzime)
e59aa7
- Query setting FS label support and generic relabeling (kailueke)
e59aa7
- Do not strictly require all FS utilities (vpodzime)
e59aa7
- Compile everything with the C99 standard (vpodzime)
e59aa7
- Add partition resize function (kailueke)
e59aa7
- Generic Check and Repair Functions (kailueke)
e59aa7
- Query functions for FS resize and repair support (kailueke)
e59aa7
- Update the project/source URL in the spec file (vpodzime)
e59aa7
- Add functions for opening/closing TrueCrypt/VeraCrypt volumes (vpodzime)
e59aa7
- Adapt to a change in behaviour in new libmount (vpodzime)
e59aa7
- Try RO mount also if we get EACCES (vpodzime)
e59aa7
- Size in bytes for xfs_resize_device (kailueke)
e59aa7
- src/plugins/Makefile.am: Remove hard coded include path in /usr prefix (tristan.vanberkom)
e59aa7
- Fixed include for libvolume_key.h (tristan.vanberkom)
e59aa7
- Ignore parted warnings if possible (squimrel)
e59aa7
- bcache tests: Remove FEELINGLUCKY checks (tasleson)
e59aa7
- kbd.c: Code review corrections (tasleson)
e59aa7
- kbd.c: Make bd_kbd_bcache_create work without abort (tasleson)
e59aa7
e59aa7
* Tue Jun 13 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.9-1
e59aa7
- Fix hardcoded reference to gcc (timo.gurr)
e59aa7
- Catch and ignore partial failures in LVM tests' cleanups (vpodzime)
e59aa7
- Fix hardcoded reference to pkg-config (timo.gurr)
e59aa7
- Make GObject introspection optional (vpodzime)
e59aa7
- Do not link libraries required by plugins to the GI files (vpodzime)
e59aa7
- Make sure the whole build status image is shown (vpodzime)
e59aa7
- Show CI status in README (at the GH repo's front page) (vpodzime)
e59aa7
- Always require the libudev pkg (tgurr)
e59aa7
- Make sure we give kernel time to fully setup zram device(s) (vpodzime)
e59aa7
- fs_test.py: Close FDs when calling utilities (tasleson)
e59aa7
- crypto.c: Correct segmentation fault (tasleson)
e59aa7
e59aa7
* Tue Jun 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.8-1
e59aa7
- Temporarily skip vfat generic resize test on rawhide (vtrefny)
e59aa7
- Use "safeprobe" in "bd_fs_wipe" (vtrefny)
e59aa7
- Add a generic filesystem resize function (vtrefny)
e59aa7
- Add a function to get mountpoint for a device (vtrefny)
e59aa7
- Add a function to get filesystem type for a device (vtrefny)
e59aa7
- Only include the LVM DBus config when shipping LVM DBus (vpodzime)
e59aa7
- Skip the LVM DBus vgreduce tests on Rawhide (vpodzime)
e59aa7
- Do not build the lvm-dbus plugin on RHEL/CentOS (vpodzime)
e59aa7
- Give zRAM more time to settle before trying to remove a device (vpodzime)
e59aa7
- Put zram tests adding/removing devices into a separate class (vpodzime)
e59aa7
- Skip LVM cache and RAID tests on Rawhide (vpodzime)
e59aa7
- Fix the skip_on decorator factory for tests (vpodzime)
e59aa7
- Use 'blkid -p' instead of lsblk to get device's FS type (vpodzime)
e59aa7
- Improve the lvm_set_global_config test (vpodzime)
e59aa7
- Pass '-y' to pvresize (vpodzime)
e59aa7
- Create a copy of os.environ for a child process (vpodzime)
e59aa7
- Revert "Use the "C.UTF-8" locale instead of just "C"" (vpodzime)
e59aa7
- Fix how we create vfat FS in tests (vpodzime)
e59aa7
- Skip the test if requiring unavailable locales (vpodzime)
e59aa7
- Use the "C.UTF-8" locale instead of just "C" (vpodzime)
e59aa7
- Add functions for working with ext2 and ext3 filesystems (vtrefny)
e59aa7
- Link to gobject when lvm or btrfs is enabled (andreas)
e59aa7
- Link to libm where needed (andreas)
e59aa7
- Add a function for cleaning a device (vtrefny)
e59aa7
- Add few code exaples to documentation (vtrefny)
e59aa7
- Use a special exception for no fs signature when doing wipe (vpodzime)
e59aa7
- One more incompatible os.symlink() call (vpodzime)
e59aa7
- Do not use pass-by-name in the os.symlink() call (vpodzime)
e59aa7
- Ignore previous errors when falling back to using ioctl() (vpodzime)
e59aa7
- Use ioctl() call to teardown loop devices (vpodzime)
e59aa7
- Resolve the device to remove for mdadm (vpodzime)
e59aa7
- Add a function for getting device symlinks (vpodzime)
e59aa7
- Use the new resolve_device() function where appropriate (vpodzime)
e59aa7
- Add the resolve_device() function to the utils library (vpodzime)
e59aa7
- First try to read the 'autoclear' flag from /sys/ (vpodzime)
e59aa7
e59aa7
* Wed Apr 26 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.7-1
e59aa7
- Skip btrfs min size tests on Fedora 25 (vtrefny)
e59aa7
- Make sure the loop device doesn't disappear during tests (vpodzime)
e59aa7
- Close the loop device when autoclear is (un)set (vpodzime)
e59aa7
- Do not enforce Python 3 for running tests in CI (vpodzime)
e59aa7
- Revert "Use different BTRFS_MIN_MEMBER_SIZE on aarch64" (vtrefny)
e59aa7
- Use both 'old' and 'new' sysfs files to read zRAM stats (vtrefny)
e59aa7
- Check if libparted-fs-resize pkgconfig is available (vpodzime)
e59aa7
- Do not try to get name for inactive partitions (vtrefny)
e59aa7
- Skip tests for getting free regions on CentOS/RHEL (vpodzime)
e59aa7
- Free the container holding the specs of free regions (vpodzime)
e59aa7
- Open loop devices as O_RDONLY when getting flags (vpodzime)
e59aa7
- Resolve maximum partition size when we know its start (vpodzime)
e59aa7
- Use --id instead of --part-type when setting partition id (vpodzime)
e59aa7
- Fix mdadm command for removing failed device from an array (vtrefny)
e59aa7
- Skip bcache tests on CentOS/RHEL 7 (vpodzime)
e59aa7
- Use six.assertRaisesRegex in the FS tests (vpodzime)
e59aa7
- Use mkdtemp() instead of TemporaryDirectory() (vpodzime)
e59aa7
- Fix installation without specifying --exec-prefix (vpodzime)
e59aa7
- Add options to force mkfs.ext4/vfat to create a FS on the whole device (vpodzime)
e59aa7
- Skip the test for device escrow on CentOS/RHEL (vpodzime)
e59aa7
- Define DEVNULL on our own if not in subprocess (vpodzime)
e59aa7
- Remove the patches from the spec file (vpodzime)
e59aa7
- Sync the spec file with downstream (vpodzime)
e59aa7
- Stop skipping zRAM stats tests (vtrefny)
e59aa7
- Add more tests for zRAM stats (vtrefny)
e59aa7
- Fix reading zRAM properties from sysfs (vtrefny)
e59aa7
e59aa7
* Wed Apr 12 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-3
e59aa7
- Do not try to parse 'raid_spec' for 'bd_md_activate' (vtrefny)
e59aa7
e59aa7
* Tue Apr 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-2
e59aa7
- Make sure the returned thpool MD size is valid (vpodzime)
e59aa7
e59aa7
* Wed Mar 15 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-1
e59aa7
- Move the  part_err library before part and fs (vtrefny)
e59aa7
- Fix BuildRequires for crypto and dm packages (vtrefny)
e59aa7
- Fix mounting read-only devices (vtrefny)
e59aa7
- Fix the bd_s390_dasd_is_ldl function. (vponcova)
e59aa7
- Add the bd_s390_dasd_is_fba function to check if DASD is FBA (vponcova)
e59aa7
- Disable MD RAID tests on 32bit systems (vpodzime)
e59aa7
- Fix error message when mounting with a wrong fs type (vtrefny)
e59aa7
- Only create RPMs for requested/configured  plugins (vpodzime)
e59aa7
- Only check dependencies of plugins to be built (vpodzime)
e59aa7
- Only build and distribute plugins if configured so (vpodzime)
e59aa7
- Fix format-security and unused-result compiler warnings (vtrefny)
e59aa7
- Add an AC macro for modular builds (vpodzime)
e59aa7
- Add functions for mounting and unmounting filesystems (vtrefny)
e59aa7
e59aa7
* Mon Mar 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.5-1
e59aa7
- Do not try to get GVariant after not adding anything to its builder (vpodzime)
e59aa7
- Replace NULL with "" when building ExtraArg (vpodzime)
e59aa7
- Replace NULL with "" when adding it as a 's' GVariant (vpodzime)
e59aa7
- Make sure we don't try to add NULL as GVariant to DBus params (vpodzime)
e59aa7
- Add function for getting recommended thpool metadata size (vpodzime)
e59aa7
- Make udev settle after we create a LIO device (vpodzime)
e59aa7
- Always use '--yes' for lvremove (vpodzime)
e59aa7
e59aa7
* Tue Feb 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.4-1
e59aa7
- Update specs.rst to use present-tense and current API (agrover)
e59aa7
- Add functions using BLOBs as LUKS passphrases (vpodzime)
e59aa7
- Make sure the _error_quark() functions are in the library (vtrefny)
e59aa7
- Return a special error when trying to wipe empty device (vtrefny)
e59aa7
- Adapt tests to use LIO devices instead of loop devices (vpodzime)
e59aa7
- Add functions for creating and deleting LIO devices (vpodzime)
e59aa7
- MDRAID: Allow path as input for functions that work with sysfs (vtrefny)
e59aa7
e59aa7
* Wed Feb 15 2017 Vratislav Podzimek <vtrefny@redhat.com> - 2.3-3
e59aa7
- Rebuild with changelog fixed up
e59aa7
e59aa7
* Tue Feb 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.3-1
e59aa7
- Allow specifying raid 'name' in multiple way when calling md functions (vtrefny)
e59aa7
- Allow using both path and raid name in bd_md_set_bitmap_location (vtrefny)
e59aa7
- Fix potential memory issues in s390 sanitizate functions (vpodzime)
e59aa7
- Try multiple times when probing device for wiping (vpodzime)
e59aa7
- Check for libvolume_key.h and dmraid.h in configure.ac (vpodzime)
e59aa7
- Define our own macro for testing required header files (vpodzime)
e59aa7
- Include blockdev/utils.h in mdraid.h (vtrefny)
e59aa7
- Fix misspelling (agrover)
e59aa7
- Skip the bcache tests even on x86_64 (vpodzime)
e59aa7
- Take a break between bcache creation tests (vpodzime)
e59aa7
- Make sure ./configure fails if there are some soft failures (vpodzime)
e59aa7
- Improve the error message on missing GI support (vpodzime)
e59aa7
- Only require bcache-tools if supporting bcache (vpodzime)
e59aa7
- Skip bcache tests on non-x86_64 architectures (vpodzime)
e59aa7
- Try harder to register a new bcache device (vpodzime)
e59aa7
- Reimplement swapon/swapoff functions by using syscalls (vpodzime)
e59aa7
- Make sure bcache functions are correctly provided or not (vpodzime)
e59aa7
- Changelog fixup (vpodzime)
e59aa7
e59aa7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
e59aa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e59aa7
e59aa7
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-2
e59aa7
- Rebuild with changelog fixed up
e59aa7
e59aa7
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-1
e59aa7
- Use the .in file as source when bumping version (vpodzime)
e59aa7
- Run pylint based on the python version and make it optional (vpodzime)
e59aa7
- Disable python3 and bcache on RHEL (vpodzime)
e59aa7
- Make bcache support optional (vpodzime)
e59aa7
- Teach boileplate_generator.py to skip things based on patterns (vpodzime)
e59aa7
- Require lower versions of some utilities (vpodzime)
e59aa7
- Do not require python3 for the boilerplate generation script (vpodzime)
e59aa7
- Use a proper initialization value for 'GPollFD fds[2]' (vpodzime)
e59aa7
- Deal with older parted and libblkid (vpodzime)
e59aa7
- Make python3 and gtk-doc optional (vpodzime)
e59aa7
- Bump the version of the utils library (vpodzime)
e59aa7
- Fix docstring for 'bd_md_node_from_name' (vtrefny)
e59aa7
- Add tests for added mdraid methods (vtrefny)
e59aa7
- Skip 'MDTestNominateDenominateActive' unless feeling lucky (vtrefny)
e59aa7
- MDRaid tests: change 'wait_for_resync' to wait for given action (vtrefny)
e59aa7
- Add functionality need by storaged to mdraid plugin (vtrefny)
e59aa7
- Move 'echo_str_to_file' method to utils (vtrefny)
e59aa7
- Add a function to setup a loop device from a file descriptor (vpodzime)
e59aa7
- Add functions to get/set the autoclear flag on a loop device (vpodzime)
e59aa7
- Fix checking /proc/mdstat for resync action (vtrefny)
e59aa7
- Adapt the test config files to version 2.x (vpodzime)
e59aa7
e59aa7
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
e59aa7
- Rebuild for Python 3.6
e59aa7
e59aa7
* Tue Nov 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-2
e59aa7
- Rebuild for a chain-build with storaged (vpodzime)
e59aa7
e59aa7
* Thu Nov 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-1
e59aa7
- Do not require an exclusive lock on the device to commit part stuff (vpodzime)
e59aa7
- Prevent failure if there are no btrfs subvolumes (vpodzime)
e59aa7
- Fix the test for getting version of a failing utility (vpodzime)
e59aa7
- Also run the utils tests (vpodzime)
e59aa7
- Bump the version of the pkgconfig module (vpodzime)
e59aa7
- Include utils.h in plugins that need it (vpodzime)
e59aa7
- Fix dependency check in fs plugin (vtrefny)
e59aa7
- Add support for setting part id (part type) on msdos part tables (vtrefny)
e59aa7
- Trim the extra info for MD RAID's name (vpodzime)
e59aa7
- Add xfsprogs and dosfstools as dependencies of the fs plugin (vpodzime)
e59aa7
- Fix md_name_from_node to work with the "/dev/" prefix (vpodzime)
e59aa7
- New major upstream release
e59aa7
e59aa7
* Wed Nov  9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-8
e59aa7
- Revert "Prevent issues between libparted and udev" (vpodzime)
e59aa7
- Revert "Open the device file as RDWR when committing parts" (vpodzime)
e59aa7
e59aa7
* Thu Oct 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-7
e59aa7
- Open the device file as RDWR when committing parts (vpodzime)
e59aa7
- Handle mdadm --examine output during migration (adamw)
e59aa7
e59aa7
* Mon Oct 24 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-6
e59aa7
- Prevent issues between libparted and udev (vpodzime)
e59aa7
e59aa7
* Mon Oct 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-5
e59aa7
- Make sure all object paths are passed and extracted as such (vpodzime)
e59aa7
e59aa7
* Tue Oct  4 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-4
e59aa7
- Do not report volume name for FW RAID container device (vpodzime)
e59aa7
- Search for just "UUID" in mdadm --examine output (vpodzime)
e59aa7
- Use 'mdadm --examine --export' to get MD RAID level (vpodzime)
e59aa7
e59aa7
* Mon Oct  3 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-3
e59aa7
- Try to search for "RAID Level" in mdadm's output (vpodzime)
e59aa7
- Fix the number passed to LVM DBus as a job-creation timeout (vpodzime)
e59aa7
e59aa7
* Mon Aug 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-2
e59aa7
- Explicitly cast number constants for GVariants (vpodzime)
e59aa7
e59aa7
* Wed Jul 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-1
e59aa7
- Add functions for creating thin/cache pools from existing LVs (vpodzime)
e59aa7
- Add the new mpath_get_members() function to the docs (vpodzime)
e59aa7
e59aa7
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
e59aa7
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e59aa7
e59aa7
* Wed Jun 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.8-1
e59aa7
- Add a function to get all mpath member devices (vpodzime)
e59aa7
- Fix backport issues in the zfcp-related functionality (#1348442) (vpodzime)
e59aa7
- Revert "Fix a few const params in the s390 plugin." (vpodzime)
e59aa7
- Fix creation of the version-only tags (vpodzime)
e59aa7
e59aa7
* Wed Jun 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.7-1
e59aa7
- Include the LV roles in the LVdata (vpodzime)
e59aa7
- Add a few missing items to the documentation (vpodzime)
e59aa7
- Document fields of the structures (vpodzime)
e59aa7
- Report (meta)data LV name properly for cache pools in lvm-dbus (vpodzime)
e59aa7
- Add information about related LVs to LVMLVdata (vpodzime)
e59aa7
- Remove unused code for getting supported functions (vpodzime)
e59aa7
- Add zFCP functionality to s390 plugin (sbueno+anaconda)
e59aa7
- Fix a few const params in the s390 plugin. (sbueno+anaconda)
e59aa7
e59aa7
* Wed Jun 01 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.6-1
e59aa7
- Ignore merge commits when creating changelog (vpodzime)
e59aa7
- Only take the number of the first %changelog line found (vpodzime)
e59aa7
- Add some more detailed description to the part plugin (vpodzime)
e59aa7
- Fix a few extra issues with the const types (vpodzime)
e59aa7
- Add function for getting best free region (vpodzime)
e59aa7
- Add function for getting free regions (vpodzime)
e59aa7
- Fix the error message when setting part flag fails (vpodzime)
e59aa7
- Add function for setting disk flags (vpodzime)
e59aa7
- Add function for getting information about disk(s) (vpodzime)
e59aa7
- Do not set nonsense partition paths (vpodzime)
e59aa7
- Add function for getting partition by position (vpodzime)
e59aa7
- Indicate if there was error from parted or not in set_parted_error() (vpodzime)
e59aa7
- Minor fixes for the bd_part_get_part_spec() function (vpodzime)
e59aa7
- Add support for extra GPT flags (vpodzime)
e59aa7
- Add functionality for partition types (GUIDs) (vpodzime)
e59aa7
- Add functionality for partition names (vpodzime)
e59aa7
- Do not destroy disk objects we didn't get (vpodzime)
e59aa7
- Add a function for setting multiple partition flags at once (vpodzime)
e59aa7
- Remove the unused definition USE_PYTHON3 from configure.ac (vpodzime)
e59aa7
- Use different BTRFS_MIN_MEMBER_SIZE on aarch64 (vpodzime)
e59aa7
- Better release memory from parted objects on failures (vpodzime)
e59aa7
- Rework how we do optimal alignment (vpodzime)
e59aa7
- Do not try to destroy object we didn't get (vpodzime)
e59aa7
- Don't pass sizes in bytes to LVM (#1317373) (vpodzime)
e59aa7
- Add the libbytesize-devel build requires (vpodzime)
e59aa7
- Search for the LVM DBus service in both active and activatable names (vpodzime)
e59aa7
- Adapt to another stupid change in btrfs-progs (vpodzime)
e59aa7
- Add the XFS-related functions to the documentation (vpodzime)
e59aa7
- Add tests for the XFS-related functions (vpodzime)
e59aa7
- Add support for the XFS file system to the FS plugin (vpodzime)
e59aa7
- Add chunk_size to BDMDExamineData (vtrefny)
e59aa7
- Add the subpackage for the FS plugin (vpodzime)
e59aa7
- Add the FS plugin to the docs (vpodzime)
e59aa7
- Add tests for the ext4 functionality in the fs plugin (vpodzime)
e59aa7
- Add the FS plugin and the ext4 support (vpodzime)
e59aa7
- Add a function for running utility reporting error and exit code (vpodzime)
e59aa7
- Add the subpackage for the part plugin (vpodzime)
e59aa7
- Add a missing BuildRequires for parted-devel (vpodzime)
e59aa7
- Tag as both libblockdev-$version and just $version (vpodzime)
e59aa7
- Add the 'part' plugin to documentation (vpodzime)
e59aa7
- Add tests for the newly added part plugin (vpodzime)
e59aa7
- Add the part plugin with storaged-required functionality (vpodzime)
e59aa7
e59aa7
* Mon Mar 21 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.5-1
e59aa7
- Merge pull request #72 from vpodzime/master-faster_tests (vpodzime)
e59aa7
- Ignore all .bak files (vpodzime)
e59aa7
- Use python3-pylint and skip Python 2 tests (vpodzime)
e59aa7
- Try a bit harder when deactivating MD arrays in tests (vpodzime)
e59aa7
- Recompile only the LVM plugin in tests (vpodzime)
e59aa7
- Merge pull request #65 from vpodzime/master-loc_indep_error (vpodzime)
e59aa7
- Merge pull request #70 from vojtechtrefny/master-chunk_size (vpodzime)
e59aa7
- Add bd_md_create_with_chunk_size() function (vtrefny)
e59aa7
- Merge pull request #68 from vpodzime/master-no_intro_data (vpodzime)
e59aa7
- Merge pull request #71 from vpodzime/master-ipython3 (vpodzime)
e59aa7
- Run coverage with the right config directories (vpodzime)
e59aa7
- Merge pull request #67 from phatina/master (vpodzime)
e59aa7
- Merge pull request #69 from vpodzime/master-lvm_dbus_autostart (vpodzime)
e59aa7
- Use ipython3 for debugging and testing sessions (vpodzime)
e59aa7
- Don't expect to always get introspection data from DBus (vpodzime)
e59aa7
- Make invocation of tests configurable (phatina)
e59aa7
- Make error messages locale agnostic (vpodzime)
e59aa7
e59aa7
* Tue Mar 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-5
e59aa7
- Search for the LVM DBus service in activatable names (vpodzime)
e59aa7
- Better check for the LVM DBus API (vpodzime)
e59aa7
e59aa7
* Wed Mar  9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-4
e59aa7
- Do not try to get object path of NULL in vgreduce (vpodzime)
e59aa7
e59aa7
* Tue Mar  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-3
e59aa7
- Depend on python3-gobject-base not python3-gobject so as to not pull in X components
e59aa7
e59aa7
* Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-2
e59aa7
- Add/fix the requirement for the LVM DBus daemon
e59aa7
e59aa7
* Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-1
e59aa7
- Merge pull request #62 from vpodzime/master-clean_up (vpodzime)
e59aa7
- Use addCleanup() instead of tearDown() in tests (vpodzime)
e59aa7
- Merge pull request #58 from vpodzime/master-lvm_dbus_pr (vpodzime)
e59aa7
- Add the VG renaming functionality (vpodzime)
e59aa7
- Packaging of the lvm-dbus plugin (vpodzime)
e59aa7
- The LVM DBus plugin (vpodzime)
e59aa7
- Add more generic functions for logging (vpodzime)
e59aa7
- Use MAX(a, b) instead of CLAMP(b, a, b) (vpodzime)
e59aa7
- Merge pull request #59 from vpodzime/master-vgrename (vpodzime)
e59aa7
- Add a function for renaming VGs (vpodzime)
e59aa7
- Merge pull request #57 from clumens/master (vpodzime)
e59aa7
- Fix error reporting when running "make test". (clumens)
e59aa7
- Merge pull request #54 from vojtechtrefny/master-pvsize (vpodzime)
e59aa7
- Do not try to create a PV with 4KiB metadata space (vpodzime)
e59aa7
- Add pv_info to BDLVMPVdata (vtrefny)
e59aa7
- btrfs now requires at least 128MiB device(s) (vpodzime)
e59aa7
- Merge pull request #52 from vpodzime/master (vpodzime)
e59aa7
- Round size in thpoolcreate() to KiB (vpodzime)
e59aa7
- Sync the %changelog in spec with downstream (vpodzime)
e59aa7
e59aa7
* Wed Nov 25 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-4
e59aa7
- Create the cache pool before the to-be-cached LV (vpodzime)
e59aa7
e59aa7
* Thu Nov 05 2015 Robert Kuska <rkuska@redhat.com> - 1.3-3
e59aa7
- Rebuilt for Python3.5 rebuild
e59aa7
e59aa7
* Wed Nov 04 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-2
e59aa7
- Fix the annotation of bd_try_init in blockdev.c (vpodzime)
e59aa7
e59aa7
* Mon Oct 26 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-1
e59aa7
- Add missing python GI requires (vpodzime)
e59aa7
- Merge pull request #49 from dashea/libblockdev-python (vpodzime)
e59aa7
- Merge pull request #50 from vpodzime/master-fix_striped_lv (vpodzime)
e59aa7
- Merge pull request #46 from vpodzime/master-bcache_destroy (vpodzime)
e59aa7
- Merge pull request #39 from vpodzime/master-lvm_physical_space (vpodzime)
e59aa7
- Add a missing ldconfig that rpmlint found. (dshea)
e59aa7
- Move python files to separate packages (#1256758) (dshea)
e59aa7
- Fix lvcreate calls for striped LVs (vpodzime)
e59aa7
- Merge pull request #48 from vojtechtrefny/master_pvfree (vpodzime)
e59aa7
- Add pv_free to BDLVMPVdata (vtrefny)
e59aa7
- Merge pull request #47 from atodorov/add_coverage_report (vpodzime)
e59aa7
- Produce coverage report in CI (atodorov)
e59aa7
- Check bcache device's state before trying to detach the cache in destroy() (vpodzime)
e59aa7
- Fix URLs in the spec (vpodzime)
e59aa7
- Fix the int-float less-than comparison (vpodzime)
e59aa7
- Fix the calculation of physical space taken by an LV (vpodzime)
e59aa7
e59aa7
* Wed Sep 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
e59aa7
- Merge pull request #40 from vpodzime/master-config_support (vpodzime)
e59aa7
- Add tests for configuration support (vpodzime)
e59aa7
- Add a function for getting the loaded soname for a plugin (vpodzime)
e59aa7
- Add the default configuration (vpodzime)
e59aa7
- Load and respect configuration files when loading plugins (vpodzime)
e59aa7
- Add functions for finding and processing configuration files (vpodzime)
e59aa7
- Merge pull request #38 from vpodzime/master-md_superblock_size (vpodzime)
e59aa7
- Better document how MD RAID superblock size should be calculated (vpodzime)
e59aa7
- Merge pull request #36 from phatina/master (vpodzime)
e59aa7
- BTRFS: allow an arbitrary label to be set for a btrfs volume (phatina)
e59aa7
- Merge pull request #32 from phatina/master (vpodzime)
e59aa7
- BTRFS: fix parsing empty partition label (phatina)
e59aa7
- Merge pull request #35 from vpodzime/master (vpodzime)
e59aa7
- Define env variables for sudo via the env utility (vpodzime)
e59aa7
- Merge pull request #34 from dashea/python3-tests (vpodzime)
e59aa7
- Use unittest.addCleanup to simplify crypto_test. (dshea)
e59aa7
- Run tests with both python2 and python3 in the ci target. (dshea)
e59aa7
- Fix python3 issues in the unittests. (dshea)
e59aa7
- Do not run all tests in the 'ci' target (vpodzime)
e59aa7
- Merge pull request #33 from clumens/master (vpodzime)
e59aa7
- Add a new makefile target that does everything needed for jenkins. (clumens)
e59aa7
- Synchronize the .spec file with downstream (vpodzime)
e59aa7
e59aa7
* Fri Jul 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-2
e59aa7
- Explicitly specify the type of the cert_data parameter (#1246096) (vpodzime)
e59aa7
e59aa7
* Fri Jun 19 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
e59aa7
- Clean generated boilerplate code on 'make clean' (vpodzime)
e59aa7
- Merge pull request #31 from atodorov/use_lang_c (vpodzime)
e59aa7
- tests: use LANG=C in test_backup_passphrase() (atodorov)
e59aa7
- Merge pull request #30 from atodorov/makefile_updates (vpodzime)
e59aa7
- Makefile.am:   - add separate check target   - add coverage targets   - make it possible to test with Python3 (atodorov)
e59aa7
- Merge pull request #29 from atodorov/fix_issue_28 (vpodzime)
e59aa7
- Merge pull request #27 from atodorov/fix_docs_url (vpodzime)
e59aa7
- Merge pull request #26 from atodorov/test_docs (vpodzime)
e59aa7
- Change the modified sources back in tearDown() method as well. Closes #28. (atodorov)
e59aa7
- update URL to on-line documentation (atodorov)
e59aa7
- add test documentation (atodorov)
e59aa7
- Merge pull request #22 from dashea/escrow-tests (vpodzime)
e59aa7
- Merge pull request #25 from dashea/python-dep (vpodzime)
e59aa7
- Filter the python files from automatic rpm requires (dshea)
e59aa7
- Added tests for escrow packets and backup passphrases (dshea)
e59aa7
- Free leaked contexts from crypto_init (dshea)
e59aa7
- Cooperate with volume_key's memory management (dshea)
e59aa7
- Fix inheritance in the LVM tests to prevent multiple runs of some tests (vpodzime)
e59aa7
- Make the regexp for testing crypto_generate_backup_passphrase() stricter (vpodzime)
e59aa7
- Leave room in the backup passphrase for a trailing 0 (dshea)
e59aa7
- Add functions to get names of data/metadata internal LVs (vpodzime)
e59aa7
- Allow getting info for an internal LV (vpodzime)
e59aa7
- Gather information about all LVs (vpodzime)
e59aa7
- Round requested size to KBs in lvresize() (#1221247) (vpodzime)
e59aa7
- Add overrides for the ensure_init() function (vpodzime)
e59aa7
- Change the default value of the 'reload' parameter of try_reinit() (vpodzime)
e59aa7
- Merge pull request #21 from vpodzime/master-thpool_size_discard (vpodzime)
e59aa7
- Add overrides for the lvm_is_valid_thpool_chunk_size() function (vpodzime)
e59aa7
e59aa7
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
e59aa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e59aa7
e59aa7
* Thu May 21 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.0-1
e59aa7
- Adapt the release helper targets to autotools (vpodzime)
e59aa7
- Fixes of paths in Makefile.am's inspired by build failures on s390 (vpodzime)
e59aa7
- Add an s390-specific BuildRequires (vpodzime)
e59aa7
- Distribute also the boilerplate_generator.py script (vpodzime)
e59aa7
- Fix path to the generated blockdev.pc file (vpodzime)
e59aa7
- Adapt tests that compile stuff to autotools (vpodzime)
e59aa7
- Merge pull request #18 from vpodzime/master-autotools (vpodzime)
e59aa7
- Merge pull request #20 from dashea/gtkdoc-sections (vpodzime)
e59aa7
- Use the autotools building system instead of scons (vpodzime)
e59aa7
- Add the two new functions to the 'blockdev' docs section (vpodzime)
e59aa7
- Fix the line defining the docs file for the s390 section (vpodzime)
e59aa7
- Add a missing #include to the kbd.api file (vpodzime)
e59aa7
- Prevent s390-specific stuff from being used on other architectures (vpodzime)
e59aa7
- Update the documentation of the is_initialized() function (vpodzime)
e59aa7
- Merge pull request #19 from vpodzime/master-ensure_init (vpodzime)
e59aa7
- Remove private macros from the gtkdoc sections file. (dshea)
e59aa7
- Terminate ifdef statements for arch check. (sbueno+anaconda)
e59aa7
- Return early from the init functions if setting up logging fails (vpodzime)
e59aa7
- Add tests for the new and modified init functions (vpodzime)
e59aa7
- Add new try_init() and try_reinit() functions (vpodzime)
e59aa7
- Fix for adding number of loaded plugins (vpodzime)
e59aa7
- Fix for ensure_init() (vpodzime)
e59aa7
- Rename the try_init() function to ensure_init() and improve it (vpodzime)
e59aa7
- Check number of loaded plugins and library initialization state (vpodzime)
e59aa7
- Make 'reload' default to True instead of False in overrides (vpodzime)
e59aa7
- Add the s390 plugin test file. (sbueno+anaconda)
e59aa7
- Add the s390 plugin functions. (sbueno+anaconda)
e59aa7
- Add the s390 plugin. (sbueno+anaconda)
e59aa7
- Fix a typo in the spec file. (sbueno+anaconda)
e59aa7
- Require the kmod-devel package for the build process (vpodzime)
e59aa7
- Merge pull request #16 from dashea/escrow-encoding (vpodzime)
e59aa7
- Merge pull request #13 from vpodzime/master-lvm_cache (vpodzime)
e59aa7
- Merge pull request #12 from vpodzime/master-kbd_plugin (vpodzime)
e59aa7
- Merge pull request #14 from vpodzime/master-better_is_multipath (vpodzime)
e59aa7
- Use g_strdup() instead of g_strdup_printf() to just dup a string (vpodzime)
e59aa7
- Fix the spelling of "escrow" (dshea)
e59aa7
- Make the crypto plugin string parameters const (dshea)
e59aa7
- Set encoding to NULL before writing the escrow packet. (dshea)
e59aa7
- Get cache stats directly from the device mapper (vpodzime)
e59aa7
- Reimplement the is_mpath_member() function using device mapper (vpodzime)
e59aa7
- Add the LVM cache related symbols to the LVM section in the documentation (vpodzime)
e59aa7
- Update the list of LVM cache related functions in features.rst (vpodzime)
e59aa7
- Add tests for functions related to the LVM cache technology (vpodzime)
e59aa7
- Implement the lvm_cache_stats() function (vpodzime)
e59aa7
- Implement the lvm_cache_pool_name function (vpodzime)
e59aa7
- Implement the lvm_cache_create_cached_lv() function (vpodzime)
e59aa7
- Implement lvm_cache_attach/detach() functions (vpodzime)
e59aa7
- Implement the lvm_cache_create_pool() function plus two support functions (vpodzime)
e59aa7
- Implement the lvm_cache_get_default_md_size() function (vpodzime)
e59aa7
- Add the 'type' parameter to the lvm_lvcreate function (vpodzime)
e59aa7
- Teach boilerplate_generator to work with enum return types (vpodzime)
e59aa7
- Teach boilerplate_generator to work with 'const' return types (vpodzime)
e59aa7
- Add subpackages for the KBD plugin and its devel files (vpodzime)
e59aa7
- Add provided symbols to the documentation section of the KBD plugin (vpodzime)
e59aa7
- Implement the bcache_get_backing/cache_device functions (vpodzime)
e59aa7
- Exclude bcache tests from the normal 'test' target (vpodzime)
e59aa7
- Add some more and prolong some of the waits in KBD tests (vpodzime)
e59aa7
- Zero all newly allocated structures (vpodzime)
e59aa7
- Implement the bcache_status function and all it wants (vpodzime)
e59aa7
- Fix for the zram stats (vpodzime)
e59aa7
- Add bcache_get_mode and bcache_set_mode functions (vpodzime)
e59aa7
- Teach boilerplate_generator to work with enum return types (vpodzime)
e59aa7
- Teach boilerplate_generator to work with 'const' return types (vpodzime)
e59aa7
- Add the zram_get_stats function (vpodzime)
e59aa7
- Add the check() function for the KBD plugin (vpodzime)
e59aa7
- Add ErrorProxy instance for the KBD plugin (vpodzime)
e59aa7
- Add tests for bcache_create/attach/detach/destroy functions (vpodzime)
e59aa7
- Add the 'rebuild' Makefile target (vpodzime)
e59aa7
- Add bcache_create, bcache_attach, bcache_detach and bcache_destroy functions (vpodzime)
e59aa7
- Implement a helper function to echo string into a file (vpodzime)
e59aa7
- Add tests for zram_create_devices and zram_destroy_devices functions (vpodzime)
e59aa7
- Add the zram_destroy_devices function to the KBD plugin (vpodzime)
e59aa7
- Add first function to the KBD plugin: zram_create_devices (vpodzime)
e59aa7
- Add the KernelBlockDevices plugin (vpodzime)
e59aa7
e59aa7
* Wed May 13 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.13-1
e59aa7
- Prevent a leaky test from running in Jenkins (vpodzime)
e59aa7
- Try harder when cleaning up after MD RAID tests (vpodzime)
e59aa7
- Improve the MD RAID activate/deactivate test (vpodzime)
e59aa7
- One more @contextmanager that needs try-finally (vpodzime)
e59aa7
- Do not require metadata version to be reported by 'mdadm --examine' (#1217900) (vpodzime)
e59aa7
- Make sure we always set things back in context managers (vpodzime)
e59aa7
- Make the release date for version 1.0 more realistic (vpodzime)
e59aa7
- Merge pull request #11 from vpodzime/master (vpodzime)
e59aa7
- Run utilities with LC_ALL=C (vpodzime) (#1219033)
e59aa7
- Free GMatchInfo instance even in case of no match (vpodzime)
e59aa7
- Resolve /dev/md/ symlinks when checking swap status. (dlehman)
e59aa7
e59aa7
* Fri Apr 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.12-1
e59aa7
- Require minimum version of libblockdev-utils in some plugins (vpodzime)
e59aa7
- Report both stdout and stderr if exit code != 0 (vpodzime)
e59aa7
e59aa7
* Fri Apr 17 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.11-1
e59aa7
- Fix issues with using overriden functions over ErrorProxy (vpodzime)
e59aa7
- Update the roadmap.rst and features.rst with new stuff (vpodzime)
e59aa7
- Fix two minor issues with docs generation (vpodzime)
e59aa7
e59aa7
* Thu Apr 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.10-1
e59aa7
- Fix return type of the unload_plugins() function (vpodzime)
e59aa7
- Close the DL handle when check() or init() fail (vpodzime)
e59aa7
- Add one more check to the reload test (vpodzime)
e59aa7
- Drop reference to check() and init() functions (vpodzime)
e59aa7
- Add more cats to tests (vpodzime)
e59aa7
- Make regexp for getting btrfs version more generic (vpodzime)
e59aa7
- Merge pull request #8 from vpodzime/master-check_functions (vpodzime)
e59aa7
- Fix parameters passed to unoverridden swapon function (vpodzime)
e59aa7
- Implement and test swap plugin's check function (vpodzime)
e59aa7
- Implement and test MD RAID plugin's check function (vpodzime)
e59aa7
- Implement and test mpath plugin's check function (vpodzime)
e59aa7
- Try harder to get util's version (vpodzime)
e59aa7
- Implement and test loop plugin's check function (vpodzime)
e59aa7
- Implement and test DM plugin's check function (vpodzime)
e59aa7
- Implement and test BTRFS plugin's check function (vpodzime)
e59aa7
- Implement and test LVM plugin's check function (vpodzime)
e59aa7
- Init logging before loading plugins (vpodzime)
e59aa7
- Add function for utility availability checking (vpodzime)
e59aa7
- Fix default value for the fake_utils' path argument (vpodzime)
e59aa7
- Add ErrorProxy instance for the utils functions (vpodzime)
e59aa7
- Add function for version comparison (vpodzime)
e59aa7
- Merge pull request #9 from clumens/master (vpodzime)
e59aa7
- Disable pylint checking on the new exception proxy. (clumens)
e59aa7
- Fix XRules application and add a test for it (vpodzime)
e59aa7
- Raise NotImplementedError when an unavailable function is called (vpodzime)
e59aa7
- Merge pull request #4 from vpodzime/master-error_proxy (vpodzime)
e59aa7
- Merge branch 'master' into master-error_proxy (vpodzime)
e59aa7
- Merge pull request #5 from vpodzime/master-not_implemented_error (vpodzime)
e59aa7
- Add a simple test for unloaded/unavailable functions (vpodzime)
e59aa7
- Unload the plugins properly when reinit() is called (vpodzime)
e59aa7
- Raise error/exception when an unimplemented function is called (#1201475) (vpodzime)
e59aa7
- Do an ugly but necessary hack to make local GI overrides work (vpodzime)
e59aa7
- Add the __dir__ method to ErrorProxy (vpodzime)
e59aa7
- Add a rationale for the ErrorProxy to the overrides' docstring (vpodzime)
e59aa7
- Add some basic info about GI overrides to the documentation (vpodzime)
e59aa7
- Use pylint to check for errors in python overrides (vpodzime)
e59aa7
- Add the first small test for the ErrorProxy (vpodzime)
e59aa7
- Put the GI overrides in a special dir so that they are preferred (vpodzime)
e59aa7
- Add a cache for attributes already resolved by ErrorProxy (vpodzime)
e59aa7
- Implement the ErrorProxy python class and use it (vpodzime)
e59aa7
e59aa7
* Tue Apr 07 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.9-1
e59aa7
- Merge pull request #7 from vpodzime/master-fw_raid_fixes (vpodzime)
e59aa7
- Try a bit harder when trying to determine MD RAID name (#1207317) (vpodzime)
e59aa7
- Don't be naïve about mdadm --detail telling us what we want (#1207317) (vpodzime)
e59aa7
- Ignore libblockdev tarballs (vpodzime)
e59aa7
- Implement a test of btrfs_list_subvolumes on data from bug report (vpodzime)
e59aa7
- Implement a context manager for running tests with fake utils (vpodzime)
e59aa7
- Do not try to cannonicalize MD UUIDs if we didn't get them (#1207317) (vpodzime)
e59aa7
- Fix the table in roadmap.rst (vpodzime)
e59aa7
- Enrich the roadmap.rst file and add info about new plans (vpodzime)
e59aa7
- Sync spec file with downstream (vpodzime)
e59aa7
e59aa7
* Fri Mar 27 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.8-1
e59aa7
- Merge pull request #6 from vpodzime/master-sort_btrfs_subvolumes (vpodzime)
e59aa7
- Don't be naïve about mdadm providing us data we would like (#1206394) (vpodzime)
e59aa7
- Sort BTRFS subvolumes in a way that child never appears before parent (#1201120) (vpodzime)
e59aa7
- Let libcryptsetup handle LUKSname->/dev/mapper/LUKSname for us (vpodzime)
e59aa7
- Fix the crypto_luks_resize and create a test for it (vpodzime)
e59aa7
- Add targets to create the SRPM and RPM files easily (vpodzime)
e59aa7
- Don't round up to multiple of PE size bigger than max value of the rtype (vpodzime)
e59aa7
- Mark majority of MD RAID tests as slow (vpodzime)
e59aa7
- Merge pull request #1 from dashea/file-paths (vpodzime)
e59aa7
- Don't report error for no loop device associated with given file (vpodzime)
e59aa7
- Skip the detail_data.clean check when running tests in Jenkins (vpodzime)
e59aa7
- Make package file paths more specific (dshea)
e59aa7
- Implement and use MD RAID-specific wait for tests (vpodzime)
e59aa7
- Try to give MD RAID time to sync things before querying them (vpodzime)
e59aa7
- Fix the default value of the BDMDDetailData.clean field (vpodzime)
e59aa7
- Do cleanup after every single MD RAID tests (vpodzime)
e59aa7
- Do cleanup after every single LVM test (vpodzime)
e59aa7
- Do cleanup after every single BTRFS test (vpodzime)
e59aa7
- Make sure the LUKS device is closed and removed after tests (vpodzime)
e59aa7
- Make sure DM maps from tests are removed after tests (vpodzime)
e59aa7
- Make sure that loop devices are deactivated after tests (vpodzime)
e59aa7
- Make the tearDown method of the mpath test case better visible (vpodzime)
e59aa7
- Make sure that the swap is deactivated after tests (vpodzime)
e59aa7
- Fix docstrings in tests' utils helper functions (vpodzime)
e59aa7
- Improve the logging tests in utils_test.py (vpodzime)
e59aa7
- Update the features.rst file (vpodzime)
e59aa7
- Update the roadmap (vpodzime)
e59aa7
- Don't check if we get a mountpoint for BTRFS operations (vpodzime)
e59aa7
e59aa7
* Sun Mar 22 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.7-2
e59aa7
- Ship license as per packaging guidelines
e59aa7
- plugins-all should depend on base library too
e59aa7
- Add dev docs
e59aa7
e59aa7
* Fri Feb 27 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
e59aa7
- Be ready for mdadm --examine to not provide some of the values we want (vpodzime)
e59aa7
- Add exit code information to exec logging (vpodzime)
e59aa7
- Improve and add tests (vpodzime)
e59aa7
- Mark the test_force_plugin and test_reload as slow (vpodzime)
e59aa7
- Make sure we get some devices when creating btrfs volume (vpodzime)
e59aa7
- Add override for the lvremove function (vpodzime)
e59aa7
- Do not create LUKS format with no passphrase and no key file (vpodzime)
e59aa7
- Make sure we use the /dev/mapper/... path for luks_status (vpodzime)
e59aa7
e59aa7
* Thu Feb 19 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.6-1
e59aa7
- Don't report error when non-existing swap's status is queried (vpodzime)
e59aa7
- Make libblockdev-plugins-all pull the same version of plugins (vpodzime)
e59aa7
- Don't report error when asked for a backing file of an uknown loop (vpodzime)
e59aa7
- Fix accidental change in the spec's changelog (vpodzime)
e59aa7
e59aa7
* Mon Feb 16 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.5-1
e59aa7
- Add tests for what we can easily test from the mpath plugin (vpodzime)
e59aa7
- Add link to sources to the documentation (vpodzime)
e59aa7
- Add missing symbols into the libblockdev-sections.txt file (vpodzime)
e59aa7
- Do not build docs for testing (vpodzime)
e59aa7
- Add the bd_try_init function (vpodzime)
e59aa7
- Log stdout and stderr output when running processes (vpodzime)
e59aa7
- Allow a subset of plugins to be load instead of all (vpodzime)
e59aa7
- Make sure devmapper doesn't spam stdout with tons of messages (vpodzime)
e59aa7
- Let debug messages go to stderr when running ipython (vpodzime)
e59aa7
- Give plugins a way to initialize themselves (vpodzime)
e59aa7
- Give plugins a way how to check if they could run properly (vpodzime)
e59aa7
- Allow a subset of plugins to be load instead of all [TEST NEEDED] (vpodzime)
e59aa7
- Make sure we use the whole /dev/mapper path for cryptsetup (vpodzime)
e59aa7
- Fix vg_pv_count parsing when getting info about PV (vpodzime)
e59aa7
- Set default values to data structures if real values are not available (vpodzime)
e59aa7
- Fix the parameter name specifying pool metadata size (vpodzime)
e59aa7
- Activate LUKS as ReadWrite in luks_open (vpodzime)
e59aa7
- Make sure we pass key_size to cryptsetup in bytes (vpodzime)
e59aa7
- Add the min_entropy parameter to luks_format Python overrides (vpodzime)
e59aa7
- Pass size in KiB instead of B to lvcreate (vpodzime)
e59aa7
- Add underscore into dataalignment and metadatasize parameter names (vpodzime)
e59aa7
- Don't report error if non-mpath device is tested for being mpath member (vpodzime)
e59aa7
- Fix name of the invoked utility in mpath_set_friendly_names (vpodzime)
e59aa7
e59aa7
* Sat Jan 31 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.4-1
e59aa7
- Improve the test for lvm_set_global_config (vpodzime)
e59aa7
- Fix some minor issues in the spec file (vpodzime)
e59aa7
- Fix issues with the LVM global config str (vpodzime)
e59aa7
- Add couple more Python overrides (vpodzime)
e59aa7
- Fix the name of the lvm_thlvpoolname() function in the header file (vpodzime)
e59aa7
- Use assertEqual instead of assertTrue(a == b) (vpodzime)
e59aa7
- Add the min_entropy parameter to luks_format (vpodzime)
e59aa7
- Move internal dmraid-related macros into the source file (vpodzime)
e59aa7
- Add an override for the md_add function (vpodzime)
e59aa7
- Fix parameters in luks_open python overrides (vpodzime)
e59aa7
- Prevent init() from being done multiple times and provide a test function (vpodzime)
e59aa7
- Add the roadmap.rst document (vpodzime)
e59aa7
- Remove an extra parenthesis in one of the docstrings (vpodzime)
e59aa7
- Move the mddetail function next to the mdexamine function (vpodzime)
e59aa7
- Add some more constants required by blivet (vpodzime)
e59aa7
e59aa7
* Wed Jan 21 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.3-1
e59aa7
- Require volume_key-devel in a version that fixes build issues (vpodzime)
e59aa7
- Fix Python 2 devel package name in BuildRequires (vpodzime)
e59aa7
- Generate docs for the library and all plugins (vpodzime)
e59aa7
- Make doc comments better for documentation generation (vpodzime)
e59aa7
- Fix parameter names in function prototypes (vpodzime)
e59aa7
- Add the metadatasize parameter to pvcreate (vpodzime)
e59aa7
- Add the dataalignment parameter to lvm_pvcreate (vpodzime)
e59aa7
- Export non-internal constants via introspection (vpodzime)
e59aa7
- Expand size constants in the GI-scanned files (vpodzime)
e59aa7
- Fix usage printing in the boilerplate_generator (vpodzime)
e59aa7
- Add the build directory to .gitignore (vpodzime)
e59aa7
- Add the md_run function (vpodzime)
e59aa7
- Fix some issues in Python overrides (vpodzime)
e59aa7
- Add the escrow_device function to the crypto plugin (vpodzime)
e59aa7
- Fix version of GI files in the Makefile (vpodzime)
e59aa7
- Make the order of release target's dependencies more explicit (vpodzime)
e59aa7
e59aa7
* Mon Jan 12 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
e59aa7
- Fix dependencies of the release target (vpodzime)
e59aa7
- Python overrides for the GI-generated bindings (vpodzime)
e59aa7
- Pass version info to the code and use it to load plugins (vpodzime)
e59aa7
e59aa7
* Wed Dec 10 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.1-1
e59aa7
- Initial release