%bcond_without verbose # verbose build (V=1)
%bcond_without perf # perf tools
-%define rel 5
-%define basever 3.8
-%define postver .6
+%define rel 1
+%define basever 3.9
+%define postver .5
Summary: Assortment of tools for the Linux kernel
Summary(pl.UTF-8): Zestaw narzędzi dla jądra Linuksa
Name: kernel-tools
License: GPL v2
Group: Applications/System
Source0: http://www.kernel.org/pub/linux/kernel/v3.x/linux-%{basever}.tar.xz
-# Source0-md5: 1c738edfc54e7c65faeb90c436104e2f
+# Source0-md5: 4348c9b6b2eb3144d601e87c19d5d909
%if "%{postver}" != ".0"
-Patch0: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.bz2
-# Patch0-md5: ab255ca10073bbaab3218e024d9f8568
+Patch0: http://www.kernel.org/pub/linux/kernel/v3.x/patch-%{version}.xz
+# Patch0-md5: aa22187ae5cd482a69097e9e59244491
%endif
Source1: cpupower.service
Source2: cpupower.config
CFLAGS="%{rpmcflags}"
%{__make} -C tools/power/x86/turbostat \
CC="%{__cc}" \
- CFLAGS="%{rpmcflags} -Wall"
+ CFLAGS="%{rpmcflags} -Wall -I../../../../arch/x86/include/uapi/"
%endif
# slabinfo