[packages/kernel-tools] - up to 3.16.1

arekm arekm at pld-linux.org
Mon Aug 25 20:25:10 CEST 2014


commit eb373af4cf591764515b52b154fa088dc7ad4634
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Aug 25 20:25:05 2014 +0200

    - up to 3.16.1

 kernel-tools.spec | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)
---
diff --git a/kernel-tools.spec b/kernel-tools.spec
index a4ffb4c..02666f3 100644
--- a/kernel-tools.spec
+++ b/kernel-tools.spec
@@ -10,8 +10,8 @@
 %bcond_without	perf		# perf tools
 %bcond_without	gtk		# gtk perf version
 
-%define		basever		3.10
-%define		postver		.33
+%define		basever		3.16
+%define		postver		.1
 Summary:	Assortment of tools for the Linux kernel
 Summary(pl.UTF-8):	Zestaw narzędzi dla jądra Linuksa
 Name:		kernel-tools
@@ -20,10 +20,10 @@ Release:	1
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz
-# Source0-md5:	4f25cd5bec5f8d5a7d935b3f2ccb8481
+# Source0-md5:	5c569ed649a0c9711879f333e90c5386
 %if "%{postver}" != ".0"
 Patch0:		https://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz
-# Patch0-md5:	2a453acf41c3f28122a7cabd3d4acbf5
+# Patch0-md5:	9da4b0f5e343455b8141bcfa47e88cf5
 %endif
 Source1:	cpupower.service
 Source2:	cpupower.config
@@ -56,6 +56,9 @@ BuildRequires:	pkgconfig
 %endif
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# otherwise /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
+%define		_enable_debug_packages	0
+
 %define		makeopts	CC="%{__cc}" %{?with_verbose:V=1}
 
 %description
@@ -212,6 +215,8 @@ cd linux-%{basever}
 %patch0 -p1
 %endif
 
+sed -i -e 's#libexec/perf-core#%{_datadir}/perf-core#g' tools/perf/config/Makefile
+
 %build
 cd linux-%{basever}
 
@@ -464,6 +469,10 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_datadir}/perf-core/scripts/python/bin/*
 %{_datadir}/perf-core/scripts/python/*.py*
 
+%dir %{_libdir}/traceevent
+%dir %{_libdir}/traceevent/plugins
+%attr(755,root,root) %{_libdir}/traceevent/plugins/plugin_*.so
+
 %if %{with gtk}
 %files perf-gtk
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kernel-tools.git/commitdiff/eb373af4cf591764515b52b154fa088dc7ad4634



More information about the pld-cvs-commit mailing list