commit 8caac9f3206c3e7297d6b364d44a88b857dfc7be Author: eabdullin Date: Wed Jun 17 10:13:51 2026 +0300 Fix build on non-bpf arches (i686, riscv64) diff --git a/config.yaml b/config.yaml new file mode 100644 index 0000000..a4abd19 --- /dev/null +++ b/config.yaml @@ -0,0 +1,28 @@ +actions: + - replace: + - target: "spec" + find: | + %build + %configure --libdir=%{_libdir} --with-python=no --with-python3 \ + %ifarch %{bpf_arches} + --enable-cap-audit + %endif + %make_build CFLAGS="%{optflags}" + replace: | + %build + %ifarch %{bpf_arches} + %global cap_audit --enable-cap-audit + %endif + %configure --libdir=%{_libdir} --with-python=no --with-python3 %{?cap_audit} + %make_build CFLAGS="%{optflags}" + count: 1 + + - modify_release: + - suffix: ".alma.1" + enabled: true + + - changelog_entry: + - name: "Eduard Abdullin" + email: "eabdullin@almalinux.org" + line: + - "Fix build on non-bpf arches (i686, riscv64)"