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