diff --git a/kernel-tools.spec b/kernel-tools.spec index 8e4f1e5..c389868 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -174,19 +174,6 @@ License: GPLv2 This package contains the bpftool, which allows inspection and simple manipulation of eBPF programs and maps. -%package -n libbpf -Summary: The bpf library from kernel source -License: GPLv2 -%description -n libbpf -This package contains the kernel source bpf library. - -%package -n libbpf-devel -Summary: Developement files for the bpf library from kernel source -License: GPLv2 -%description -n libbpf-devel -This package includes libraries and header files needed for development -of applications which use bpf library from kernel source. - %package -n libperf Summary: The perf library from kernel source License: GPLv2 @@ -289,9 +276,6 @@ popd pushd tools/bpf/bpftool %{bpftool_make} popd -pushd tools/lib/bpf -%{tools_make} V=1 -popd pushd tools/lib/perf make V=1 popd @@ -383,9 +367,6 @@ pushd tools/bpf/bpftool # man-pages packages this (rhbz #1686954) rm %{buildroot}%{_mandir}/man7/bpf-helpers.7 popd -pushd tools/lib/bpf -%{tools_make} DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} V=1 install install_headers -popd pushd tools/lib/perf make DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{_libdir} V=1 install install_headers popd @@ -478,28 +459,6 @@ popd %{_mandir}/man8/bpftool.8.gz %license linux-%{kversion}/COPYING -%files -n libbpf -%{_libdir}/libbpf.so.0 -%{_libdir}/libbpf.so.0.3.0 -%license linux-%{kversion}/COPYING - -%files -n libbpf-devel -%{_libdir}/libbpf.a -%{_libdir}/libbpf.so -%{_libdir}/pkgconfig/libbpf.pc -%{_includedir}/bpf/bpf.h -%{_includedir}/bpf/bpf_core_read.h -%{_includedir}/bpf/bpf_endian.h -%{_includedir}/bpf/bpf_helper_defs.h -%{_includedir}/bpf/bpf_helpers.h -%{_includedir}/bpf/bpf_tracing.h -%{_includedir}/bpf/btf.h -%{_includedir}/bpf/libbpf.h -%{_includedir}/bpf/libbpf_common.h -%{_includedir}/bpf/libbpf_util.h -%{_includedir}/bpf/xsk.h -%license linux-%{kversion}/COPYING - %files -n libperf %{_libdir}/libperf.so.0 %{_libdir}/libperf.so.0.0.1 @@ -527,6 +486,9 @@ popd %license linux-%{kversion}/COPYING %changelog +* Thu May 06 2021 Jiri Olsa +- Remove libbpf package + * Thu May 06 2021 Justin M. Forbes - Build and package intel-speed-select (rhbz 1882427)