diff --git a/SPECS/libblockdev.spec b/SPECS/libblockdev.spec index 53336d1..a56692b 100644 --- a/SPECS/libblockdev.spec +++ b/SPECS/libblockdev.spec @@ -53,8 +53,8 @@ %endif %endif -# disable BTRFS only if with_btrfs is 0 -%if %{with_btrfs} == 0 +# btrfs is not available on RHEL > 7 +%if 0%{?rhel} > 7 || %{with_btrfs} == 0 %define with_btrfs 0 %define btrfs_copts --without-btrfs %endif @@ -125,7 +125,7 @@ Name: libblockdev Version: 2.28 -Release: 7.0.1%{?dist} +Release: 7%{?dist} Summary: A library for low-level manipulation with block devices License: LGPLv2+ URL: https://github.com/storaged-project/libblockdev @@ -992,9 +992,6 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm} %files plugins-all %changelog -* Sun Jun 29 2025 EL Errata - 2.28-7.0.1 -- enable btrfs support [Orabug: 30792917] - * Mon Jun 16 2025 Vojtech Trefny - 2.28-7 - Don't allow suid and dev set on fs resize (CVE-2025-6019) Resolves: RHEL-96034