Updated find/replace strings in ReplaceAction to include two new upstream lines (%global with_asahi 1 and %global with_d3d12 1) that were added between '%if !0%{?rhel}' and '%global with_etnaviv 1' in
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
actions:
|
|
- replace:
|
|
- target: "spec"
|
|
find: |
|
|
%ifarch %{arm} aarch64
|
|
%if !0%{?rhel}
|
|
%global with_asahi 1
|
|
%global with_d3d12 1
|
|
%global with_etnaviv 1
|
|
%global with_lima 1
|
|
replace: |
|
|
%ifarch %{arm} aarch64
|
|
# RHEL doesn't ship vc4 and v3d but we do for RPi
|
|
%if 0%{?almalinux}
|
|
%global with_vc4 1
|
|
%global with_v3d 1
|
|
%endif
|
|
%if !0%{?rhel}
|
|
%global with_asahi 1
|
|
%global with_d3d12 1
|
|
%global with_etnaviv 1
|
|
%global with_lima 1
|
|
count: 1
|
|
|
|
- modify_release:
|
|
- suffix: ".alma.1"
|
|
enabled: true
|
|
|
|
- changelog_entry:
|
|
- name: "Koichiro Iwao"
|
|
email: "meta@almalinux.org"
|
|
line:
|
|
- "Enable vc4 and v3d for Raspberry Pi graphics in AlmaLinux (Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32)"
|