From cc7c4bc6d770a02826d5394251798906cac5024e Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Tue, 12 Jan 2016 14:26:42 -0600 Subject: [PATCH] Fix packaging for perf --- kernel.spec | 2 ++ 1 file changed, 2 insertions(+) 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