a0d34fd
%define with_python2 1
8277b5d
%define with_python3 1
8277b5d
%define with_gtk_doc 1
8277b5d
%define with_bcache 1
cbbcca7
%define with_btrfs 1
cbbcca7
%define with_crypto 1
cbbcca7
%define with_dm 1
cbbcca7
%define with_loop 1
cbbcca7
%define with_lvm 1
cbbcca7
%define with_lvm_dbus 1
cbbcca7
%define with_mdraid 1
cbbcca7
%define with_mpath 1
cbbcca7
%define with_swap 1
cbbcca7
%define with_kbd 1
cbbcca7
%define with_part 1
cbbcca7
%define with_fs 1
d93bec5
%define with_nvdimm 1
5e985ab
%define with_vdo 0
9f9f7e2
%define with_gi 1
a0d34fd
%define with_escrow 1
c1404f3
%define with_dmraid 1
9171985
%define with_tools 1
a0d34fd
188a34e
# python2 is not available on RHEL > 7 and not needed on Fedora > 29
188a34e
%if 0%{?rhel} > 7 || 0%{?fedora} > 29 || %{with_python2} == 0
a0d34fd
%define with_python2 0
a0d34fd
%define python2_copts --without-python2
a0d34fd
%endif
8277b5d
e995046
# python3 is not available on older RHEL
a0d34fd
%if (! 0%{?fedora} && 0%{?rhel} <= 7) || %{with_python3} == 0
8277b5d
%define with_python3 0
a0d34fd
%define python3_copts  --without-python3
a0d34fd
%endif
a0d34fd
ea92ee6
# bcache is not available on RHEL
ea92ee6
%if (0%{?rhel}) || %{with_bcache} == 0
2b69a07
%define with_bcache 0
a0d34fd
%define bcache_copts --without-bcache
a0d34fd
%endif
a0d34fd
a0d34fd
# lvm_dbus is not available on older RHEL
a0d34fd
%if (! 0%{?fedora} && 0%{?rhel} <= 7) || %{with_lvm_dbus} == 0
6051fa6
%define with_lvm_dbus 0
a0d34fd
%define lvm_dbus_copts --without-lvm-dbus
8277b5d
%endif
8277b5d
76aa48c
# vdo is not available on non-x86_64 on older RHEL
76aa48c
%if (0%{?rhel} && 0%{?rhel} <= 7)
ea92ee6
%ifnarch x86_64
ea92ee6
%define with_vdo 0
ea92ee6
%define vdo_copts --without-vdo
ea92ee6
%endif
76aa48c
%endif
ea92ee6
ea92ee6
# btrfs is not available on RHEL > 7
ea92ee6
%if 0%{?rhel} > 7 || %{with_btrfs} == 0
ea92ee6
%define with_btrfs 0
ea92ee6
%define btrfs_copts --without-btrfs
ea92ee6
%endif
ea92ee6
76aa48c
# dmraid is not available on RHEL > 7
76aa48c
%if 0%{?rhel} > 7
76aa48c
%define with_dmraid 0
76aa48c
%endif
76aa48c
cbbcca7
%if %{with_btrfs} != 1
cbbcca7
%define btrfs_copts --without-btrfs
cbbcca7
%endif
cbbcca7
%if %{with_crypto} != 1
cbbcca7
%define crypto_copts --without-crypto
a0d34fd
%else
a0d34fd
%if %{with_escrow} != 1
a0d34fd
%define crypto_copts --without-escrow
a0d34fd
%endif
cbbcca7
%endif
cbbcca7
%if %{with_dm} != 1
cbbcca7
%define dm_copts --without-dm
c1404f3
%else
c1404f3
%if %{with_dmraid} != 1
c1404f3
%define dm_copts --without-dmraid
c1404f3
%endif
cbbcca7
%endif
cbbcca7
%if %{with_loop} != 1
cbbcca7
%define loop_copts --without-loop
cbbcca7
%endif
cbbcca7
%if %{with_lvm} != 1
cbbcca7
%define lvm_copts --without-lvm
cbbcca7
%endif
cbbcca7
%if %{with_lvm_dbus} != 1
cbbcca7
%define lvm_dbus_copts --without-lvm_dbus
cbbcca7
%endif
cbbcca7
%if %{with_mdraid} != 1
cbbcca7
%define mdraid_copts --without-mdraid
cbbcca7
%endif
cbbcca7
%if %{with_mpath} != 1
cbbcca7
%define mpath_copts --without-mpath
cbbcca7
%endif
cbbcca7
%if %{with_swap} != 1
cbbcca7
%define swap_copts --without-swap
cbbcca7
%endif
cbbcca7
%if %{with_kbd} != 1
cbbcca7
%define kbd_copts --without-kbd
cbbcca7
%endif
cbbcca7
%if %{with_part} != 1
cbbcca7
%define part_copts --without-part
cbbcca7
%endif
cbbcca7
%if %{with_fs} != 1
cbbcca7
%define fs_copts --without-fs
cbbcca7
%endif
d93bec5
%if %{with_nvdimm} != 1
d93bec5
%define nvdimm_copts --without-nvdimm
d93bec5
%endif
c1404f3
%if %{with_vdo} != 1
c1404f3
%define vdo_copts --without-vdo
c1404f3
%endif
9171985
%if %{with_tools} != 1
9171985
%define tools_copts --without-tools
9171985
%endif
9f9f7e2
%if %{with_gi} != 1
9f9f7e2
%define gi_copts --disable-introspection
9f9f7e2
%endif
cbbcca7
9171985
%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} %{?tools_copts} %{?gi_copts}
cbbcca7
95c9391
Name:        libblockdev
dc016e8
Version:     2.26
dc016e8
Release:     1%{?dist}
95c9391
Summary:     A library for low-level manipulation with block devices
95c9391
License:     LGPLv2+
05f68dd
URL:         https://github.com/storaged-project/libblockdev
ecaa980
Source0:     https://github.com/storaged-project/libblockdev/releases/download/%{version}-%{release}/%{name}-%{version}.tar.gz
95c9391
22ba0c9
BuildRequires: make
95c9391
BuildRequires: glib2-devel
9f9f7e2
%if %{with_gi}
95c9391
BuildRequires: gobject-introspection-devel
9f9f7e2
%endif
a0d34fd
%if %{with_python2}
3f6e0e9
BuildRequires: python2-devel
46c87cc
%else
46c87cc
# Obsolete the python2 subpackage to avoid errors on upgrade
46c87cc
Obsoletes:     python2-blockdev < %{version}-%{release}
a0d34fd
%endif
8277b5d
%if %{with_python3}
eb93ef9
BuildRequires: python3-devel
8277b5d
%endif
8277b5d
%if %{with_gtk_doc}
c8bdcf2
BuildRequires: gtk-doc
8277b5d
%endif
c8bdcf2
BuildRequires: glib2-doc
9171985
BuildRequires: autoconf-archive
af3620d
cd2e4cf
# Needed for the escrow tests in tests/crypto_test.py, but not used to build
cd2e4cf
# BuildRequires: volume_key
cd2e4cf
# BuildRequires: nss-tools
cd2e4cf
eac5ac0
# Needed for python 2 vs. 3 compatibility in the tests, but not used to build
3f6e0e9
# BuildRequires: python2-six
eac5ac0
# BuildRequires: python3-six
eac5ac0
95c9391
%description
95c9391
The libblockdev is a C library with GObject introspection support that can be
95c9391
used for doing low-level operations with block devices like setting up LVM,
95c9391
BTRFS, LUKS or MD RAID. The library uses plugins (LVM, BTRFS,...) and serves as
95c9391
a thin wrapper around its plugins' functionality. All the plugins, however, can
95c9391
be used as standalone libraries. One of the core principles of libblockdev is
95c9391
that it is stateless from the storage configuration's perspective (e.g. it has
95c9391
no information about VGs when creating an LV).
95c9391
95c9391
%package devel
95c9391
Summary:     Development files for libblockdev
95c9391
Requires: %{name}%{?_isa} = %{version}-%{release}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev library.
95c9391
a0d34fd
%if %{with_python2}
64690cd
%package -n python2-blockdev
64690cd
Summary:     Python2 gobject-introspection bindings for libblockdev
64690cd
Requires: %{name}%{?_isa} = %{version}-%{release}
a0d34fd
a0d34fd
%if 0%{?fedora} <= 26 || 0%{?rhel} <= 7
a0d34fd
Requires: pygobject3-base
a0d34fd
%else
3f6e0e9
Requires: python2-gobject-base
a0d34fd
%endif
64690cd
%{?python_provide:%python_provide python2-blockdev}
64690cd
64690cd
%description -n python2-blockdev
64690cd
This package contains enhancements to the gobject-introspection bindings for
64690cd
libblockdev in Python2.
a0d34fd
%endif
64690cd
8277b5d
%if %{with_python3}
64690cd
%package -n python3-blockdev
64690cd
Summary:     Python3 gobject-introspection bindings for libblockdev
64690cd
Requires: %{name}%{?_isa} = %{version}-%{release}
72f6586
Requires: python3-gobject-base
64690cd
%{?python_provide:%python_provide python3-blockdev}
64690cd
64690cd
%description -n python3-blockdev
64690cd
This package contains enhancements to the gobject-introspection bindings for
64690cd
libblockdev in Python3.
8277b5d
%endif
95c9391
95c9391
%package utils
50d11e9
BuildRequires: kmod-devel
95c9391
Summary:     A library with utility functions for the libblockdev library
95c9391
95c9391
%description utils
95c9391
The libblockdev-utils is a library providing utility functions used by the
95c9391
libblockdev library and its plugins.
95c9391
95c9391
%package utils-devel
95c9391
Summary:     Development files for libblockdev-utils
95c9391
Requires: %{name}-utils%{?_isa} = %{version}-%{release}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description utils-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-utils library.
95c9391
95c9391
cbbcca7
%if %{with_btrfs}
95c9391
%package btrfs
cbbcca7
BuildRequires: libbytesize-devel
95c9391
Summary:     The BTRFS plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
Requires: btrfs-progs
95c9391
95c9391
%description btrfs
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the BTRFS-related functionality.
95c9391
95c9391
%package btrfs-devel
95c9391
Summary:     Development files for the libblockdev-btrfs plugin/library
95c9391
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
95c9391
Requires: glib2-devel
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
95c9391
%description btrfs-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-btrfs plugin/library.
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_crypto}
95c9391
%package crypto
cbbcca7
BuildRequires: cryptsetup-devel
ea92ee6
BuildRequires: libblkid-devel
a0d34fd
a0d34fd
%if %{with_escrow}
cbbcca7
BuildRequires: volume_key-devel >= 0.3.9-7
cbbcca7
BuildRequires: nss-devel
a0d34fd
%endif
a0d34fd
95c9391
Summary:     The crypto plugin for the libblockdev library
95c9391
95c9391
%description crypto
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to encrypted devices (LUKS).
95c9391
95c9391
%package crypto-devel
95c9391
Summary:     Development files for the libblockdev-crypto plugin/library
95c9391
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description crypto-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-crypto plugin/library.
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_dm}
95c9391
%package dm
cbbcca7
BuildRequires: device-mapper-devel
c1404f3
%if %{with_dmraid}
cbbcca7
BuildRequires: dmraid-devel
c1404f3
%endif
cbbcca7
BuildRequires: systemd-devel
95c9391
Summary:     The Device Mapper plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
Requires: device-mapper
76aa48c
%if %{with_dmraid}
95c9391
Requires: dmraid
76aa48c
%endif
95c9391
95c9391
%description dm
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to Device Mapper.
95c9391
95c9391
%package dm-devel
95c9391
Summary:     Development files for the libblockdev-dm plugin/library
95c9391
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
95c9391
Requires: glib2-devel
95c9391
Requires: device-mapper-devel
95c9391
Requires: systemd-devel
c1404f3
%if %{with_dmraid}
95c9391
Requires: dmraid-devel
c1404f3
%endif
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
95c9391
%description dm-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-dm plugin/library.
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_fs}
b657309
%package fs
cbbcca7
BuildRequires: parted-devel
cbbcca7
BuildRequires: libblkid-devel
cbbcca7
BuildRequires: libmount-devel
b657309
Summary:     The FS plugin for the libblockdev library
b657309
Requires: %{name}-utils%{?_isa} >= 0.11
b657309
b657309
%description fs
b657309
The libblockdev library plugin (and in the same time a standalone library)
b657309
providing the functionality related to operations with file systems.
b657309
b657309
%package fs-devel
b657309
Summary:     Development files for the libblockdev-fs plugin/library
b657309
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
b657309
Requires: %{name}-utils-devel%{?_isa}
b657309
Requires: glib2-devel
07ec7ae
Requires: xfsprogs
07ec7ae
Requires: dosfstools
b657309
b657309
%description fs-devel
b657309
This package contains header files and pkg-config files needed for development
b657309
with the libblockdev-fs plugin/library.
cbbcca7
%endif
b657309
b657309
cbbcca7
%if %{with_kbd}
af3620d
%package kbd
1cd3ec5
BuildRequires: libbytesize-devel
af3620d
Summary:     The KBD plugin for the libblockdev library
af3620d
Requires: %{name}-utils%{?_isa} >= 0.11
2b69a07
%if %{with_bcache}
af3620d
Requires: bcache-tools >= 1.0.8
2b69a07
%endif
af3620d
af3620d
%description kbd
af3620d
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to kernel block devices (namely zRAM and
af3620d
Bcache).
af3620d
af3620d
%package kbd-devel
af3620d
Summary:     Development files for the libblockdev-kbd plugin/library
af3620d
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
af3620d
Requires: %{name}-utils-devel%{?_isa}
af3620d
Requires: glib2-devel
af3620d
af3620d
%description kbd-devel
af3620d
This package contains header files and pkg-config files needed for development
af3620d
with the libblockdev-kbd plugin/library.
cbbcca7
%endif
af3620d
af3620d
cbbcca7
%if %{with_loop}
95c9391
%package loop
95c9391
Summary:     The loop plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
95c9391
%description loop
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to loop devices.
95c9391
95c9391
%package loop-devel
95c9391
Summary:     Development files for the libblockdev-loop plugin/library
95c9391
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description loop-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-loop plugin/library.
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_lvm}
95c9391
%package lvm
cbbcca7
BuildRequires: device-mapper-devel
95c9391
Summary:     The LVM plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
Requires: lvm2
95c9391
95c9391
%description lvm
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the LVM-related functionality.
95c9391
95c9391
%package lvm-devel
95c9391
Summary:     Development files for the libblockdev-lvm plugin/library
95c9391
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description lvm-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-lvm plugin/library.
cbbcca7
%endif
95c9391
cbbcca7
%if %{with_lvm_dbus}
89a5e1b
%package lvm-dbus
cbbcca7
BuildRequires: device-mapper-devel
89a5e1b
Summary:     The LVM plugin for the libblockdev library
89a5e1b
Requires: %{name}-utils%{?_isa} >= 1.4
5573c28
Requires: lvm2-dbusd >= 2.02.156
89a5e1b
89a5e1b
%description lvm-dbus
89a5e1b
The libblockdev library plugin (and in the same time a standalone library)
89a5e1b
providing the LVM-related functionality utilizing the LVM DBus API.
89a5e1b
89a5e1b
%package lvm-dbus-devel
89a5e1b
Summary:     Development files for the libblockdev-lvm-dbus plugin/library
89a5e1b
Requires: %{name}-lvm-dbus%{?_isa} = %{version}-%{release}
89a5e1b
Requires: %{name}-utils-devel%{?_isa} >= 1.4
89a5e1b
Requires: glib2-devel
89a5e1b
89a5e1b
%description lvm-dbus-devel
89a5e1b
This package contains header files and pkg-config files needed for development
89a5e1b
with the libblockdev-lvm-dbus plugin/library.
cbbcca7
%endif
89a5e1b
95c9391
cbbcca7
%if %{with_mdraid}
95c9391
%package mdraid
cbbcca7
BuildRequires: libbytesize-devel
95c9391
Summary:     The MD RAID plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
Requires: mdadm
95c9391
95c9391
%description mdraid
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to MD RAID.
95c9391
95c9391
%package mdraid-devel
95c9391
Summary:     Development files for the libblockdev-mdraid plugin/library
95c9391
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description mdraid-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-mdraid plugin/library.
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_mpath}
95c9391
%package mpath
cbbcca7
BuildRequires: device-mapper-devel
95c9391
Summary:     The multipath plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
d70a179
Recommends: device-mapper-multipath
95c9391
95c9391
%description mpath
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to multipath devices.
95c9391
95c9391
%package mpath-devel
95c9391
Summary:     Development files for the libblockdev-mpath plugin/library
95c9391
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description mpath-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-mpath plugin/library.
cbbcca7
%endif
95c9391
d93bec5
%if %{with_nvdimm}
d93bec5
%package nvdimm
d93bec5
BuildRequires: ndctl-devel
d93bec5
BuildRequires: libuuid-devel
d93bec5
Summary:     The NVDIMM plugin for the libblockdev library
d93bec5
Requires: %{name}-utils%{?_isa} >= 0.11
d93bec5
Requires: ndctl
d93bec5
d93bec5
%description nvdimm
d93bec5
The libblockdev library plugin (and in the same time a standalone library)
d93bec5
providing the functionality related to operations with NVDIMM devices.
d93bec5
d93bec5
%package nvdimm-devel
d93bec5
Summary:     Development files for the libblockdev-nvdimm plugin/library
d93bec5
Requires: %{name}-nvdimm%{?_isa} = %{version}-%{release}
d93bec5
Requires: %{name}-utils-devel%{?_isa}
d93bec5
Requires: glib2-devel
d93bec5
d93bec5
%description nvdimm-devel
d93bec5
This package contains header files and pkg-config files needed for development
d93bec5
with the libblockdev-nvdimm plugin/library.
d93bec5
%endif
d93bec5
95c9391
cbbcca7
%if %{with_part}
b657309
%package part
cbbcca7
BuildRequires: parted-devel
b657309
Summary:     The partitioning plugin for the libblockdev library
b657309
Requires: %{name}-utils%{?_isa} >= 0.11
b657309
Requires: gdisk
07ec7ae
Requires: util-linux
b657309
b657309
%description part
b657309
The libblockdev library plugin (and in the same time a standalone library)
b657309
providing the functionality related to partitioning.
b657309
b657309
%package part-devel
b657309
Summary:     Development files for the libblockdev-part plugin/library
b657309
Requires: %{name}-part%{?_isa} = %{version}-%{release}
b657309
Requires: %{name}-utils-devel%{?_isa}
b657309
Requires: glib2-devel
b657309
b657309
%description part-devel
b657309
This package contains header files and pkg-config files needed for development
b657309
with the libblockdev-part plugin/library.
cbbcca7
%endif
b657309
b657309
cbbcca7
%if %{with_swap}
95c9391
%package swap
9171985
BuildRequires: libblkid-devel
95c9391
Summary:     The swap plugin for the libblockdev library
c7e130d
Requires: %{name}-utils%{?_isa} >= 0.11
95c9391
Requires: util-linux
95c9391
95c9391
%description swap
95c9391
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to swap devices.
95c9391
95c9391
%package swap-devel
95c9391
Summary:     Development files for the libblockdev-swap plugin/library
95c9391
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
2d19ecb
Requires: %{name}-utils-devel%{?_isa}
95c9391
Requires: glib2-devel
95c9391
95c9391
%description swap-devel
95c9391
This package contains header files and pkg-config files needed for development
95c9391
with the libblockdev-swap plugin/library.
cbbcca7
%endif
cbbcca7
95c9391
c1404f3
%if %{with_vdo}
c1404f3
%package vdo
c1404f3
BuildRequires: libbytesize-devel
c1404f3
BuildRequires: libyaml-devel
c1404f3
Summary:     The vdo plugin for the libblockdev library
c1404f3
Requires: %{name}-utils%{?_isa} >= 0.11
76aa48c
76aa48c
# weak dependencies doesn't work on older RHEL
76aa48c
%if (0%{?rhel} && 0%{?rhel} <= 7)
c1404f3
Requires: vdo
c1404f3
Requires: kmod-kvdo
76aa48c
%else
76aa48c
# we want to build the plugin everywhere but the dependencies might not be
76aa48c
# available so just use weak dependency
76aa48c
Recommends: vdo
76aa48c
Recommends: kmod-kvdo
76aa48c
%endif
c1404f3
c1404f3
%description vdo
c1404f3
The libblockdev library plugin (and in the same time a standalone library)
c1404f3
providing the functionality related to VDO devices.
c1404f3
c1404f3
%package vdo-devel
c1404f3
Summary:     Development files for the libblockdev-vdo plugin/library
c1404f3
Requires: %{name}-vdo%{?_isa} = %{version}-%{release}
c1404f3
Requires: %{name}-utils-devel%{?_isa}
c1404f3
Requires: glib2-devel
c1404f3
c1404f3
%description vdo-devel
c1404f3
This package contains header files and pkg-config files needed for development
c1404f3
with the libblockdev-vdo plugin/library.
c1404f3
%endif
c1404f3
9171985
%if %{with_tools}
9171985
%package tools
9171985
Summary:    Various nice tools based on libblockdev
9171985
Requires:   %{name}
9171985
Requires:   %{name}-lvm
9171985
BuildRequires: libbytesize-devel
9171985
%if %{with_lvm_dbus} == 1
9171985
Recommends: %{name}-lvm-dbus
9171985
%endif
9171985
9171985
%description tools
9171985
Various nice storage-related tools based on libblockdev.
9171985
9171985
%endif
c1404f3
cbbcca7
%ifarch s390 s390x
af3620d
%package s390
af3620d
Summary:    The s390 plugin for the libblockdev library
af3620d
Requires: s390utils
af3620d
af3620d
%description s390
af3620d
The libblockdev library plugin (and in the same time a standalone library)
af3620d
providing the functionality related to s390 devices.
af3620d
af3620d
%package s390-devel
af3620d
Summary:     Development files for the libblockdev-s390 plugin/library
af3620d
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
af3620d
Requires: %{name}-utils-devel%{?_isa}
af3620d
Requires: glib2-devel
af3620d
af3620d
%description s390-devel
af3620d
This package contains header files and pkg-config files needed for development
af3620d
with the libblockdev-s390 plugin/library.
cbbcca7
%endif
95c9391
95c9391
%package plugins-all
95c9391
Summary:     Meta-package that pulls all the libblockdev plugins as dependencies
d954869
Requires: %{name}%{?_isa} = %{version}-%{release}
cbbcca7
cbbcca7
%if %{with_btrfs}
9662ba6
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_crypto}
9662ba6
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_dm}
9662ba6
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_fs}
b657309
Requires: %{name}-fs%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_kbd}
af3620d
Requires: %{name}-kbd%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_loop}
9662ba6
Requires: %{name}-loop%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_lvm}
9662ba6
Requires: %{name}-lvm%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_mdraid}
9662ba6
Requires: %{name}-mdraid%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_mpath}
9662ba6
Requires: %{name}-mpath%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
d93bec5
%if %{with_nvdimm}
d93bec5
Requires: %{name}-nvdimm%{?_isa} = %{version}-%{release}
d93bec5
%endif
d93bec5
cbbcca7
%if %{with_part}
b657309
Requires: %{name}-part%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_swap}
9662ba6
Requires: %{name}-swap%{?_isa} = %{version}-%{release}
cbbcca7
%endif
cbbcca7
c1404f3
%if %{with_vdo}
c1404f3
Requires: %{name}-vdo%{?_isa} = %{version}-%{release}
c1404f3
%endif
c1404f3
af3620d
%ifarch s390 s390x
af3620d
Requires: %{name}-s390%{?_isa} = %{version}-%{release}
af3620d
%endif
95c9391
95c9391
%description plugins-all
95c9391
A meta-package that pulls all the libblockdev plugins as dependencies.
95c9391
95c9391
95c9391
%prep
95c9391
%setup -q -n %{name}-%{version}
95c9391
95c9391
%build
7399f41
autoreconf -ivf
8277b5d
%configure %{?configure_opts}
af3620d
%{__make} %{?_smp_mflags}
95c9391
95c9391
%install
af3620d
%{make_install}
af3620d
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
95c9391
95c9391
531eaa3
%ldconfig_scriptlets
531eaa3
%ldconfig_scriptlets utils
cbbcca7
cbbcca7
%if %{with_btrfs}
531eaa3
%ldconfig_scriptlets btrfs
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_crypto}
531eaa3
%ldconfig_scriptlets crypto
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_dm}
531eaa3
%ldconfig_scriptlets dm
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_fs}
531eaa3
%ldconfig_scriptlets fs
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_loop}
531eaa3
%ldconfig_scriptlets loop
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_lvm}
531eaa3
%ldconfig_scriptlets lvm
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_lvm_dbus}
531eaa3
%ldconfig_scriptlets lvm-dbus
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_mdraid}
531eaa3
%ldconfig_scriptlets mdraid
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_mpath}
531eaa3
%ldconfig_scriptlets mpath
cbbcca7
%endif
cbbcca7
d93bec5
%if %{with_nvdimm}
d93bec5
%ldconfig_scriptlets nvdimm
d93bec5
%endif
d93bec5
cbbcca7
%if %{with_part}
531eaa3
%ldconfig_scriptlets part
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_swap}
531eaa3
%ldconfig_scriptlets swap
cbbcca7
%endif
cbbcca7
c1404f3
%if %{with_vdo}
c1404f3
%ldconfig_scriptlets vdo
c1404f3
%endif
c1404f3
cbbcca7
%ifarch s390 s390x
531eaa3
%ldconfig_scriptlets s390
cbbcca7
%endif
cbbcca7
cbbcca7
%if %{with_kbd}
531eaa3
%ldconfig_scriptlets kbd
cbbcca7
%endif
95c9391
95c9391
95c9391
%files
d954869
%{!?_licensedir:%global license %%doc}
d954869
%license LICENSE
95c9391
%{_libdir}/libblockdev.so.*
9f9f7e2
%if %{with_gi}
95c9391
%{_libdir}/girepository*/BlockDev*.typelib
9f9f7e2
%endif
e2a4a02
%dir %{_sysconfdir}/libblockdev
e2a4a02
%dir %{_sysconfdir}/libblockdev/conf.d
eac5ac0
%config %{_sysconfdir}/libblockdev/conf.d/00-default.cfg
95c9391
95c9391
%files devel
d954869
%doc features.rst specs.rst
95c9391
%{_libdir}/libblockdev.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/blockdev.h
95c9391
%{_includedir}/blockdev/plugins.h
95c9391
%{_libdir}/pkgconfig/blockdev.pc
8277b5d
%if %{with_gtk_doc}
9a19530
%{_datadir}/gtk-doc/html/libblockdev
8277b5d
%endif
9f9f7e2
%if %{with_gi}
9a19530
%{_datadir}/gir*/BlockDev*.gir
9f9f7e2
%endif
95c9391
a0d34fd
%if %{with_python2}
64690cd
%files -n python2-blockdev
64690cd
%{python2_sitearch}/gi/overrides/*
a0d34fd
%endif
64690cd
8277b5d
%if %{with_python3}
64690cd
%files -n python3-blockdev
64690cd
%{python3_sitearch}/gi/overrides/BlockDev*
64690cd
%{python3_sitearch}/gi/overrides/__pycache__/BlockDev*
8277b5d
%endif
95c9391
95c9391
%files utils
95c9391
%{_libdir}/libbd_utils.so.*
07ec7ae
%{_libdir}/libbd_part_err.so.*
95c9391
95c9391
%files utils-devel
95c9391
%{_libdir}/libbd_utils.so
07ec7ae
%{_libdir}/libbd_part_err.so
1cd3ec5
%{_libdir}/pkgconfig/blockdev-utils.pc
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/utils.h
95c9391
%{_includedir}/blockdev/sizes.h
95c9391
%{_includedir}/blockdev/exec.h
07ec7ae
%{_includedir}/blockdev/extra_arg.h
6051fa6
%{_includedir}/blockdev/dev_utils.h
50d11e9
%{_includedir}/blockdev/module.h
ea92ee6
%{_includedir}/blockdev/dbus.h
95c9391
95c9391
cbbcca7
%if %{with_btrfs}
95c9391
%files btrfs
95c9391
%{_libdir}/libbd_btrfs.so.*
95c9391
95c9391
%files btrfs-devel
95c9391
%{_libdir}/libbd_btrfs.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/btrfs.h
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_crypto}
95c9391
%files crypto
95c9391
%{_libdir}/libbd_crypto.so.*
95c9391
95c9391
%files crypto-devel
95c9391
%{_libdir}/libbd_crypto.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/crypto.h
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_dm}
95c9391
%files dm
95c9391
%{_libdir}/libbd_dm.so.*
95c9391
95c9391
%files dm-devel
95c9391
%{_libdir}/libbd_dm.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/dm.h
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_fs}
b657309
%files fs
b657309
%{_libdir}/libbd_fs.so.*
b657309
b657309
%files fs-devel
b657309
%{_libdir}/libbd_fs.so
b657309
%dir %{_includedir}/blockdev
50d11e9
%dir %{_includedir}/blockdev/fs
b657309
%{_includedir}/blockdev/fs.h
50d11e9
%{_includedir}/blockdev/fs/*.h
cbbcca7
%endif
b657309
b657309
cbbcca7
%if %{with_kbd}
af3620d
%files kbd
af3620d
%{_libdir}/libbd_kbd.so.*
af3620d
af3620d
%files kbd-devel
af3620d
%{_libdir}/libbd_kbd.so
af3620d
%dir %{_includedir}/blockdev
af3620d
%{_includedir}/blockdev/kbd.h
cbbcca7
%endif
af3620d
af3620d
cbbcca7
%if %{with_loop}
95c9391
%files loop
95c9391
%{_libdir}/libbd_loop.so.*
95c9391
95c9391
%files loop-devel
95c9391
%{_libdir}/libbd_loop.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/loop.h
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_lvm}
95c9391
%files lvm
95c9391
%{_libdir}/libbd_lvm.so.*
95c9391
95c9391
%files lvm-devel
95c9391
%{_libdir}/libbd_lvm.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/lvm.h
cbbcca7
%endif
cbbcca7
95c9391
cbbcca7
%if %{with_lvm_dbus}
89a5e1b
%files lvm-dbus
89a5e1b
%{_libdir}/libbd_lvm-dbus.so.*
89a5e1b
%config %{_sysconfdir}/libblockdev/conf.d/10-lvm-dbus.cfg
89a5e1b
89a5e1b
%files lvm-dbus-devel
89a5e1b
%{_libdir}/libbd_lvm-dbus.so
89a5e1b
%dir %{_includedir}/blockdev
89a5e1b
%{_includedir}/blockdev/lvm.h
cbbcca7
%endif
89a5e1b
95c9391
cbbcca7
%if %{with_mdraid}
95c9391
%files mdraid
95c9391
%{_libdir}/libbd_mdraid.so.*
95c9391
95c9391
%files mdraid-devel
95c9391
%{_libdir}/libbd_mdraid.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/mdraid.h
cbbcca7
%endif
95c9391
95c9391
cbbcca7
%if %{with_mpath}
95c9391
%files mpath
95c9391
%{_libdir}/libbd_mpath.so.*
95c9391
95c9391
%files mpath-devel
95c9391
%{_libdir}/libbd_mpath.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/mpath.h
cbbcca7
%endif
95c9391
a0d34fd
d93bec5
%if %{with_nvdimm}
d93bec5
%files nvdimm
d93bec5
%{_libdir}/libbd_nvdimm.so.*
d93bec5
d93bec5
%files nvdimm-devel
d93bec5
%{_libdir}/libbd_nvdimm.so
d93bec5
%dir %{_includedir}/blockdev
d93bec5
%{_includedir}/blockdev/nvdimm.h
d93bec5
%endif
95c9391
a0d34fd
cbbcca7
%if %{with_part}
b657309
%files part
b657309
%{_libdir}/libbd_part.so.*
b657309
b657309
%files part-devel
b657309
%{_libdir}/libbd_part.so
b657309
%dir %{_includedir}/blockdev
b657309
%{_includedir}/blockdev/part.h
cbbcca7
%endif
b657309
b657309
cbbcca7
%if %{with_swap}
95c9391
%files swap
95c9391
%{_libdir}/libbd_swap.so.*
95c9391
95c9391
%files swap-devel
95c9391
%{_libdir}/libbd_swap.so
9a19530
%dir %{_includedir}/blockdev
95c9391
%{_includedir}/blockdev/swap.h
cbbcca7
%endif
cbbcca7
95c9391
c1404f3
%if %{with_vdo}
c1404f3
%files vdo
c1404f3
%{_libdir}/libbd_vdo.so.*
c1404f3
c1404f3
%files vdo-devel
c1404f3
%{_libdir}/libbd_vdo.so
c1404f3
%dir %{_includedir}/blockdev
c1404f3
%{_includedir}/blockdev/vdo.h
c1404f3
%endif
c1404f3
9171985
%if %{with_tools}
9171985
%files tools
9171985
%{_bindir}/lvm-cache-stats
9171985
%endif
c1404f3
af3620d
%ifarch s390 s390x
af3620d
%files s390
af3620d
%{_libdir}/libbd_s390.so.*
af3620d
af3620d
%files s390-devel
af3620d
%{_libdir}/libbd_s390.so
af3620d
%dir %{_includedir}/blockdev
af3620d
%{_includedir}/blockdev/s390.h
af3620d
%endif
af3620d
95c9391
%files plugins-all
95c9391
95c9391
%changelog
dc016e8
* Wed Jul 28 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.26-1
dc016e8
- Add missing plugins to the default config (vtrefny)
dc016e8
- remove unused variable and fix build with LLVM/clang (tpgxyz)
dc016e8
- exec: Fix deprecated glib function call Glib will rename "g_spawn_check_exit_status()" to "g_spawn_check_wait_status()" in version 2.69. (manuel.wassermann97)
dc016e8
- tests: Tag LvmPVVGLVcachePoolCreateRemoveTestCase as unstable (vtrefny)
dc016e8
- tests: Force remove LVM VG /dev/ entry not removed by vgremove (vtrefny)
dc016e8
- tests: Do not try to remove VG before removing the VDO pool (vtrefny)
dc016e8
- crypto: Let cryptsetup autodect encryption sector size when not specified (vtrefny)
dc016e8
- Fix skipping tests on Debian testing (vtrefny)
dc016e8
- tests: Temporarily skip test_snapshotcreate_lvorigin_snapshotmerge (vtrefny)
dc016e8
- tests: Do not check that XFS shrink fails with xfsprogs >= 5.12 (vtrefny)
dc016e8
- tests: Make sure the test temp mount is always unmounted (vtrefny)
dc016e8
- swap: Fix memory leak (vtrefny)
dc016e8
- mdraid: Fix memory leak (vtrefny)
dc016e8
- lvm-dbus: Fix memory leak (vtrefny)
dc016e8
- kbd: Fix memory leak (vtrefny)
dc016e8
- fs: Fix memory leak (vtrefny)
dc016e8
- dm: Fix memory leak in the DM plugin and DM logging redirect function (vtrefny)
dc016e8
- crypto: Fix memory leak (vtrefny)
dc016e8
- kbd: Fix memory leak (vtrefny)
dc016e8
- tests: Call fs_vfat_mkfs with "--mbr=n" extra option in tests (vtrefny)
dc016e8
- fs: Allow using empty label for vfat with newest dosfstools (vtrefny)
dc016e8
- vdo: Do not use g_memdup in bd_vdo_stats_copy (vtrefny)
dc016e8
- crypto: Fix default key size for non XTS ciphers (vtrefny)
dc016e8
- NEWS.rts: Fix markup (vtrefny)
dc016e8
8572706
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-5
8572706
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
8572706
6d2d2ca
* Mon Jul 19 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.25-4
6d2d2ca
- crypto: Let cryptsetup autodect encryption sector size
6d2d2ca
9c9f284
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 2.25-3
9c9f284
- Rebuilt for Python 3.10
9c9f284
fd69759
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.25-2
fd69759
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
fd69759
08a065c
* Mon Jan 11 2021 Vojtech Trefny <vtrefny@redhat.com> - 2.25-1
08a065c
- loop: Retry LOOP_SET_STATUS64 on EAGAIN (vtrefny)
08a065c
- Fix max size limit for LVM thinpool metadata (vtrefny)
08a065c
- lvm: Use the UNUSED macro instead of __attribute__((unused)) (vtrefny)
08a065c
- lvm: Do not use thin_metadata_size to recommend thin metadata size (vtrefny)
08a065c
- lvm: Set thin metadata limits to match limits LVM uses in lvcreate (vtrefny)
08a065c
- Mark all GIR file constants as guint64 (vtrefny)
08a065c
- lvm: Fix bd_lvm_vdopooldata_* symbols (tbzatek)
08a065c
- fs: Fix compile error in ext_repair caused by cherry pick from master (vtrefny)
08a065c
- README: Use CI status image for 2.x-branch on 2.x (vtrefny)
08a065c
- fs: Do not report error when errors were fixed by e2fsck (vtrefny)
08a065c
- tests: Add null-byte exec tests (tbzatek)
08a065c
- tests: Add bufferbloat exec tests (tbzatek)
08a065c
- exec: Clarify the BDUtilsProgExtract callback documentation (tbzatek)
08a065c
- exec: Use non-blocking read and process the buffer manually (tbzatek)
08a065c
- exec: Fix polling for stdout and stderr (tbzatek)
08a065c
- exec: Fix setting locale for util calls (vtrefny)
08a065c
5e985ab
* Thu Oct 01 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.24-7
5e985ab
- Do not build VDO plugin
5e985ab
7ce9543
* Thu Sep 17 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.24-6
7ce9543
- exec: Fix setting locale for util calls
7ce9543
a0c2a70
* Thu Aug 20 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.24-5
a0c2a70
- dm: Fix comparing DM RAID member devices UUID
a0c2a70
d898142
* Wed Aug 19 2020 Jeff Law <law@redhat.com> - 2.24-4
d898142
- Work around gcc-11 false positive warning
d898142
d70a179
* Mon Jul 27 2020 Hans de Goede <hdegoede@redhat.com> - 2.24-3
d70a179
- Change -mpath subpackage Requires: device-mapper-multipath into Recommends
d70a179
- Related: rhbz#1857393
d70a179
0a53e96
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 2.24-2
0a53e96
- Rebuilt for Python 3.9
0a53e96
37ee523
* Fri May 22 2020 Vojtech Trefny <vtrefny@redhat.com> - 2.24-1
37ee523
- Mark VDO plugin as deprecated since 2.24 (vtrefny)
37ee523
- Fix multiple uninitialized values discovered by coverity (vtrefny)
37ee523
- fs: Fix potential NULL pointer dereference in mount.c (vtrefny)
37ee523
- utils: Remove deadcode in exec.c (vtrefny)
37ee523
- Do not check VDO saving percent value in LVM DBus tests (vtrefny)
37ee523
- Use libblkid to get label and UUID for XFS filesystems (vtrefny)
37ee523
- Do not open devices as read-write for read-only fs operations (vtrefny)
37ee523
- Create a common function to get label and uuid of a filesystem (vtrefny)
37ee523
- lvm: Fix getting cache stats for cache thinpools (vtrefny)
37ee523
- Do not skip LVM VDO tests when the kvdo module is already loaded (vtrefny)
37ee523
- tests: Skip LVM VDO tests if kvdo module cannot be loaded (vtrefny)
37ee523
- lvm-dbus: Add LVM VDO pools to bd_lvm_lvs (vtrefny)
37ee523
- lvm: Add a function to get VDO pool name for a VDO LV (vtrefny)
37ee523
- lvm-dbus: Get data LV name for LVM VDO pools too (vtrefny)
37ee523
- Add functions to get VDO stats for LVM VDO volumes (vtrefny)
37ee523
- Move VDO statistics code to a separate file (vtrefny)
37ee523
- Fix copy-paste bug in lvm.api (vtrefny)
37ee523
- exec: Disable encoding when reading data from stdout/stderr (vtrefny)
37ee523
- Add function to get LVM VDO write policy from a string (vtrefny)
37ee523
- Add extra parameters for creating LVM VDO volumes (vtrefny)
37ee523
- Allow calling LVM functions without locking global_config_lock (vtrefny)
37ee523
- Fix getting VDO data in the LVM DBus plugin (vtrefny)
37ee523
- Fix getting string representation of unknown VDO state index (vtrefny)
37ee523
- Add write policy and index size to LVM VDO data (vtrefny)
37ee523
- Fix converting to VDO pool without name for the VDO LV (vtrefny)
37ee523
- Add some helper functions to get LVM VDO mode and state strings (vtrefny)
37ee523
- Add support for creating and managing VDO LVs with LVM (vtrefny)
37ee523
- Fix LVM plugin so names in tests (vtrefny)
37ee523
- Do not hardcode pylint executable name in Makefile (vtrefny)
37ee523
- Add a function to check if a tool supports given feature (vtrefny)
37ee523
- configure.ac: Avoid more bashisms (gentoo)
37ee523
- mount: Fix a memleak (tbzatek)
37ee523
- exec: Fix a memleak (tbzatek)
37ee523
- vdo: Fix a memleak (tbzatek)
37ee523
- configure.ac: Avoid bashisms (polynomial-c)
37ee523
- tests: Specify loader for yaml.load in VDO tests (vtrefny)
37ee523
- lvm-dbus: Fix memory leak in bd_lvm_thlvpoolname (vtrefny)
37ee523
- lvm-dbus: Do not activate LVs during pvscan --cache (vtrefny)
37ee523
- vdo: Run "vdo create" with "--force" (vtrefny)
37ee523
- Fix typo in (un)mount error messages (vtrefny)
37ee523
- utils: Add functions to get and check current linux kernel version (tbzatek)
37ee523
- ext: Return empty string instead of "<none>" for empty UUID (vtrefny)
37ee523
- Add support for BitLocker encrypted devices using cryptsetup (vtrefny)
37ee523
- Add a helper function for closing an active crypto device (vtrefny)
37ee523
- Manually remove symlinks not removed by udev in tests (vtrefny)
37ee523
- Fix memory leak in LVM DBus plugin (vtrefny)
37ee523
- Fix expected cache pool name with newest LVM (vtrefny)
37ee523
- fs: Fix checking for UID/GID == 0 (vtrefny)
37ee523
- Fixed a number of memory leaks in lvm-dbus plugin (mthompson)
37ee523
- exec.c: Fix reading outputs with null bytes (vtrefny)
37ee523
- Fix linking against utils on Debian (vtrefny)
37ee523
- Add new function 'bd_fs_wipe_force' to control force wipe (vtrefny)
37ee523
- Use 'explicit_bzero' to erase passphrases from key files (vtrefny)
37ee523
- Sync spec with downstream (vtrefny)
37ee523
7427cce
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.23-2
7427cce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7427cce
cb18f66
* Mon Sep 09 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.23-1
cb18f66
- Fix how we get process exit code from g_spawn_sync (vtrefny)
cb18f66
- Skip tests for old-style LVM snapshots on recent Fedora (vtrefny)
cb18f66
- Fix skipping NTFS read-only test case on systems without NTFS (vtrefny)
cb18f66
- Fix LVM_MAX_LV_SIZE in the GIR file (vtrefny)
cb18f66
- Print skipped test "results" to stderr instead of stdout (vtrefny)
cb18f66
- Move the NTFS read-only device test to a separate test case (vtrefny)
cb18f66
- Fix parsing distro version from CPE name (vtrefny)
cb18f66
- Use 'kmod_module_probe_insert_module' function for loading modules (vtrefny)
cb18f66
- Hide filesystem-specific is_tech_available functions (vtrefny)
cb18f66
- Mark LVM global config locks as static (vtrefny)
cb18f66
- Remove unused 'get_PLUGIN_num_functions' and 'get_PLUGIN_functions' functions (vtrefny)
cb18f66
- Mark 'private' plugin management functions as static (vtrefny)
cb18f66
- Ignore coverity deadcode warning in 'bd_fs_is_tech_avail' (vtrefny)
cb18f66
- Ignore coverity deadcode warnings in the generated code (vtrefny)
cb18f66
- Use the new config file for skipping tests (vtrefny)
cb18f66
- Skip bcache tests if make-bcache is not installed (vtrefny)
cb18f66
- Add ability to read tests to skip from a config file (vtrefny)
cb18f66
- Mark 'test_set_bitmap_location' as unstable (vtrefny)
cb18f66
- Force LVM cli plugin in lvm_test (vtrefny)
cb18f66
- Add a special test tag for library tests that recompile plugins (vtrefny)
cb18f66
- Allow running tests against installed libblockdev (vtrefny)
cb18f66
- Remove duplicate test case (vtrefny)
cb18f66
- Use the new test tags in tests (vtrefny)
cb18f66
- Use test tags for skipping tests (vtrefny)
cb18f66
- Add a decorator for "tagging" tests (vtrefny)
cb18f66
- Add function for (un)freezing filesystems (vtrefny)
cb18f66
- Add a function to check whether a path is a mounpoint or not (vtrefny)
cb18f66
- Skip bcache tests on all Debian versions (vtrefny)
cb18f66
076b3f6
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 2.22-3
076b3f6
- Rebuilt for Python 3.8
076b3f6
80bac6f
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.22-2
80bac6f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
80bac6f
43bae90
* Wed Jun 12 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.22-1
43bae90
- tests: Fix Debian testing "version" for skipping (vtrefny)
43bae90
- module: Fix libkmod related leak (tbzatek)
43bae90
- btrfs: Fix number of memory leaks (tbzatek)
43bae90
- mdraid: Fix leaking BDMDExamineData.metadata (tbzatek)
43bae90
- mdraid: Fix leaking error (tbzatek)
43bae90
- part: Fix leaking string in args (tbzatek)
43bae90
- ext: Fix leaking string (tbzatek)
43bae90
- part: Fix leaking objects (tbzatek)
43bae90
- kbd: Fix g_match_info_fetch() leaks (tbzatek)
43bae90
- ext: Fix g_match_info_fetch() leaks (tbzatek)
43bae90
- ext: Fix g_strsplit() leaks (tbzatek)
43bae90
- s390: Fix g_strsplit() leaks (tbzatek)
43bae90
- mdraid: Fix g_strsplit() leaks (tbzatek)
43bae90
- exec: Fix some memory leaks (tbzatek)
43bae90
- lvm: Fix leaking BDLVMPVdata.vg_uuid (tbzatek)
43bae90
- lvm: Use g_ptr_array_free() for creating lists (tbzatek)
43bae90
- lvm: Fix some obvious memory leaks (tbzatek)
43bae90
- Remove device-mapper-multipath dependency from fs and part plugins (vtrefny)
43bae90
- bd_fs_xfs_get_info: Allow passing error == NULL (tbzatek)
43bae90
- tests: Fix removing targetcli lun (vtrefny)
43bae90
- Use existing cryptsetup API for changing keyslot passphrase (vtrefny)
43bae90
- New function to get supported sector sizes for NVDIMM namespaces (vtrefny)
43bae90
- Allow skiping tests only based on architecture (vtrefny)
43bae90
- Sync spec file with python2 obsoletion added downstream (awilliam)
43bae90
- Sync spec with downstream (vtrefny)
43bae90
659642a
* Tue Apr 16 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.21-3
659642a
- Remove device-mapper-multipath dependency from fs and part plugins
659642a
46c87cc
* Thu Feb 28 2019 Adam Williamson <awilliam@redhat.com> - 2.21-2
46c87cc
- Obsolete the python2 subpackage if we're not building it
46c87cc
9171985
* Thu Feb 21 2019 Vojtech Trefny <vtrefny@redhat.com> - 2.21-1
9171985
- Fix checking swap status on lvm/md (vtrefny)
9171985
- tests: Stop skipping some tests on Debian testing (vtrefny)
9171985
- tests: Remove some old/irrelevant skips (vtrefny)
9171985
- Use 512bit keys in LUKS by default (vratislav.podzimek)
9171985
- Add 'autoconf-archive' to build requires (vtrefny)
9171985
- vagrant: remove F27 and add F29 (vtrefny)
9171985
- vagrant: install 'autoconf-archive' on Ubuntu (vtrefny)
9171985
- Enable cryptsetup debug messages when compiled using --enable-debug (vtrefny)
9171985
- lvm-dbus: Do not pass extra arguments enclosed in a tuple (vtrefny)
9171985
- crypto: Do not try to use keyring on systems without keyring support (vtrefny)
9171985
- Fix LUKS2 resize password test (vtrefny)
9171985
- Use cryptsetup to check LUKS2 label (vtrefny)
9171985
- Skip LUKS2+integrity test on systems without dm-integrity module (vtrefny)
9171985
- Add custom error message for wrong passphrase for open (vtrefny)
9171985
- Use major/minor macros from sys/sysmacros.h instead of linux/kdev_t.h (vtrefny)
9171985
- crypto_test.py: Use blkid instead of lsblk to check luks label (vtrefny)
9171985
- Skip VDO grow physical test (vtrefny)
9171985
- Add libblkid-devel as a build dependency for the swap plugin (vtrefny)
9171985
- Add error codes and Python exceptions for swapon fails (vtrefny)
9171985
- Use libblkid to check swap status before swapon (vtrefny)
9171985
- Add a new subpackage with the tool(s) (v.podzimek)
9171985
- Document what the 'tools' directory contains (v.podzimek)
9171985
- Make building tools optional (v.podzimek)
9171985
- Add a tool for getting cached LVM statistics (v.podzimek)
9171985
- Discard messages from libdevmapper in the LVM plugins (v.podzimek)
9171985
85dd9a9
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.20-3
85dd9a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
85dd9a9
7399f41
* Mon Oct 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.20-2
7399f41
- Use libblkid to check swap status before swapon (vtrefny)
7399f41
- Add error codes and Python exceptions for swapon fails (vtrefny)
7399f41
76aa48c
* Wed Sep 26 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.20-1
76aa48c
- Use unsafe caching for storage for devel/testing VMs (v.podzimek)
76aa48c
- Require newer version of cryptsetup for LUKS2 tests (vtrefny)
76aa48c
- Skip nvdimm tests on systems without ndctl (vtrefny)
76aa48c
- Add Ubuntu 18.04 VM configuration to the vagrant template (vtrefny)
76aa48c
- Add some missing test dependencies to the vagrant template (vtrefny)
76aa48c
- Fix how/where the bcache tests are skipped (v.podzimek)
76aa48c
- Document what the 'misc' directory contains (v.podzimek)
76aa48c
- Add a Vagrantfile template (v.podzimek)
76aa48c
- Fix the error message when deleting partition fails (vpodzime)
76aa48c
- Fix build of plugins by changing linking order (devurandom)
76aa48c
- Fix how we check zram stats from /sys/block/zram0/stat (vtrefny)
76aa48c
- lvm-dbus: Fix parsing extra arguments for LVM methods calls (vtrefny)
76aa48c
- Skip MDTestAddRemove on Debian (vtrefny)
76aa48c
- Skip NTFS mount test on Debian testing (vtrefny)
76aa48c
- Skip bcache tests on Debian testing (vtrefny)
76aa48c
- tests: Try harder to get distribution version (vtrefny)
76aa48c
- Mark the function stubs as static (v.podzimek)
76aa48c
- Build the dm plugin without dmraid support on newer RHEL (vtrefny)
76aa48c
- Fix skipping zram tests on Fedora 27 (vtrefny)
76aa48c
- kbd: Check for zram module availability in 'bd_kbd_is_tech_avail' (vtrefny)
76aa48c
- Always build the VDO plugin (vtrefny)
76aa48c
- Do not require 'dmraid' package if built without dmraid support (vtrefny)
76aa48c
- Fix licence header in dbus.c (vtrefny)
76aa48c
- Fix spacing in NEWS.rst (vtrefny)
76aa48c
ea92ee6
* Fri Aug 10 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.19-1
ea92ee6
- Use python interpreter explicitly when running boilerplate_generator.py (vtrefny)
ea92ee6
- vdo: Implement bd_vdo_get_stats() (tbzatek)
ea92ee6
- Add test for is_tech_available with multiple dependencies (vtrefny)
ea92ee6
- lvm-dbus.c: Check for 'lvmdbus' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
ea92ee6
- lvm.c: Check for 'lvm' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
ea92ee6
- Fix licence headers in sources (vtrefny)
ea92ee6
- Fix three memory leaks in lvm-dbus.c (vtrefny)
ea92ee6
- Ignore "bad-super-call" pylint warning in BlockDev.py (vtrefny)
ea92ee6
- Fix running pylint in tests (vtrefny)
ea92ee6
- Fix vdo configuration options definition in spec file (vtrefny)
ea92ee6
- Fix calling BlockDev.reinit in swap tests (vtrefny)
ea92ee6
- Fix how we check zram stats from /sys/block/zram0/mm_stat (vtrefny)
ea92ee6
- Skip VDO tests also when the 'kvdo' module is not available (vtrefny)
ea92ee6
- Add version to tests that should be skipped on CentOS/RHEL 7 (vtrefny)
ea92ee6
- Skip btrfs tests if btrfs module is not available (vtrefny)
ea92ee6
- Do not build KBD plugin with bcache support on RHEL (vtrefny)
ea92ee6
- Do not build btrfs plugin on newer RHEL (vtrefny)
ea92ee6
- fs: Properly close both ends of the pipe (tbzatek)
ea92ee6
- Make sure library_test works after fixing -Wstrict-prototypes (vtrefny)
ea92ee6
- Make sure library tests properly clean after themselves (vtrefny)
ea92ee6
- pkg-config: add -L${libdir} and -I${includedir} (max.kellermann)
ea92ee6
- plugins/kbd: make wait_for_file() static (max.kellermann)
ea92ee6
- plugins/lvm{,-dbus}: get_lv_type_from_flags() returns const string (max.kellermann)
ea92ee6
- plugins/dm: add explicit cast to work around -Wdiscarded-qualifiers (max.kellermann)
ea92ee6
- plugins/crypto: work around -Wdiscarded-qualifiers (max.kellermann)
ea92ee6
- plugins/check_deps: make all strings and `UtilDep` instances `const` (max.kellermann)
ea92ee6
- exec: make `msg` parameters const (max.kellermann)
ea92ee6
- fix -Wstrict-prototypes (max.kellermann)
ea92ee6
- module.c: Accept kernel modules if they are built-in (marco.guerri.dev)
ea92ee6
- BlockDev.py Convert dictionary keys to set before using them (vtrefny)
ea92ee6
- Skip 'test_cache_pool_create_remove' on CentOS 7 (vtrefny)
ea92ee6
- Re-order libbd_crypto_la_LIBADD to fix libtool issue (tom)
ea92ee6
- acinclude.m4: Use AS_EXIT to fail in LIBBLOCKDEV_FAILURES (vtrefny)
ea92ee6
- configure.ac: Fix missing parenthesis in blkid version check (vtrefny)
ea92ee6
- Allow specifying extra options for PBKDF when creating LUKS2 (vtrefny)
ea92ee6
- Reintroduce python2 support for Fedora 29 (vtrefny)
ea92ee6
- Use versioned command for Python 2 (vtrefny)
ea92ee6
- Fix few wrong names in doc strings (vtrefny)
ea92ee6
- Make sure all our free and copy functions work with NULL (vtrefny)
ea92ee6
- Use libblkid in bd_crypto_is_luks (vtrefny)
ea92ee6
- vdo: Properly destroy the yaml parser (tbzatek)
ea92ee6
- Add a simple test case for bd_crypto_tc_open (vtrefny)
ea92ee6
- Add Python override for bd_crypto_tc_open_full (vtrefny)
ea92ee6
- Show simple summary after configure (vtrefny)
ea92ee6
- Do not build VDO plugin on non-x86_64 architectures (vtrefny)
ea92ee6
- Sync spec with downstream (vtrefny)
ea92ee6
42b2991
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-4
42b2991
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
42b2991
188a34e
* Mon Jul 09 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.18-3
188a34e
- Reitroduce python2 support for Fedora 29
188a34e
cdc0d3f
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 2.18-2
cdc0d3f
- Rebuilt for Python 3.7
cdc0d3f
c1404f3
* Wed Jun 20 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.18-1
c1404f3
- Add VDO to features.rst (vtrefny)
c1404f3
- Remove roadmap.rst (vtrefny)
c1404f3
- vdo: Add tests for bd_vdo_grow_physical() (tbzatek)
c1404f3
- Do not try to build VDO plugin on Fedora (vtrefny)
c1404f3
- Introduce reporting function per thread (kailueke)
c1404f3
- vdo: Implement bd_vdo_grow_physical() (tbzatek)
c1404f3
- Correct arguments for ext4 repair with progress (kailueke)
c1404f3
- Clarify that checking an RW-mounted XFS file system is impossible (v.podzimek)
c1404f3
- vdo: Resolve real device file path (tbzatek)
c1404f3
- Adjust to new NVDIMM namespace modes (vtrefny)
c1404f3
- Use xfs_repair instead of xfs_db in bd_fs_xfs_check() (v.podzimek)
c1404f3
- Allow compiling libblockdev without libdmraid (vtrefny)
c1404f3
- Only require plugins we really need in LVM dbus tests (vtrefny)
c1404f3
- Add tests for VDO plugin (vtrefny)
c1404f3
- Add decimal units definition to utils/sizes.h (vtrefny)
c1404f3
- Add basic VDO plugin functionality (vtrefny)
c1404f3
- Add the VDO plugin (vtrefny)
c1404f3
- Always check for error when (un)mounting (vtrefny)
c1404f3
- Fix off-by-one error when counting TCRYPT keyfiles (segfault)
c1404f3
- Add 'bd_dm_is_tech_avail' to header file (vtrefny)
c1404f3
- Fix release number in NEWS.rst (vtrefny)
c1404f3
- Update specs.rst and features.rst (vtrefny)
c1404f3
16e1ffc
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 2.17-2
16e1ffc
- Rebuilt for Python 3.7
16e1ffc
a0d34fd
* Tue Apr 24 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.17-1
a0d34fd
- Redirect cryptsetup log to libblockdev log (vtrefny)
a0d34fd
- Add a generic logging function for libblockdev (vtrefny)
a0d34fd
- Add functions to resize LUKS 2 (vtrefny)
a0d34fd
- Add function to get information about LUKS 2 integrity devices (vtrefny)
a0d34fd
- Add function to get information about a LUKS device (vtrefny)
a0d34fd
- Add a basic test for creating LUKS 2 format (vtrefny)
a0d34fd
- Use libblockdev function to create LUKS 2 in tests (vtrefny)
a0d34fd
- Add support for creating LUKS 2 format (vtrefny)
a0d34fd
- Skip bcache tests on Rawhide (vtrefny)
a0d34fd
- Allow building libblockdev without Python 2 support (vtrefny)
a0d34fd
- Allow compiling libblockdev crypto plugin without escrow support (vtrefny)
a0d34fd
- Require at least libndctl 58.4 (vtrefny)
a0d34fd
- New function for luks metadata size (japokorn)
a0d34fd
- Add functions to backup and restore LUKS header (vtrefny)
a0d34fd
- Add function for killing keyslot on a LUKS device (vtrefny)
a0d34fd
- Add functions to suspend and resume a LUKS device (vtrefny)
a0d34fd
- Use '=' instead of '==' to compare using 'test' (v.podzimek)
a0d34fd
- lvm-dbus: Check returned job object for error (vtrefny)
a0d34fd
- Get sector size for non-block NVDIMM namespaces too (vtrefny)
a0d34fd
- Fix memory leaks discovered by clang (vtrefny)
a0d34fd
- Add new functions to docs/libblockdev-sections.txt (segfault)
a0d34fd
- Make a link point to the relevant section (segfault)
a0d34fd
- Don't use VeraCrypt PIM if compiled against libcryptsetup < 2.0 (segfault)
a0d34fd
- Make keyfiles parameter to bd_crypto_tc_open_full zero terminated (segfault)
a0d34fd
- Add function bd_crypto_device_seems_encrypted (segfault)
a0d34fd
- Support VeraCrypt PIM (segfault)
a0d34fd
- Support TCRYPT system volumes (segfault)
a0d34fd
- Support TCRYPT hidden containers (segfault)
a0d34fd
- Support TCRYPT keyfiles (segfault)
a0d34fd
- Support unlocking VeraCrypt volumes (segfault)
a0d34fd
- Enforce ZERO_INIT gcc backwards compatibility (bjornpagen)
a0d34fd
- Add function for getting NVDIMM namespace name from devname or path (vtrefny)
a0d34fd
- Add --without-xyz to DISTCHECK_CONFIGURE_FLAGS for disabled plugins (vtrefny)
a0d34fd
- Add tests for the NVDIMM plugin (vtrefny)
a0d34fd
- Add the NVDIMM plugin (vtrefny)
a0d34fd
- Fix build with clang (bjornpagen)
a0d34fd
- s390: don't hardcode paths, search PATH (flokli)
a0d34fd
- Fix build against musl libc (bjornpagen)
a0d34fd
- Fix python2-gobject-base dependency on Fedora 26 and older (vtrefny)
a0d34fd
- Sync the spec file with downstream (vtrefny)
a0d34fd
d93bec5
* Wed Apr 11 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.16-3
d93bec5
- Add the NVDIMM plugin (vtrefny)
d93bec5
- Add tests for the NVDIMM plugin (vtrefny)
d93bec5
- Add --without-xyz to DISTCHECK_CONFIGURE_FLAGS for disabled plugins (vtrefny)
d93bec5
- Add function for getting NVDIMM namespace name from devname or path (vtrefny)
d93bec5
5884541
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.16-2
5884541
- Escape macros in %%changelog
5884541
7748ef9
* Thu Feb 08 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.16-1
7748ef9
- Add tests for progress report (jtulak)
7748ef9
- Add e2fsck progress (jtulak)
7748ef9
- Add progress reporting infrastructure for Ext fsck (jtulak)
7748ef9
- Add a function to test if prog. reporting was initialized (jtulak)
7748ef9
- Add support for LUKS 2 opening and key management (vtrefny)
7748ef9
- Fix few more links for project and documentation website (vtrefny)
7748ef9
- Sync the spec file with downstream (vpodzime)
7748ef9
- Check if 'journalctl' is available before trying to use it in tests (vtrefny)
7748ef9
- Update 'Testing libblockdev' section in documentation (vtrefny)
7748ef9
- Fix link to online documentation (vtrefny)
7748ef9
- Fix how the new kernel module functions are added to docs (vpodzime)
7748ef9
e3be480
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.15-4
e3be480
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e3be480
3f6e0e9
* Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.15-3
3f6e0e9
- Update Python 2 dependency declarations to new packaging standards
3f6e0e9
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
3f6e0e9
531eaa3
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15-2
531eaa3
- Switch to %%ldconfig_scriptlets
531eaa3
50d11e9
* Fri Dec 01 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.15-1
50d11e9
- Do not use the 'btrfs' plugin in overrides tests (vpodzime)
50d11e9
- Do not use the btrfs plugin in library tests (vpodzime)
50d11e9
- Check for btrfs module availability in btrfs module (vtrefny)
50d11e9
- Move kernel modules (un)loading and checking into utils (vtrefny)
50d11e9
- Free locale struct in kbd plugin (vtrefny)
50d11e9
- Add test for setting partition flags on GPT (vtrefny)
50d11e9
- Use only sgdisk to set flags on GPT (vtrefny)
50d11e9
- Move the fs.h file to its original place (vpodzime)
50d11e9
- Add a HACKING.rst file (vpodzime)
50d11e9
- Mark bcache tests as unstable (vpodzime)
50d11e9
- Fix memory leaks in bd_fs_vfat_get_info() (vpodzime)
50d11e9
- Revert the behaviour of bd_fs_check_deps() (vpodzime)
50d11e9
- Split the bd_fs_is_tech_avail() implementation (vpodzime)
50d11e9
- Split the FS plugin source into multiple files (vpodzime)
50d11e9
- Fix bd_s390_dasd_format (vponcova)
50d11e9
- Mark unstable tests as such (vpodzime)
50d11e9
- bd_s390_dasd_is_ldl should be true only for LDL DADSs (vponcova)
50d11e9
- Do not lie about tag creation (vpodzime)
50d11e9
a632712
* Wed Nov 08 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.14-2
a632712
- Rebuild for cryptsetup-2.0.0
a632712
1cd3ec5
* Tue Oct 31 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.14-1
1cd3ec5
- Support the legacy boot GPT flag (intrigeri)
1cd3ec5
- Respect the version in the blockdev.pc file (vpodzime)
1cd3ec5
- Add pkgconfig definitions for the utils library (vpodzime)
1cd3ec5
- fs.c: Fix potential NULL pointer dereference (vtrefny)
1cd3ec5
- dm.c: Fix uninitialized values in various dm plugin functions (vtrefny)
1cd3ec5
- dm.c: Check return values of dm_task_set_name/run/get_info functions (vtrefny)
1cd3ec5
- fs.c: Fix multiple "forward NULL" warnings in 'bd_fs_ntfs_get_info' (vtrefny)
1cd3ec5
- lvm-dbus.c: Fix multiple "use after free" coverity warnings (vtrefny)
1cd3ec5
- Fix duplicate 'const' in generated functions (vtrefny)
1cd3ec5
- Add some test cases for NTFS (kailueke)
1cd3ec5
- Add function wrappers for NTFS tools (kailueke)
1cd3ec5
- exec.c: Fix error message in 'bd_utils_exec_and_report_progress' (vtrefny)
1cd3ec5
- crypto.c: Fix waiting for enough entropy (vtrefny)
1cd3ec5
- Ignore some coverity false positive errors (vtrefny)
1cd3ec5
- exec.c: Ignore errors from 'g_io_channel_shutdown' (vtrefny)
1cd3ec5
- part.c: Check if we've found a place to put new logical partitions (vtrefny)
1cd3ec5
- kbd.c: Fix potential string overflow in 'bd_kbd_bcache_create' (vtrefny)
1cd3ec5
- exec.c: Fix resource leaks in 'bd_utils_exec_and_report_progress' (vtrefny)
1cd3ec5
- fs.c: Fix "forward null" in 'do_mount' and 'bd_fs_xfs_get_info' (vtrefny)
1cd3ec5
- part.c: Fix possible NULL pointer dereference (vtrefny)
1cd3ec5
- crypto.c: Use right key buffer in 'bd_crypto_luks_add_key' (vtrefny)
1cd3ec5
- exec.c: Fix "use after free" in 'bd_utils_check_util_version' (vtrefny)
1cd3ec5
- kbd.c: Fix double free in 'bd_kbd_zram_get_stats' (vtrefny)
1cd3ec5
- part.c: Check if file discriptor is >= 0 before closing it (vtrefny)
1cd3ec5
- mdraid.c: Fix resource leaks (vtrefny)
1cd3ec5
- lvm.c: Fix "use after free" in 'bd_lvm_get_thpool_meta_size' (vtrefny)
1cd3ec5
- fs.c: Fix for loop condition in 'bd_fs_get_fstype' (vtrefny)
1cd3ec5
- fs.c: Check sscanf return value in 'bd_fs_vfat_get_info' (vtrefny)
1cd3ec5
- fs.c: Fix resource leaks in 'bd_fs_get_fstype' (vtrefny)
1cd3ec5
- blockdev.c.in: Fix unused variables (vtrefny)
1cd3ec5
- Use libbytesize to parse bcache block size (vtrefny)
1cd3ec5
- Use system values in KbdTestBcacheStatusTest (vtrefny)
1cd3ec5
- Fix BSSize memory leaks in btrfs and mdraid plugins (vtrefny)
1cd3ec5
- Skip btrfs subvolume tests with btrfs-progs 4.13.2 (vtrefny)
1cd3ec5
- Added function to get DM device subsystem (japokorn)
1cd3ec5
- Sync spec with downstream (vpodzime)
1cd3ec5
ecaa980
* Fri Sep 29 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.13-1
ecaa980
- Fix the rpmlog and shortlog targets (vpodzime)
ecaa980
- Add a function for enabling/disabling plugins' init checks (vpodzime)
ecaa980
- Assign functions to tech-mode categories (vpodzime)
ecaa980
- Add missing items to particular sections in the documentation (vpodzime)
ecaa980
- Add a basic test for the runtime dependency checking (vpodzime)
ecaa980
- Simplify what WITH_BD_BCACHE changes in the KBD plugin (vpodzime)
ecaa980
- Add functions for querying available technologies (vpodzime)
ecaa980
- Dynamically check for the required utilities (vpodzime)
ecaa980
- Use shorter prefix for tempfiles (vtrefny)
ecaa980
- Try harder when waiting for lio device to show up (vtrefny)
ecaa980
- Better handle old and new zram sysfs api in tests (vtrefny)
ecaa980
- Skip btrfs tests on CentOS 7 aarch64 (vtrefny)
ecaa980
- Add new function for setting swap label (vtrefny)
ecaa980
- Use only one git tag for new releases (vtrefny)
ecaa980
- Fix source URL in spec file (vtrefny)
ecaa980
- Add NEWS.rst file (vtrefny)
ecaa980
- Do not include s390utils/vtoc.h in s390 plugin (vtrefny)
ecaa980
- Use "AC_CANONICAL_BUILD" to check architecture instead of "uname" (vtrefny)
ecaa980
- Bypass error proxy in s390 test (vtrefny)
ecaa980
- Fix zFCP LUN max length (vtrefny)
ecaa980
- Do not run g_clear_error after setting it (vtrefny)
ecaa980
- Allow compiling libblockdev without s390 plugin (vtrefny)
ecaa980
- Add a function for getting plugin name (vpodzime)
ecaa980
a90f9c6
* Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 2.12-3
a90f9c6
- Cleanup spec file conditionals correctly
a90f9c6
e995046
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.12-2
e995046
- Cleanup spec file conditionals
e995046
e2a4a02
* Wed Aug 30 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-1
e2a4a02
- Own directories /etc/libblockdev and /etc/libblockdev/conf.d (vtrefny)
e2a4a02
- Wait for resized partition (kailueke)
e2a4a02
- Make sure the device is opened for libparted (vpodzime)
e2a4a02
- Fix label check in swap_test (vtrefny)
e2a4a02
- Use "run_tests" script for running tests from Makefile (vtrefny)
e2a4a02
- Add a script for running tests (vtrefny)
e2a4a02
- Tests: Move library initialization to setUpClass method (vtrefny)
e2a4a02
- Stop skipping FAT resize tests on rawhide (vtrefny)
e2a4a02
- Close filesystem before closing the partition during FAT resize (vtrefny)
e2a4a02
- Use mountpoint for "xfs_info" calls (vtrefny)
e2a4a02
- Use libmount cache when parsing /proc/mounts (vtrefny)
e2a4a02
- Add some space for the CI status (vpodzime)
e2a4a02
- Confirm the force when creating PVs in FS tests (vpodzime)
e2a4a02
- Skip vgremove tests on 32bit Debian (vtrefny)
e2a4a02
- Fix names of backing files in tests (vtrefny)
e2a4a02
-  Fix checking for available locales (vtrefny)
e2a4a02
- Skip dependency checking in mpath tests on Debian (vtrefny)
e2a4a02
- Skip zRAM tests on Debian (vtrefny)
e2a4a02
- Skip the test for device escrow on Debian too (vtrefny)
e2a4a02
- Skip free region tests on Debian too (vtrefny)
e2a4a02
- Fix redirecting command output to /dev/null in tests (vtrefny)
e2a4a02
- Try harder to unmount devices in test cleanup (vtrefny)
e2a4a02
- Require only plugins that are needed for given test (vtrefny)
e2a4a02
- Try to get distribution info from "PrettyName" if "CPEName" isn't available (vtrefny)
e2a4a02
- Use -ff when creating PVs in FS tests (vpodzime)
e2a4a02
- Sync spec with downstream (vpodzime)
e2a4a02
df55e8e
* Mon Jul 31 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.11-1
df55e8e
- Make the KbdZRAMDevicesTestCase inherit from KbdZRAMTestCase (vpodzime)
df55e8e
- Allow non-source directory builds (kailueke)
df55e8e
- Add a way to disable runtime dependency checks (vpodzime)
df55e8e
- Link to GObject even if no plugin is activated (kailueke)
df55e8e
- Skip zram tests on Rawhide (vpodzime)
df55e8e
- Keep most utilities available for tests (vpodzime)
df55e8e
- Use new libmount function to get (un)mount error message (vtrefny)
df55e8e
- Update the documentation URL (vpodzime)
df55e8e
4d45adf
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.10-2
4d45adf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
4d45adf
05f68dd
* Wed Jul 05 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.10-1
05f68dd
- Only enable partition size tolerance with alignment (vpodzime)
05f68dd
- Limit the requested partition size to maximum possible (vpodzime)
05f68dd
- Do not verify vfat FS' size after generic resize (vpodzime)
05f68dd
- Specify tolerance for partition size (kailueke)
05f68dd
- Only use the exact constraint if not using any other (vpodzime)
05f68dd
- Check resulting FS size in tests for generic FS resize (vpodzime)
05f68dd
- Query setting FS label support and generic relabeling (kailueke)
05f68dd
- Do not strictly require all FS utilities (vpodzime)
05f68dd
- Compile everything with the C99 standard (vpodzime)
05f68dd
- Add partition resize function (kailueke)
05f68dd
- Generic Check and Repair Functions (kailueke)
05f68dd
- Query functions for FS resize and repair support (kailueke)
05f68dd
- Update the project/source URL in the spec file (vpodzime)
05f68dd
- Add functions for opening/closing TrueCrypt/VeraCrypt volumes (vpodzime)
05f68dd
- Adapt to a change in behaviour in new libmount (vpodzime)
05f68dd
- Try RO mount also if we get EACCES (vpodzime)
05f68dd
- Size in bytes for xfs_resize_device (kailueke)
05f68dd
- src/plugins/Makefile.am: Remove hard coded include path in /usr prefix (tristan.vanberkom)
05f68dd
- Fixed include for libvolume_key.h (tristan.vanberkom)
05f68dd
- Ignore parted warnings if possible (squimrel)
05f68dd
- bcache tests: Remove FEELINGLUCKY checks (tasleson)
05f68dd
- kbd.c: Code review corrections (tasleson)
05f68dd
- kbd.c: Make bd_kbd_bcache_create work without abort (tasleson)
05f68dd
9f9f7e2
* Tue Jun 13 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.9-1
9f9f7e2
- Fix hardcoded reference to gcc (timo.gurr)
9f9f7e2
- Catch and ignore partial failures in LVM tests' cleanups (vpodzime)
9f9f7e2
- Fix hardcoded reference to pkg-config (timo.gurr)
9f9f7e2
- Make GObject introspection optional (vpodzime)
9f9f7e2
- Do not link libraries required by plugins to the GI files (vpodzime)
9f9f7e2
- Make sure the whole build status image is shown (vpodzime)
9f9f7e2
- Show CI status in README (at the GH repo's front page) (vpodzime)
9f9f7e2
- Always require the libudev pkg (tgurr)
9f9f7e2
- Make sure we give kernel time to fully setup zram device(s) (vpodzime)
9f9f7e2
- fs_test.py: Close FDs when calling utilities (tasleson)
9f9f7e2
- crypto.c: Correct segmentation fault (tasleson)
9f9f7e2
6051fa6
* Tue Jun 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.8-1
6051fa6
- Temporarily skip vfat generic resize test on rawhide (vtrefny)
6051fa6
- Use "safeprobe" in "bd_fs_wipe" (vtrefny)
6051fa6
- Add a generic filesystem resize function (vtrefny)
6051fa6
- Add a function to get mountpoint for a device (vtrefny)
6051fa6
- Add a function to get filesystem type for a device (vtrefny)
6051fa6
- Only include the LVM DBus config when shipping LVM DBus (vpodzime)
6051fa6
- Skip the LVM DBus vgreduce tests on Rawhide (vpodzime)
6051fa6
- Do not build the lvm-dbus plugin on RHEL/CentOS (vpodzime)
6051fa6
- Give zRAM more time to settle before trying to remove a device (vpodzime)
6051fa6
- Put zram tests adding/removing devices into a separate class (vpodzime)
6051fa6
- Skip LVM cache and RAID tests on Rawhide (vpodzime)
6051fa6
- Fix the skip_on decorator factory for tests (vpodzime)
6051fa6
- Use 'blkid -p' instead of lsblk to get device's FS type (vpodzime)
6051fa6
- Improve the lvm_set_global_config test (vpodzime)
6051fa6
- Pass '-y' to pvresize (vpodzime)
6051fa6
- Create a copy of os.environ for a child process (vpodzime)
6051fa6
- Revert "Use the "C.UTF-8" locale instead of just "C"" (vpodzime)
6051fa6
- Fix how we create vfat FS in tests (vpodzime)
6051fa6
- Skip the test if requiring unavailable locales (vpodzime)
6051fa6
- Use the "C.UTF-8" locale instead of just "C" (vpodzime)
6051fa6
- Add functions for working with ext2 and ext3 filesystems (vtrefny)
6051fa6
- Link to gobject when lvm or btrfs is enabled (andreas)
6051fa6
- Link to libm where needed (andreas)
6051fa6
- Add a function for cleaning a device (vtrefny)
6051fa6
- Add few code exaples to documentation (vtrefny)
6051fa6
- Use a special exception for no fs signature when doing wipe (vpodzime)
6051fa6
- One more incompatible os.symlink() call (vpodzime)
6051fa6
- Do not use pass-by-name in the os.symlink() call (vpodzime)
6051fa6
- Ignore previous errors when falling back to using ioctl() (vpodzime)
6051fa6
- Use ioctl() call to teardown loop devices (vpodzime)
6051fa6
- Resolve the device to remove for mdadm (vpodzime)
6051fa6
- Add a function for getting device symlinks (vpodzime)
6051fa6
- Use the new resolve_device() function where appropriate (vpodzime)
6051fa6
- Add the resolve_device() function to the utils library (vpodzime)
6051fa6
- First try to read the 'autoclear' flag from /sys/ (vpodzime)
6051fa6
7b8a07d
* Wed Apr 26 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.7-1
7b8a07d
- Skip btrfs min size tests on Fedora 25 (vtrefny)
7b8a07d
- Make sure the loop device doesn't disappear during tests (vpodzime)
7b8a07d
- Close the loop device when autoclear is (un)set (vpodzime)
7b8a07d
- Do not enforce Python 3 for running tests in CI (vpodzime)
7b8a07d
- Revert "Use different BTRFS_MIN_MEMBER_SIZE on aarch64" (vtrefny)
7b8a07d
- Use both 'old' and 'new' sysfs files to read zRAM stats (vtrefny)
7b8a07d
- Check if libparted-fs-resize pkgconfig is available (vpodzime)
7b8a07d
- Do not try to get name for inactive partitions (vtrefny)
7b8a07d
- Skip tests for getting free regions on CentOS/RHEL (vpodzime)
7b8a07d
- Free the container holding the specs of free regions (vpodzime)
7b8a07d
- Open loop devices as O_RDONLY when getting flags (vpodzime)
7b8a07d
- Resolve maximum partition size when we know its start (vpodzime)
7b8a07d
- Use --id instead of --part-type when setting partition id (vpodzime)
7b8a07d
- Fix mdadm command for removing failed device from an array (vtrefny)
7b8a07d
- Skip bcache tests on CentOS/RHEL 7 (vpodzime)
7b8a07d
- Use six.assertRaisesRegex in the FS tests (vpodzime)
7b8a07d
- Use mkdtemp() instead of TemporaryDirectory() (vpodzime)
7b8a07d
- Fix installation without specifying --exec-prefix (vpodzime)
7b8a07d
- Add options to force mkfs.ext4/vfat to create a FS on the whole device (vpodzime)
7b8a07d
- Skip the test for device escrow on CentOS/RHEL (vpodzime)
7b8a07d
- Define DEVNULL on our own if not in subprocess (vpodzime)
7b8a07d
- Remove the patches from the spec file (vpodzime)
7b8a07d
- Sync the spec file with downstream (vpodzime)
7b8a07d
- Stop skipping zRAM stats tests (vtrefny)
7b8a07d
- Add more tests for zRAM stats (vtrefny)
7b8a07d
- Fix reading zRAM properties from sysfs (vtrefny)
7b8a07d
a41ab57
* Wed Apr 12 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-3
a41ab57
- Do not try to parse 'raid_spec' for 'bd_md_activate' (vtrefny)
a41ab57
  Resolves: rhbz#1439111
a41ab57
c29e6ca
* Tue Apr 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-2
c29e6ca
- Make sure the returned thpool MD size is valid (vpodzime)
c29e6ca
cbbcca7
* Wed Mar 15 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.6-1
cbbcca7
- Move the  part_err library before part and fs (vtrefny)
cbbcca7
- Fix BuildRequires for crypto and dm packages (vtrefny)
cbbcca7
- Fix mounting read-only devices (vtrefny)
cbbcca7
- Fix the bd_s390_dasd_is_ldl function. (vponcova)
cbbcca7
- Add the bd_s390_dasd_is_fba function to check if DASD is FBA (vponcova)
cbbcca7
- Disable MD RAID tests on 32bit systems (vpodzime)
cbbcca7
- Fix error message when mounting with a wrong fs type (vtrefny)
cbbcca7
- Only create RPMs for requested/configured  plugins (vpodzime)
cbbcca7
- Only check dependencies of plugins to be built (vpodzime)
cbbcca7
- Only build and distribute plugins if configured so (vpodzime)
cbbcca7
- Fix format-security and unused-result compiler warnings (vtrefny)
cbbcca7
- Add an AC macro for modular builds (vpodzime)
cbbcca7
- Add functions for mounting and unmounting filesystems (vtrefny)
cbbcca7
da017d9
* Mon Mar 06 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.5-1
da017d9
- Do not try to get GVariant after not adding anything to its builder (vpodzime)
da017d9
- Replace NULL with "" when building ExtraArg (vpodzime)
da017d9
- Replace NULL with "" when adding it as a 's' GVariant (vpodzime)
da017d9
- Make sure we don't try to add NULL as GVariant to DBus params (vpodzime)
da017d9
- Add function for getting recommended thpool metadata size (vpodzime)
da017d9
- Make udev settle after we create a LIO device (vpodzime)
da017d9
- Always use '--yes' for lvremove (vpodzime)
da017d9
a6ad82a
* Tue Feb 21 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.4-1
a6ad82a
- Update specs.rst to use present-tense and current API (agrover)
a6ad82a
- Add functions using BLOBs as LUKS passphrases (vpodzime)
a6ad82a
- Make sure the _error_quark() functions are in the library (vtrefny)
a6ad82a
- Return a special error when trying to wipe empty device (vtrefny)
a6ad82a
- Adapt tests to use LIO devices instead of loop devices (vpodzime)
a6ad82a
- Add functions for creating and deleting LIO devices (vpodzime)
a6ad82a
- MDRAID: Allow path as input for functions that work with sysfs (vtrefny)
a6ad82a
dfb4b0f
* Wed Feb 15 2017 Vratislav Podzimek <vtrefny@redhat.com> - 2.3-3
dfb4b0f
- Rebuild with changelog fixed up
dfb4b0f
2b69a07
* Tue Feb 14 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.3-1
2b69a07
- Allow specifying raid 'name' in multiple way when calling md functions (vtrefny)
2b69a07
- Allow using both path and raid name in bd_md_set_bitmap_location (vtrefny)
2b69a07
- Fix potential memory issues in s390 sanitizate functions (vpodzime)
2b69a07
- Try multiple times when probing device for wiping (vpodzime)
2b69a07
- Check for libvolume_key.h and dmraid.h in configure.ac (vpodzime)
2b69a07
- Define our own macro for testing required header files (vpodzime)
2b69a07
- Include blockdev/utils.h in mdraid.h (vtrefny)
2b69a07
- Fix misspelling (agrover)
2b69a07
- Skip the bcache tests even on x86_64 (vpodzime)
2b69a07
- Take a break between bcache creation tests (vpodzime)
2b69a07
- Make sure ./configure fails if there are some soft failures (vpodzime)
2b69a07
- Improve the error message on missing GI support (vpodzime)
2b69a07
- Only require bcache-tools if supporting bcache (vpodzime)
2b69a07
- Skip bcache tests on non-x86_64 architectures (vpodzime)
2b69a07
- Try harder to register a new bcache device (vpodzime)
2b69a07
- Reimplement swapon/swapoff functions by using syscalls (vpodzime)
2b69a07
- Make sure bcache functions are correctly provided or not (vpodzime)
2b69a07
- Changelog fixup (vpodzime)
2b69a07
0bebfef
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2-3
0bebfef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
0bebfef
f865036
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-2
f865036
- Rebuild with changelog fixed up
f865036
8277b5d
* Wed Jan 11 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.2-1
8277b5d
- Use the .in file as source when bumping version (vpodzime)
8277b5d
- Run pylint based on the python version and make it optional (vpodzime)
8277b5d
- Disable python3 and bcache on RHEL (vpodzime)
8277b5d
- Make bcache support optional (vpodzime)
8277b5d
- Teach boileplate_generator.py to skip things based on patterns (vpodzime)
8277b5d
- Require lower versions of some utilities (vpodzime)
8277b5d
- Do not require python3 for the boilerplate generation script (vpodzime)
8277b5d
- Use a proper initialization value for 'GPollFD fds[2]' (vpodzime)
8277b5d
- Deal with older parted and libblkid (vpodzime)
8277b5d
- Make python3 and gtk-doc optional (vpodzime)
8277b5d
- Bump the version of the utils library (vpodzime)
8277b5d
- Fix docstring for 'bd_md_node_from_name' (vtrefny)
8277b5d
- Add tests for added mdraid methods (vtrefny)
8277b5d
- Skip 'MDTestNominateDenominateActive' unless feeling lucky (vtrefny)
8277b5d
- MDRaid tests: change 'wait_for_resync' to wait for given action (vtrefny)
8277b5d
- Add functionality need by storaged to mdraid plugin (vtrefny)
8277b5d
- Move 'echo_str_to_file' method to utils (vtrefny)
8277b5d
- Add a function to setup a loop device from a file descriptor (vpodzime)
8277b5d
- Add functions to get/set the autoclear flag on a loop device (vpodzime)
8277b5d
- Fix checking /proc/mdstat for resync action (vtrefny)
8277b5d
- Adapt the test config files to version 2.x (vpodzime)
3b6c0e9
f865036
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.1-3
f865036
- Rebuild for Python 3.6
f865036
f865036
* Tue Nov 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-2
f865036
- Rebuild for a chain-build with storaged (vpodzime)
f865036
07ec7ae
* Thu Nov 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 2.1-1
07ec7ae
- Do not require an exclusive lock on the device to commit part stuff (vpodzime)
07ec7ae
- Prevent failure if there are no btrfs subvolumes (vpodzime)
07ec7ae
- Fix the test for getting version of a failing utility (vpodzime)
07ec7ae
- Also run the utils tests (vpodzime)
07ec7ae
- Bump the version of the pkgconfig module (vpodzime)
07ec7ae
- Include utils.h in plugins that need it (vpodzime)
07ec7ae
- Fix dependency check in fs plugin (vtrefny)
07ec7ae
- Add support for setting part id (part type) on msdos part tables (vtrefny)
07ec7ae
- Trim the extra info for MD RAID's name (vpodzime)
07ec7ae
- Add xfsprogs and dosfstools as dependencies of the fs plugin (vpodzime)
07ec7ae
- Fix md_name_from_node to work with the "/dev/" prefix (vpodzime)
8277b5d
- New major upstream release
f5e2c15
f865036
* Wed Nov  9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-8
f865036
- Revert "Prevent issues between libparted and udev" (vpodzime)
f865036
- Revert "Open the device file as RDWR when committing parts" (vpodzime)
f865036
d4b36b4
* Thu Oct 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-7
d4b36b4
- Open the device file as RDWR when committing parts (vpodzime)
d4b36b4
- Handle mdadm --examine output during migration (adamw)
d4b36b4
  Resolves: rhbz#1381996
d4b36b4
9463583
* Mon Oct 24 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-6
9463583
- Prevent issues between libparted and udev (vpodzime)
9463583
f35c182
* Mon Oct 10 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-5
f35c182
- Make sure all object paths are passed and extracted as such (vpodzime)
f35c182
  Resolves: rhbz#1374973
f35c182
420d803
* Tue Oct  4 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-4
420d803
- Do not report volume name for FW RAID container device (vpodzime)
420d803
  Related: rhbz#1379865
420d803
- Search for just "UUID" in mdadm --examine output (vpodzime)
420d803
  Related: rhbz#1379865
420d803
- Use 'mdadm --examine --export' to get MD RAID level (vpodzime)
420d803
  Related: rhbz#1379865
420d803
bf9216e
* Mon Oct  3 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-3
bf9216e
- Try to search for "RAID Level" in mdadm's output (vpodzime)
bf9216e
  Resolves: rhbz#1379865
bf9216e
- Fix the number passed to LVM DBus as a job-creation timeout (vpodzime)
bf9216e
  Resolves: rhbz#1378970
bf9216e
eb29bb4
* Mon Aug 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-2
eb29bb4
- Explicitly cast number constants for GVariants (vpodzime)
eb29bb4
626044f
* Wed Jul 27 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.9-1
626044f
- Add functions for creating thin/cache pools from existing LVs (vpodzime)
626044f
- Add the new mpath_get_members() function to the docs (vpodzime)
626044f
5cebf33
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8-2
5cebf33
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
5cebf33
690bc5a
* Wed Jun 29 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.8-1
690bc5a
- Add a function to get all mpath member devices (vpodzime)
690bc5a
- Fix backport issues in the zfcp-related functionality (#1348442) (vpodzime)
690bc5a
- Revert "Fix a few const params in the s390 plugin." (vpodzime)
690bc5a
- Fix creation of the version-only tags (vpodzime)
690bc5a
5573c28
* Wed Jun 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.7-1
5573c28
- Include the LV roles in the LVdata (vpodzime)
5573c28
- Add a few missing items to the documentation (vpodzime)
5573c28
- Document fields of the structures (vpodzime)
5573c28
- Report (meta)data LV name properly for cache pools in lvm-dbus (vpodzime)
5573c28
- Add information about related LVs to LVMLVdata (vpodzime)
5573c28
- Remove unused code for getting supported functions (vpodzime)
5573c28
- Add zFCP functionality to s390 plugin (sbueno+anaconda)
5573c28
- Fix a few const params in the s390 plugin. (sbueno+anaconda)
5573c28
b657309
* Wed Jun 01 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.6-1
b657309
- Ignore merge commits when creating changelog (vpodzime)
5884541
- Only take the number of the first %%changelog line found (vpodzime)
b657309
- Add some more detailed description to the part plugin (vpodzime)
b657309
- Fix a few extra issues with the const types (vpodzime)
b657309
- Add function for getting best free region (vpodzime)
b657309
- Add function for getting free regions (vpodzime)
b657309
- Fix the error message when setting part flag fails (vpodzime)
b657309
- Add function for setting disk flags (vpodzime)
b657309
- Add function for getting information about disk(s) (vpodzime)
b657309
- Do not set nonsense partition paths (vpodzime)
b657309
- Add function for getting partition by position (vpodzime)
b657309
- Indicate if there was error from parted or not in set_parted_error() (vpodzime)
b657309
- Minor fixes for the bd_part_get_part_spec() function (vpodzime)
b657309
- Add support for extra GPT flags (vpodzime)
b657309
- Add functionality for partition types (GUIDs) (vpodzime)
b657309
- Add functionality for partition names (vpodzime)
b657309
- Do not destroy disk objects we didn't get (vpodzime)
b657309
- Add a function for setting multiple partition flags at once (vpodzime)
b657309
- Remove the unused definition USE_PYTHON3 from configure.ac (vpodzime)
b657309
- Use different BTRFS_MIN_MEMBER_SIZE on aarch64 (vpodzime)
b657309
- Better release memory from parted objects on failures (vpodzime)
b657309
- Rework how we do optimal alignment (vpodzime)
b657309
- Do not try to destroy object we didn't get (vpodzime)
b657309
- Don't pass sizes in bytes to LVM (#1317373) (vpodzime)
b657309
- Add the libbytesize-devel build requires (vpodzime)
b657309
- Search for the LVM DBus service in both active and activatable names (vpodzime)
b657309
- Adapt to another stupid change in btrfs-progs (vpodzime)
b657309
- Add the XFS-related functions to the documentation (vpodzime)
b657309
- Add tests for the XFS-related functions (vpodzime)
b657309
- Add support for the XFS file system to the FS plugin (vpodzime)
b657309
- Add chunk_size to BDMDExamineData (vtrefny)
b657309
- Add the subpackage for the FS plugin (vpodzime)
b657309
- Add the FS plugin to the docs (vpodzime)
b657309
- Add tests for the ext4 functionality in the fs plugin (vpodzime)
b657309
- Add the FS plugin and the ext4 support (vpodzime)
b657309
- Add a function for running utility reporting error and exit code (vpodzime)
b657309
- Add the subpackage for the part plugin (vpodzime)
b657309
- Add a missing BuildRequires for parted-devel (vpodzime)
b657309
- Tag as both libblockdev-$version and just $version (vpodzime)
b657309
- Add the 'part' plugin to documentation (vpodzime)
b657309
- Add tests for the newly added part plugin (vpodzime)
b657309
- Add the part plugin with storaged-required functionality (vpodzime)
b657309
46063a3
* Mon Mar 21 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.5-1
46063a3
- Merge pull request #72 from vpodzime/master-faster_tests (vpodzime)
46063a3
- Ignore all .bak files (vpodzime)
46063a3
- Use python3-pylint and skip Python 2 tests (vpodzime)
46063a3
- Try a bit harder when deactivating MD arrays in tests (vpodzime)
46063a3
- Recompile only the LVM plugin in tests (vpodzime)
46063a3
- Merge pull request #65 from vpodzime/master-loc_indep_error (vpodzime)
46063a3
- Merge pull request #70 from vojtechtrefny/master-chunk_size (vpodzime)
46063a3
- Add bd_md_create_with_chunk_size() function (vtrefny)
46063a3
- Merge pull request #68 from vpodzime/master-no_intro_data (vpodzime)
46063a3
- Merge pull request #71 from vpodzime/master-ipython3 (vpodzime)
46063a3
- Run coverage with the right config directories (vpodzime)
46063a3
- Merge pull request #67 from phatina/master (vpodzime)
46063a3
- Merge pull request #69 from vpodzime/master-lvm_dbus_autostart (vpodzime)
46063a3
- Use ipython3 for debugging and testing sessions (vpodzime)
46063a3
- Don't expect to always get introspection data from DBus (vpodzime)
46063a3
- Make invocation of tests configurable (phatina)
46063a3
- Make error messages locale agnostic (vpodzime)
46063a3
4d5a549
* Tue Mar 15 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-5
4d5a549
- Search for the LVM DBus service in activatable names (vpodzime)
4d5a549
- Better check for the LVM DBus API (vpodzime)
4d5a549
72cd506
* Wed Mar  9 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-4
72cd506
- Do not try to get object path of NULL in vgreduce (vpodzime)
72cd506
72f6586
* Tue Mar  1 2016 Peter Robinson <pbrobinson@fedoraproject.org> 1.4-3
72f6586
- Depend on python3-gobject-base not python3-gobject so as to not pull in X components
72f6586
eb24f8a
* Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-2
eb24f8a
- Add/fix the requirement for the LVM DBus daemon
eb24f8a
89a5e1b
* Thu Feb 25 2016 Vratislav Podzimek <vpodzime@redhat.com> - 1.4-1
89a5e1b
- Merge pull request #62 from vpodzime/master-clean_up (vpodzime)
89a5e1b
- Use addCleanup() instead of tearDown() in tests (vpodzime)
89a5e1b
- Merge pull request #58 from vpodzime/master-lvm_dbus_pr (vpodzime)
89a5e1b
- Add the VG renaming functionality (vpodzime)
89a5e1b
- Packaging of the lvm-dbus plugin (vpodzime)
89a5e1b
- The LVM DBus plugin (vpodzime)
89a5e1b
- Add more generic functions for logging (vpodzime)
89a5e1b
- Use MAX(a, b) instead of CLAMP(b, a, b) (vpodzime)
89a5e1b
- Merge pull request #59 from vpodzime/master-vgrename (vpodzime)
89a5e1b
- Add a function for renaming VGs (vpodzime)
89a5e1b
- Merge pull request #57 from clumens/master (vpodzime)
89a5e1b
- Fix error reporting when running "make test". (clumens)
89a5e1b
- Merge pull request #54 from vojtechtrefny/master-pvsize (vpodzime)
89a5e1b
- Do not try to create a PV with 4KiB metadata space (vpodzime)
89a5e1b
- Add pv_info to BDLVMPVdata (vtrefny)
89a5e1b
- btrfs now requires at least 128MiB device(s) (vpodzime)
89a5e1b
- Merge pull request #52 from vpodzime/master (vpodzime)
d793d16
- Round size in thpoolcreate() to KiB (vpodzime)
5884541
- Sync the %%changelog in spec with downstream (vpodzime)
d793d16
40b9ebd
* Wed Nov 25 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-4
40b9ebd
- Create the cache pool before the to-be-cached LV (vpodzime)
40b9ebd
Robert Kuska 5271bf0
* Thu Nov 05 2015 Robert Kuska <rkuska@redhat.com> - 1.3-3
Robert Kuska 5271bf0
- Rebuilt for Python3.5 rebuild
Robert Kuska 5271bf0
ed6a23e
* Wed Nov 04 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-2
ed6a23e
- Fix the annotation of bd_try_init in blockdev.c (vpodzime)
ed6a23e
64690cd
* Mon Oct 26 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.3-1
64690cd
- Add missing python GI requires (vpodzime)
64690cd
- Merge pull request #49 from dashea/libblockdev-python (vpodzime)
64690cd
- Merge pull request #50 from vpodzime/master-fix_striped_lv (vpodzime)
64690cd
- Merge pull request #46 from vpodzime/master-bcache_destroy (vpodzime)
64690cd
- Merge pull request #39 from vpodzime/master-lvm_physical_space (vpodzime)
64690cd
- Add a missing ldconfig that rpmlint found. (dshea)
64690cd
- Move python files to separate packages (#1256758) (dshea)
64690cd
- Fix lvcreate calls for striped LVs (vpodzime)
64690cd
- Merge pull request #48 from vojtechtrefny/master_pvfree (vpodzime)
64690cd
- Add pv_free to BDLVMPVdata (vtrefny)
64690cd
- Merge pull request #47 from atodorov/add_coverage_report (vpodzime)
64690cd
- Produce coverage report in CI (atodorov)
64690cd
- Check bcache device's state before trying to detach the cache in destroy() (vpodzime)
64690cd
- Fix URLs in the spec (vpodzime)
64690cd
- Fix the int-float less-than comparison (vpodzime)
64690cd
- Fix the calculation of physical space taken by an LV (vpodzime)
64690cd
eac5ac0
* Wed Sep 23 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.2-1
eac5ac0
- Merge pull request #40 from vpodzime/master-config_support (vpodzime)
eac5ac0
- Add tests for configuration support (vpodzime)
eac5ac0
- Add a function for getting the loaded soname for a plugin (vpodzime)
eac5ac0
- Add the default configuration (vpodzime)
eac5ac0
- Load and respect configuration files when loading plugins (vpodzime)
eac5ac0
- Add functions for finding and processing configuration files (vpodzime)
eac5ac0
- Merge pull request #38 from vpodzime/master-md_superblock_size (vpodzime)
eac5ac0
- Better document how MD RAID superblock size should be calculated (vpodzime)
eac5ac0
- Merge pull request #36 from phatina/master (vpodzime)
eac5ac0
- BTRFS: allow an arbitrary label to be set for a btrfs volume (phatina)
eac5ac0
- Merge pull request #32 from phatina/master (vpodzime)
eac5ac0
- BTRFS: fix parsing empty partition label (phatina)
eac5ac0
- Merge pull request #35 from vpodzime/master (vpodzime)
eac5ac0
- Define env variables for sudo via the env utility (vpodzime)
eac5ac0
- Merge pull request #34 from dashea/python3-tests (vpodzime)
eac5ac0
- Use unittest.addCleanup to simplify crypto_test. (dshea)
eac5ac0
- Run tests with both python2 and python3 in the ci target. (dshea)
eac5ac0
- Fix python3 issues in the unittests. (dshea)
eac5ac0
- Do not run all tests in the 'ci' target (vpodzime)
eac5ac0
- Merge pull request #33 from clumens/master (vpodzime)
eac5ac0
- Add a new makefile target that does everything needed for jenkins. (clumens)
eac5ac0
- Synchronize the .spec file with downstream (vpodzime)
eac5ac0
e8024b7
* Fri Jul 24 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-2
e8024b7
- Explicitly specify the type of the cert_data parameter (#1246096) (vpodzime)
e8024b7
cd2e4cf
* Fri Jun 19 2015 Vratislav Podzimek <vpodzime@redhat.com> - 1.1-1
cd2e4cf
- Clean generated boilerplate code on 'make clean' (vpodzime)
cd2e4cf
- Merge pull request #31 from atodorov/use_lang_c (vpodzime)
cd2e4cf
- tests: use LANG=C in test_backup_passphrase() (atodorov)
cd2e4cf
- Merge pull request #30 from atodorov/makefile_updates (vpodzime)
cd2e4cf
- Makefile.am:   - add separate check target   - add coverage targets   - make it possible to test with Python3 (atodorov)
cd2e4cf
- Merge pull request #29 from atodorov/fix_issue_28 (vpodzime)
cd2e4cf
- Merge pull request #27 from atodorov/fix_docs_url (vpodzime)
cd2e4cf
- Merge pull request #26 from atodorov/test_docs (vpodzime)
cd2e4cf
- Change the modified sources back in tearDown() method as well. Closes #28. (atodorov)
cd2e4cf
- update URL to on-line documentation (atodorov)
cd2e4cf
- add test documentation (atodorov)
cd2e4cf
- Merge pull request #22 from dashea/escrow-tests (vpodzime)
cd2e4cf
- Merge pull request #25 from dashea/python-dep (vpodzime)
cd2e4cf
- Filter the python files from automatic rpm requires (dshea)
cd2e4cf
- Added tests for escrow packets and backup passphrases (dshea)