diff --git a/kernel.spec b/kernel.spec index edddd23e2..e562f18d9 100644 --- a/kernel.spec +++ b/kernel.spec @@ -1746,6 +1746,8 @@ find $RPM_BUILD_ROOT/usr/include \ %{perf_make} DESTDIR=$RPM_BUILD_ROOT lib=%{_lib} install-bin install-traceevent-plugins # remove the 'trace' symlink. rm -f %{buildroot}%{_bindir}/trace +# remove the perf-tips +rm -rf %{buildroot}%{_docdir}/perf-tip # python-perf extension %{perf_make} DESTDIR=$RPM_BUILD_ROOT install-python_ext