libblockdev/config.yaml

33 lines
889 B
YAML

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"