SHA256
1
0
forked from pool/cpupower
Thomas Renninger 2015-01-28 18:32:27 +00:00 committed by Git OBS Bridge
parent 60e17861c8
commit 52a61ee8e3

View File

@ -32,7 +32,7 @@ Source1: turbostat-%{tsversion}.tar.bz2
Source2: cpupower_export_tarball_from_git.sh
Patch20: turbostat_fix_man_perm.patch
Patch21: make_header_file_passable_from_outside.patch
%if 0%{?suse_version} <= 1310
%if 0%{?suse_version} <= 1315
Source3: msr-index.h
Patch22: turbostat_set_asm_header_fixed.patch
%endif
@ -84,7 +84,7 @@ powersave module.
cd ../turbostat-%{tsversion}
%patch20 -p1
%patch21 -p1
%if 0%{?suse_version} <= 1310
%if 0%{?suse_version} <= 1315
%patch22 -p1
%endif
@ -98,7 +98,7 @@ make $CONF %{?_smp_mflags}
%ifarch ix86 x86_64
cd ../turbostat-%{tsversion}
%if 0%{?suse_version} <= 1310
%if 0%{?suse_version} <= 1315
cp %{SOURCE3} .
%endif
CFLAGS="%optflags -I. -DMSRHEADER=\"<asm/msr-index.h>\"" make %{?_smp_mflags}