From 26424c1649159c48923f17bfa353285a7467df91 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Mar 10 2019 19:22:51 +0000 Subject: Remove unpackaged files --- diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 8e2e895..c0934f6 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -1892,6 +1892,15 @@ rm -f %{buildroot}%{_bindir}/trace # remove the perf-tips rm -rf %{buildroot}%{_docdir}/perf-tip +# For both of the below, yes, this should be using a macro but right now +# it's hard coded and we don't actually want it anyway right now. +# Whoever wants examples can fix it up! + +# remove examples +rm -rf %{buildroot}/usr/lib/perf/examples +# remove the stray header file that somehow got packaged in examples +rm -rf %{buildroot}/usr/lib/perf/include/bpf/ + # python-perf extension %{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext