From 2c9221d02914d3a9eebb1b04ab59e09114a3414c Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Wed, 28 May 2025 09:25:03 -0400 Subject: [PATCH] AlmaLinux changes: Enable Btrfs support --- libblockdev.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/libblockdev.spec b/libblockdev.spec index aec4e0f..cdb6fdd 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -25,6 +25,12 @@ %define btrfs_copts --without-btrfs %endif +# ... but AlmaLinux restores btrfs support +%if 0%{?rhel} > 7 && 0%{?almalinux} +%define with_btrfs 1 +%undefine btrfs_copts +%endif + %if %{with_btrfs} != 1 %define btrfs_copts --without-btrfs %endif @@ -86,7 +92,7 @@ Name: libblockdev Version: 3.2.0 -Release: 3%{?dist} +Release: 3%{?dist}.alma.1 Summary: A library for low-level manipulation with block devices License: LGPL-2.1-or-later URL: https://github.com/storaged-project/libblockdev @@ -948,6 +954,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %files plugins-all %changelog +* Wed May 28 2025 Neal Gompa - 3.2.0-3.alma.1 +- AlmaLinux changes: Enable Btrfs support + * Tue Mar 11 2025 Vojtech Trefny - 3.2.0-3 - crypto: Add a function to set persistent flags for LUKS Resolves: RHEL-82885