Enable Btrfs support
This commit is contained in:
commit
41f51f3b44
32
config.yaml
Normal file
32
config.yaml
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user