Fix packaging for perf

This commit is contained in:
Justin M. Forbes 2016-01-12 14:26:42 -06:00
parent 84f6318818
commit cc7c4bc6d7

View File

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