New version

- Use python interpreter explicitly when running boilerplate_generator.py
(vtrefny)
- vdo: Implement bd_vdo_get_stats() (tbzatek)
- Add test for is_tech_available with multiple dependencies (vtrefny)
- lvm-dbus.c: Check for 'lvmdbus' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
- lvm.c: Check for 'lvm' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
- Fix licence headers in sources (vtrefny)
- Fix three memory leaks in lvm-dbus.c (vtrefny)
- Ignore "bad-super-call" pylint warning in BlockDev.py (vtrefny)
- Fix running pylint in tests (vtrefny)
- Fix vdo configuration options definition in spec file (vtrefny)
- Fix calling BlockDev.reinit in swap tests (vtrefny)
- Fix how we check zram stats from /sys/block/zram0/mm_stat (vtrefny)
- Skip VDO tests also when the 'kvdo' module is not available (vtrefny)
- Add version to tests that should be skipped on CentOS/RHEL 7 (vtrefny)
- Skip btrfs tests if btrfs module is not available (vtrefny)
- Do not build KBD plugin with bcache support on RHEL (vtrefny)
- Do not build btrfs plugin on newer RHEL (vtrefny)
- fs: Properly close both ends of the pipe (tbzatek)
- Make sure library_test works after fixing -Wstrict-prototypes (vtrefny)
- Make sure library tests properly clean after themselves (vtrefny)
- pkg-config: add -L${libdir} and -I${includedir} (max.kellermann)
- plugins/kbd: make wait_for_file() static (max.kellermann)
- plugins/lvm{,-dbus}: get_lv_type_from_flags() returns const string
(max.kellermann)
- plugins/dm: add explicit cast to work around -Wdiscarded-qualifiers
(max.kellermann)
- plugins/crypto: work around -Wdiscarded-qualifiers (max.kellermann)
- plugins/check_deps: make all strings and `UtilDep` instances `const`
(max.kellermann)
- exec: make `msg` parameters const (max.kellermann)
- fix -Wstrict-prototypes (max.kellermann)
- module.c: Accept kernel modules if they are built-in (marco.guerri.dev)
- BlockDev.py Convert dictionary keys to set before using them (vtrefny)
- Skip 'test_cache_pool_create_remove' on CentOS 7 (vtrefny)
- Re-order libbd_crypto_la_LIBADD to fix libtool issue (tom)
- acinclude.m4: Use AS_EXIT to fail in LIBBLOCKDEV_FAILURES (vtrefny)
- configure.ac: Fix missing parenthesis in blkid version check (vtrefny)
- Allow specifying extra options for PBKDF when creating LUKS2 (vtrefny)
- Reintroduce python2 support for Fedora 29 (vtrefny)
- Use versioned command for Python 2 (vtrefny)
- Fix few wrong names in doc strings (vtrefny)
- Make sure all our free and copy functions work with NULL (vtrefny)
- Use libblkid in bd_crypto_is_luks (vtrefny)
- vdo: Properly destroy the yaml parser (tbzatek)
- Add a simple test case for bd_crypto_tc_open (vtrefny)
- Add Python override for bd_crypto_tc_open_full (vtrefny)
- Show simple summary after configure (vtrefny)
- Do not build VDO plugin on non-x86_64 architectures (vtrefny)
- Sync spec with downstream (vtrefny)
This commit is contained in:
Vojtech Trefny 2018-08-13 12:56:07 +02:00
parent 42b29917dd
commit ea92ee6388
3 changed files with 69 additions and 9 deletions

1
.gitignore vendored
View File

@ -39,3 +39,4 @@
/libblockdev-2.16.tar.gz
/libblockdev-2.17.tar.gz
/libblockdev-2.18.tar.gz
/libblockdev-2.19.tar.gz

View File

@ -32,8 +32,8 @@
%define python3_copts --without-python3
%endif
# bcache is not available on older RHEL
%if (! 0%{?fedora} && 0%{?rhel} <= 7) || %{with_bcache} == 0
# bcache is not available on RHEL
%if (0%{?rhel}) || %{with_bcache} == 0
%define with_bcache 0
%define bcache_copts --without-bcache
%endif
@ -50,6 +50,18 @@
%define vdo_copts --without-vdo
%endif
# vdo is available only on x86_64
%ifnarch x86_64
%define with_vdo 0
%define vdo_copts --without-vdo
%endif
# btrfs is not available on RHEL > 7
%if 0%{?rhel} > 7 || %{with_btrfs} == 0
%define with_btrfs 0
%define btrfs_copts --without-btrfs
%endif
%if %{with_btrfs} != 1
%define btrfs_copts --without-btrfs
%endif
@ -104,16 +116,15 @@
%define gi_copts --disable-introspection
%endif
%define configure_opts %{?python2_copts} %{?python3_copts} %{?bcache_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?kbd_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{vdo_copts} %{?gi_copts}
%define configure_opts %{?python2_copts} %{?python3_copts} %{?bcache_copts} %{?lvm_dbus_copts} %{?btrfs_copts} %{?crypto_copts} %{?dm_copts} %{?loop_copts} %{?lvm_copts} %{?lvm_dbus_copts} %{?mdraid_copts} %{?mpath_copts} %{?swap_copts} %{?kbd_copts} %{?part_copts} %{?fs_copts} %{?nvdimm_copts} %{?vdo_copts} %{?gi_copts}
Name: libblockdev
Version: 2.18
Release: 4%{?dist}
Version: 2.19
Release: 1%{?dist}
Summary: A library for low-level manipulation with block devices
License: LGPLv2+
URL: https://github.com/storaged-project/libblockdev
Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-%{release}/%{name}-%{version}.tar.gz
Patch0: 0001-python2-build.patch
BuildRequires: glib2-devel
%if %{with_gi}
@ -229,6 +240,7 @@ with the libblockdev-btrfs plugin/library.
%if %{with_crypto}
%package crypto
BuildRequires: cryptsetup-devel
BuildRequires: libblkid-devel
%if %{with_escrow}
BuildRequires: volume_key-devel >= 0.3.9-7
@ -635,10 +647,8 @@ A meta-package that pulls all the libblockdev plugins as dependencies.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1
%build
autoreconf -ivf
%configure %{?configure_opts}
%{__make} %{?_smp_mflags}
@ -762,6 +772,7 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%{_includedir}/blockdev/extra_arg.h
%{_includedir}/blockdev/dev_utils.h
%{_includedir}/blockdev/module.h
%{_includedir}/blockdev/dbus.h
%if %{with_btrfs}
@ -934,6 +945,54 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%files plugins-all
%changelog
* Fri Aug 10 2018 Vojtech Trefny <vtrefny@redhat.com> - 2.19-1
- Use python interpreter explicitly when running boilerplate_generator.py (vtrefny)
- vdo: Implement bd_vdo_get_stats() (tbzatek)
- Add test for is_tech_available with multiple dependencies (vtrefny)
- lvm-dbus.c: Check for 'lvmdbus' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
- lvm.c: Check for 'lvm' dependency in 'bd_lvm_is_tech_avail' (vtrefny)
- Fix licence headers in sources (vtrefny)
- Fix three memory leaks in lvm-dbus.c (vtrefny)
- Ignore "bad-super-call" pylint warning in BlockDev.py (vtrefny)
- Fix running pylint in tests (vtrefny)
- Fix vdo configuration options definition in spec file (vtrefny)
- Fix calling BlockDev.reinit in swap tests (vtrefny)
- Fix how we check zram stats from /sys/block/zram0/mm_stat (vtrefny)
- Skip VDO tests also when the 'kvdo' module is not available (vtrefny)
- Add version to tests that should be skipped on CentOS/RHEL 7 (vtrefny)
- Skip btrfs tests if btrfs module is not available (vtrefny)
- Do not build KBD plugin with bcache support on RHEL (vtrefny)
- Do not build btrfs plugin on newer RHEL (vtrefny)
- fs: Properly close both ends of the pipe (tbzatek)
- Make sure library_test works after fixing -Wstrict-prototypes (vtrefny)
- Make sure library tests properly clean after themselves (vtrefny)
- pkg-config: add -L${libdir} and -I${includedir} (max.kellermann)
- plugins/kbd: make wait_for_file() static (max.kellermann)
- plugins/lvm{,-dbus}: get_lv_type_from_flags() returns const string (max.kellermann)
- plugins/dm: add explicit cast to work around -Wdiscarded-qualifiers (max.kellermann)
- plugins/crypto: work around -Wdiscarded-qualifiers (max.kellermann)
- plugins/check_deps: make all strings and `UtilDep` instances `const` (max.kellermann)
- exec: make `msg` parameters const (max.kellermann)
- fix -Wstrict-prototypes (max.kellermann)
- module.c: Accept kernel modules if they are built-in (marco.guerri.dev)
- BlockDev.py Convert dictionary keys to set before using them (vtrefny)
- Skip 'test_cache_pool_create_remove' on CentOS 7 (vtrefny)
- Re-order libbd_crypto_la_LIBADD to fix libtool issue (tom)
- acinclude.m4: Use AS_EXIT to fail in LIBBLOCKDEV_FAILURES (vtrefny)
- configure.ac: Fix missing parenthesis in blkid version check (vtrefny)
- Allow specifying extra options for PBKDF when creating LUKS2 (vtrefny)
- Reintroduce python2 support for Fedora 29 (vtrefny)
- Use versioned command for Python 2 (vtrefny)
- Fix few wrong names in doc strings (vtrefny)
- Make sure all our free and copy functions work with NULL (vtrefny)
- Use libblkid in bd_crypto_is_luks (vtrefny)
- vdo: Properly destroy the yaml parser (tbzatek)
- Add a simple test case for bd_crypto_tc_open (vtrefny)
- Add Python override for bd_crypto_tc_open_full (vtrefny)
- Show simple summary after configure (vtrefny)
- Do not build VDO plugin on non-x86_64 architectures (vtrefny)
- Sync spec with downstream (vtrefny)
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.18-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libblockdev-2.18.tar.gz) = 65e2f795ced3e902af889f3bd9e303234e1611fb25555123b4edaf0b1e3aca24d399422f96eb0694ada025e57ddeb207f60c8666d0640110e228cfb8da92d5ab
SHA512 (libblockdev-2.19.tar.gz) = bc0e9524b95ca7b32478cb2e9195df336b44921825832393189d04611e6cb634aa033485507239add55d126021f103c7528d912be950c58d46e130c09b4d5167