Fix build on non-bpf arches (i686, riscv64)
This commit is contained in:
commit
8caac9f320
28
config.yaml
Normal file
28
config.yaml
Normal file
@ -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)"
|
||||
Loading…
Reference in New Issue
Block a user