Exclude btrfs and f2fs libbpf tools

RHEL doesn't provide btrfs or f2sf.

Resolves: RHEL-36579

Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
This commit is contained in:
Jerome Marchand 2024-05-21 11:25:18 +02:00
parent 410589b0f3
commit 036f4678cd

View File

@ -25,7 +25,7 @@
Name: bcc Name: bcc
Version: 0.30.0 Version: 0.30.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: BPF Compiler Collection (BCC) Summary: BPF Compiler Collection (BCC)
License: ASL 2.0 License: ASL 2.0
URL: https://github.com/iovisor/bcc URL: https://github.com/iovisor/bcc
@ -255,10 +255,16 @@ cp -a libbpf-tools/tmp-install/bin/* %{buildroot}/%{_sbindir}/
%ifarch s390x %ifarch s390x
%exclude %{_sbindir}/bpf-numamove %exclude %{_sbindir}/bpf-numamove
%endif %endif
# RHEL doesn't provide btrfs or f2fs
%exclude %{_sbindir}/bpf-btrfs*
%exclude %{_sbindir}/bpf-f2fs*
%{_sbindir}/bpf-* %{_sbindir}/bpf-*
%endif %endif
%changelog %changelog
* Tue May 21 2024 Jerome Marchand <jmarchan@redhat.com> - 0.30.0-4
- Exclude btrfs and f2fs libbpf tools (RHEL-36579)
* Mon May 20 2024 Jerome Marchand <jmarchan@redhat.com> - 0.30.0-3 * Mon May 20 2024 Jerome Marchand <jmarchan@redhat.com> - 0.30.0-3
- Really prevent the loading of compromised headers (RHEL-28769, CVE-2024-2314) - Really prevent the loading of compromised headers (RHEL-28769, CVE-2024-2314)
- Add python3-pyelftools dependency (RHEL-36583) - Add python3-pyelftools dependency (RHEL-36583)