diff --git a/cpupower.spec b/cpupower.spec index 0ad4201..c21ca79 100644 --- a/cpupower.spec +++ b/cpupower.spec @@ -29,12 +29,11 @@ Group: System/Base Source: %{name}-%{version}.tar.bz2 Source1: turbostat-%{tsversion}.tar.bz2 Source2: cpupower_export_tarball_from_git.sh +Source3: msr-index.h Patch20: turbostat_fix_man_perm.patch Patch21: make_header_file_passable_from_outside.patch -%if 0%{?suse_version} <= 1315 -Source3: msr-index.h Patch22: turbostat_set_asm_header_fixed.patch -%else +%if 0%{?suse_version} > 1315 BuildRequires: linux-glibc-devel %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build