diff --git a/libpfm.changes b/libpfm.changes index 91a1b1a..0f37efd 100644 --- a/libpfm.changes +++ b/libpfm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 19 18:17:58 UTC 2016 - tonyj@suse.com + +- Package useful utilities (check_events. evt2raw and showevtinfo) + in devel package. + ------------------------------------------------------------------- Fri Mar 13 14:13:09 UTC 2015 - tchvatal@suse.com diff --git a/libpfm.spec b/libpfm.spec index fb72cdf..6f29d5b 100644 --- a/libpfm.spec +++ b/libpfm.spec @@ -1,7 +1,7 @@ # # spec file for package libpfm # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -88,6 +88,10 @@ make \ %{python_config} \ LDCONFIG=/bin/true \ install +mkdir -p %{buildroot}/%{_bindir} +install -m 0755 examples/check_events %{buildroot}/%{_bindir}/check_events +install -m 0755 examples/showevtinfo %{buildroot}/%{_bindir}/showevtinfo +install -m 0755 perf_examples/evt2raw %{buildroot}/%{_bindir}/evt2raw # temp hack to fix rpmlint file-contains-buildroot for *.pyc # http://lists.opensuse.org/opensuse-factory/2012-01/msg00235.html @@ -108,6 +112,9 @@ python -c 'import compileall; compileall.compile_dir("%{buildroot}%{python_sitea %{_includedir}/* %{_mandir}/man3/* %{_libdir}/lib*.so +%attr(755,root,root) %{_bindir}/check_events +%attr(755,root,root) %{_bindir}/showevtinfo +%attr(755,root,root) %{_bindir}/evt2raw %files devel-static %defattr(-,root,root)