diff --git a/kernel-tools.spec b/kernel-tools.spec index ff3a622..6c02582 100644 --- a/kernel-tools.spec +++ b/kernel-tools.spec @@ -284,8 +284,6 @@ cd linux-%{kversion} %{perf_make} %{perf_python3} DESTDIR=%{buildroot} 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 # 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. @@ -379,6 +377,7 @@ popd %{_sysconfdir}/bash_completion.d/perf %doc linux-%{kversion}/tools/perf/Documentation/examples.txt %license linux-%{kversion}/COPYING +%{_docdir}/perf-tip/tips.txt %files -n python3-perf %license linux-%{kversion}/COPYING