From e9cf0371925a4b5fc7eebfd1c67755ca28115fcfd15ecb3bc2dc487a8a77b406 Mon Sep 17 00:00:00 2001 From: Luciano Santos Date: Tue, 11 Jul 2023 01:01:50 +0000 Subject: [PATCH] Update latest changes file entry with the spec file changes not documented in the latest SR OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libblockdev?expand=0&rev=47 --- libblockdev.changes | 46 +++++++++++++++++++++++++++++++++++---------- libblockdev.spec | 20 ++++++++------------ 2 files changed, 44 insertions(+), 22 deletions(-) diff --git a/libblockdev.changes b/libblockdev.changes index 234ec95..a3d1c27 100644 --- a/libblockdev.changes +++ b/libblockdev.changes @@ -2,6 +2,21 @@ Fri Jun 30 10:16:53 UTC 2023 - Paolo Stivanin - Update to 3.0.1: + * New bugfix release of the libblockdev library with multiple + fixes. + * loop: Define LOOP_SET_BLOCK_SIZE is not defined. And remove + bd_loop_get_autoclear definition. + * crypto: Remove stray struct redefinition. + * fs: Simplify struct BDFSInfo. And add missing copy and free + functions to the header file. + * vdo_stats: Remove unused libparted include. + * lvm: Make _vglock_start_stop static. Fix declaration for + bd_lvm_vdolvpoolname. And add bd_lvm_segdata_copy/free to the + header file. + * Make the conf.d directory versioned. +- Changes from version 3.0.0: + * New major release of the libblockdev library. This release + contains a large API overhaul. * VDO a KBD plugins were removed. * New NVMe plugin was added. * Runtime dependencies are no longer checked during plugin @@ -10,20 +25,31 @@ Fri Jun 30 10:16:53 UTC 2023 - Paolo Stivanin * Crypto plugin API went through an extensive rewrite. * Support for new technologies was added to the crypto plugin: FileVault2 encryption, DM Integrity, LUKS2 tokens. - * Filesystem plugin adds support for btrfs, F2FS, NILFS2, - exFAT and UDF. + * Filesystem plugin adds support for btrfs, F2FS, NILFS2, exFAT + and UDF. * Support for new filesystem operations was added to the plugin: - setting label and UUID, generic mkfs function and API - for getting feature support for filesystems. + setting label and UUID, generic mkfs function and API for + getting feature support for filesystems. * dmraid support was removed from the DM plugin. * Python 2 support was dropped. - * loop: define LOOP_SET_BLOCK_SIZE is not defined - * crypto: Remove stray struct redefinition - * fs: Simplify struct BDFSInfo - * vdo_stats: Remove unused libparted include - * lvm: Make _vglock_start_stop static - * fs: Add missing copy and free functions to the header file - Drop no longer needed libblockdev-fix-libkmod-include.patch +- Drop no longer supported sub-packages with their dependencies, + and their configure options, following upstream changes: python2 + (python-devel), bcache, dmraid (dmraid-devel BuildRequires) and + kbd. +- Add (gcc >= 11 or gcc11) boolean BuildRequires to ensure the + package is buildable in Leap 15.5, where the gcc meta-package is + of version 7. +- Bump SO version in shared library and GI bindings sub-packages to + 3. +- Add ext2fs, fdisk, and libkeyutils pkgconfig() BuildRequires. + The first is a new dependency for the FS plugin. The second, for + the PART plugin. And the latter, for the CRYPTO plugin (before, + the explicit_bzero() function would be searched for). +- Add libnvme-devel >= 1.3 BuildRequires, and pass --with-nvme to + configure, needed for the NVMe plugin (new upstream addition). +- Pass --with-tools to configure, ensuring we keep building the + libblockdev tools. ------------------------------------------------------------------- Fri Oct 7 12:08:15 UTC 2022 - Dirk Müller diff --git a/libblockdev.spec b/libblockdev.spec index 9d87f32..0f23717 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -16,9 +16,8 @@ # -%define bcachetools_version 1.0.8 -%define somajor 3 -%define libname %{name}%{somajor} +%define somajor 3 +%define libname %{name}%{somajor} Name: libblockdev Version: 3.0.1 @@ -28,28 +27,25 @@ License: LGPL-2.1-only Group: Development/Libraries/C and C++ URL: https://github.com/storaged-project/libblockdev Source0: https://github.com/storaged-project/libblockdev/releases/download/%{version}-1/libblockdev-%{version}.tar.gz -%if 0%{?suse_version} < 1590 -BuildRequires: gcc11 -%endif -BuildRequires: dmraid-devel BuildRequires: gobject-introspection-devel >= 1.3.0 BuildRequires: gtk-doc -BuildRequires: libext2fs-devel -BuildRequires: libfdisk-devel -BuildRequires: libnvme-devel >= 1.3 BuildRequires: pkgconfig BuildRequires: python3-devel +BuildRequires: (gcc >= 11 or gcc11) +BuildRequires: pkgconfig(ext2fs) +BuildRequires: pkgconfig(fdisk) +BuildRequires: pkgconfig(libnvme) >= 1.3 # There is a s390x plugin that, until vtoc.h is provided, can't be added. #BuildRequires: s390-tools-devel BuildRequires: pkgconfig(blkid) >= 2.23.0 -BuildRequires: keyutils-devel BuildRequires: pkgconfig(bytesize) >= 0.1 BuildRequires: pkgconfig(dbus-1) BuildRequires: pkgconfig(devmapper) >= 1.02.93 BuildRequires: pkgconfig(gio-2.0) >= 2.42.2 BuildRequires: pkgconfig(glib-2.0) >= 2.42.2 BuildRequires: pkgconfig(gobject-2.0) >= 2.42.2 -BuildRequires: pkgconfig(libcryptsetup) >= 1.6.7 +BuildRequires: pkgconfig(libcryptsetup) >= 2.3.0 +BuildRequires: pkgconfig(libkeyutils) BuildRequires: pkgconfig(libkmod) >= 19 BuildRequires: pkgconfig(libparted) >= 3.1 BuildRequires: pkgconfig(libudev) >= 216