From 2b69a078f2731fcd712dc3564d037f979ff301da Mon Sep 17 00:00:00 2001 From: Vojtech Trefny Date: Tue, 14 Feb 2017 17:08:50 +0100 Subject: [PATCH] New version - Allow specifying raid 'name' in multiple way when calling md functions (vtrefny) - Allow using both path and raid name in bd_md_set_bitmap_location (vtrefny) - Fix potential memory issues in s390 sanitizate functions (vpodzime) - Try multiple times when probing device for wiping (vpodzime) - Check for libvolume_key.h and dmraid.h in configure.ac (vpodzime) - Define our own macro for testing required header files (vpodzime) - Include blockdev/utils.h in mdraid.h (vtrefny) - Fix misspelling (agrover) - Skip the bcache tests even on x86_64 (vpodzime) - Take a break between bcache creation tests (vpodzime) - Make sure ./configure fails if there are some soft failures (vpodzime) - Improve the error message on missing GI support (vpodzime) - Only require bcache-tools if supporting bcache (vpodzime) - Skip bcache tests on non-x86_64 architectures (vpodzime) - Try harder to register a new bcache device (vpodzime) - Reimplement swapon/swapoff functions by using syscalls (vpodzime) - Make sure bcache functions are correctly provided or not (vpodzime) - Changelog fixup (vpodzime) --- .gitignore | 1 + libblockdev.spec | 27 +++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 27 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0e316df..8c688a8 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /libblockdev-1.9.tar.gz /libblockdev-2.1.tar.gz /libblockdev-2.2.tar.gz +/libblockdev-2.3.tar.gz diff --git a/libblockdev.spec b/libblockdev.spec index 1599609..c08ec38 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -7,12 +7,13 @@ # python3 is not available on RHEL %if %{is_rhel} %define with_python3 0 +%define with_bcache 0 %define configure_opts --without-python3 --without-bcache %endif Name: libblockdev -Version: 2.2 -Release: 3%{?dist} +Version: 2.3 +Release: 2%{?dist} Summary: A library for low-level manipulation with block devices License: LGPLv2+ URL: https://github.com/rhinstaller/libblockdev @@ -194,7 +195,9 @@ with the libblockdev-fs plugin/library. %package kbd Summary: The KBD plugin for the libblockdev library Requires: %{name}-utils%{?_isa} >= 0.11 +%if %{with_bcache} Requires: bcache-tools >= 1.0.8 +%endif %description kbd The libblockdev library plugin (and in the same time a standalone library) @@ -600,6 +603,26 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %files plugins-all %changelog +* Tue Feb 14 2017 Vratislav Podzimek - 2.3-1 +- Allow specifying raid 'name' in multiple way when calling md functions (vtrefny) +- Allow using both path and raid name in bd_md_set_bitmap_location (vtrefny) +- Fix potential memory issues in s390 sanitizate functions (vpodzime) +- Try multiple times when probing device for wiping (vpodzime) +- Check for libvolume_key.h and dmraid.h in configure.ac (vpodzime) +- Define our own macro for testing required header files (vpodzime) +- Include blockdev/utils.h in mdraid.h (vtrefny) +- Fix misspelling (agrover) +- Skip the bcache tests even on x86_64 (vpodzime) +- Take a break between bcache creation tests (vpodzime) +- Make sure ./configure fails if there are some soft failures (vpodzime) +- Improve the error message on missing GI support (vpodzime) +- Only require bcache-tools if supporting bcache (vpodzime) +- Skip bcache tests on non-x86_64 architectures (vpodzime) +- Try harder to register a new bcache device (vpodzime) +- Reimplement swapon/swapoff functions by using syscalls (vpodzime) +- Make sure bcache functions are correctly provided or not (vpodzime) +- Changelog fixup (vpodzime) + * Fri Feb 10 2017 Fedora Release Engineering - 2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/sources b/sources index 56e7f6b..c9718ae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (libblockdev-2.2.tar.gz) = 2133e98fa57bdb5a792753cc9461a1eb2db7e5083d2afd6aed0abba89941c44b297c98fb55d2bbc6064b65145a701ca7b010efabef48edd1b17fd06e69f1c0b9 +SHA512 (libblockdev-2.3.tar.gz) = 75b8ff77ea0b22abecd0b9d5c6f8d15b0af20356eff343a155ee76c784e645a956b03da7079dbfe79ad8710a288e9040ab6342bc765e9e306fbd30740d587db7