diff --git a/kernel.spec b/kernel.spec index aea57acaed0dcfcc374972d8f706d9f883617ae8..b0fc66a3b5435bb4e562f41aab510c064d98051d 100644 --- a/kernel.spec +++ b/kernel.spec @@ -274,12 +274,6 @@ language to use the interface to manipulate perf events. # with_perf %endif -%package -n bpftool -Summary: Inspection and simple manipulation of eBPF programs and maps -%description -n bpftool -This package contains the bpftool, which allows inspection and simple -manipulation of eBPF programs and maps. - %package source Summary: the kernel source %description source @@ -305,10 +299,6 @@ package or when debugging this package.\ %files -n kernel-debuginfo -f kernel-debugfiles.list -f debugfiles.list %{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} --keep-section '.BTF' -p '.*/%{KernelVer}/.*|.*/vmlinux|XXX' -o kernel-debugfiles.list} -%debuginfo_template -n bpftool -%files -n bpftool-debuginfo -f bpftool-debugfiles.list -%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%{_sbindir}/bpftool.*(\.debug)?|XXX' -o bpftool-debugfiles.list} - %debuginfo_template -n kernel-tools %files -n kernel-tools-debuginfo -f kernel-tools-debugfiles.list %{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%{_bindir}/centrino-decode.*(\.debug)?|.*%{_bindir}/powernow-k8-decode.*(\.debug)?|.*%{_bindir}/cpupower.*(\.debug)?|.*%{_libdir}/libcpupower.*|.*%{_libdir}/libcpupower.*|.*%{_bindir}/turbostat.(\.debug)?|.*%{_bindir}/.*gpio.*(\.debug)?|.*%{_bindir}/.*iio.*(\.debug)?|.*%{_bindir}/tmon.*(.debug)?|XXX' -o kernel-tools-debugfiles.list} @@ -517,11 +507,6 @@ pushd tools/perf/Documentation/ popd %endif -# bpftool -pushd tools/bpf/bpftool -%{make} -popd - # cpupower chmod +x tools/power/cpupower/utils/version-gen.sh %{make} %{?_smp_mflags} -C tools/power/cpupower CPUFREQ_BENCH=false @@ -1113,23 +1098,6 @@ fi %{_includedir}/cpufreq.h %{_includedir}/cpuidle.h -%files -n bpftool -%{_sbindir}/bpftool -%{_sysconfdir}/bash_completion.d/bpftool -%{_mandir}/man8/bpftool-cgroup.8.gz -%{_mandir}/man8/bpftool-map.8.gz -%{_mandir}/man8/bpftool-prog.8.gz -%{_mandir}/man8/bpftool-perf.8.gz -%{_mandir}/man8/bpftool.8.gz -%{_mandir}/man8/bpftool-btf.8.gz -%{_mandir}/man8/bpftool-feature.8.gz -%{_mandir}/man8/bpftool-gen.8.gz -%{_mandir}/man8/bpftool-iter.8.gz -%{_mandir}/man8/bpftool-link.8.gz -%{_mandir}/man8/bpftool-net.8.gz -%{_mandir}/man8/bpftool-struct_ops.8.gz -%license linux-%{KernelVer}/COPYING - %if 0%{?with_source} %files source %defattr(-,root,root)