add perf-tip file fix cannot load perf-tips warning

This commit is contained in:
xinghe 2020-09-14 15:55:16 +08:00 committed by Gitee
parent e963a4173e
commit 53235ef9df

View File

@ -24,7 +24,7 @@
Name: kernel Name: kernel
Version: 4.19.90 Version: 4.19.90
Release: %{hulkrelease}.0043 Release: %{hulkrelease}.0044
Summary: Linux Kernel Summary: Linux Kernel
License: GPLv2 License: GPLv2
URL: http://www.kernel.org/ URL: http://www.kernel.org/
@ -555,8 +555,6 @@ popd
%{perf_make} %{perf_python2} DESTDIR=%{buildroot} lib=%{_lib} install-bin install-traceevent-plugins %{perf_make} %{perf_python2} DESTDIR=%{buildroot} 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
# remove examples # remove examples
rm -rf %{buildroot}/usr/lib/perf/examples rm -rf %{buildroot}/usr/lib/perf/examples
@ -726,6 +724,8 @@ fi
%{_mandir}/man[1-8]/perf* %{_mandir}/man[1-8]/perf*
%{_sysconfdir}/bash_completion.d/perf %{_sysconfdir}/bash_completion.d/perf
%doc linux-%{KernelVer}/tools/perf/Documentation/examples.txt %doc linux-%{KernelVer}/tools/perf/Documentation/examples.txt
%dir %{_datadir}/doc/perf-tip
%{_datadir}/doc/perf-tip/*
%license linux-%{KernelVer}/COPYING %license linux-%{KernelVer}/COPYING
%files -n python2-perf %files -n python2-perf
@ -789,6 +789,9 @@ fi
%endif %endif
%changelog %changelog
* Sun Sep 14 2020 xinghe <xinghe1@huawei.com> - 4.19.90-2008.6.0.0044
- add perf-tip file fix cannot load perf-tips warning
* Mon Aug 31 2020 Yang Yingliang <yangyingliang@huawei.com> - 4.19.90-2008.6.0.0043 * Mon Aug 31 2020 Yang Yingliang <yangyingliang@huawei.com> - 4.19.90-2008.6.0.0043
- arm64/config: enable TIPC module for openEuler - arm64/config: enable TIPC module for openEuler
- net: hns3: update hns3 version to 1.9.38.6 - net: hns3: update hns3 version to 1.9.38.6