commit 41f51f3b44b0de52ae08f9d810943903c35a9140 Author: Andrew Lukoshko Date: Fri May 30 18:03:19 2025 +0000 Enable Btrfs support diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..8588cd4 --- /dev/null +++ b/config.yaml @@ -0,0 +1,32 @@ +actions: + - replace: + - target: "spec" + find: | + # btrfs is not available on RHEL > 7 + %if 0%{?rhel} > 7 || %{with_btrfs} == 0 + %define with_btrfs 0 + %define btrfs_copts --without-btrfs + %endif + replace: | + # btrfs is not available on RHEL > 7 + %if 0%{?rhel} > 7 || %{with_btrfs} == 0 + %define with_btrfs 0 + %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 + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Neal Gompa" + email: "ngompa@almalinux.org" + line: + - "AlmaLinux changes: Enable Btrfs support"