]> git.pld-linux.org Git - packages/kernel-tools.git/blobdiff - kernel-tools.spec
up to 5.19.0
[packages/kernel-tools.git] / kernel-tools.spec
index d18714e040a8cc4b657c40176d68f9e2e5a221fc..821631b82d705819b58786c9de7a95c8c88fc625 100644 (file)
@@ -19,7 +19,7 @@
 %undefine      with_multilib
 %endif
 
-%define                basever         5.16
+%define                basever         5.19
 %define                postver         .0
 Summary:       Assortment of tools for the Linux kernel
 Summary(pl.UTF-8):     Zestaw narzędzi dla jądra Linuksa
@@ -29,12 +29,13 @@ Release:    1
 License:       GPL v2
 Group:         Applications/System
 Source0:       https://www.kernel.org/pub/linux/kernel/v5.x/linux-%{basever}.tar.xz
-# Source0-md5: e6680ce7c989a3efe58b51e3f3f0bf93
+# Source0-md5: f91bfe133d2cb1692f705947282e123a
 Source1:       cpupower.service
 Source2:       cpupower.config
+Source3:       cpupower@.service
 %if "%{postver}" != ".0"
 Patch0:                https://www.kernel.org/pub/linux/kernel/v5.x/patch-%{version}.xz
-# Patch0-md5:  0e03bc49d0db9ae31a5086ec49be3768
+# Patch0-md5:  5a015eeaa9a3bf5bea84290f54ccf48d
 %endif
 Patch1:                x32.patch
 Patch2:                regex.patch
@@ -95,6 +96,8 @@ BuildRequires:        libtool >= 2:2
 BuildRequires: libwrap-devel
 BuildRequires: udev-devel
 %endif
+# /usr/bin/turbostat
+Conflicts:     pmtools < 20110323-2
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # otherwise /usr/lib/rpm/bin/debugedit: canonicalization unexpectedly shrank by one character
@@ -574,6 +577,7 @@ cd linux-%{basever}
 install -d $RPM_BUILD_ROOT{/etc/sysconfig,%{systemdunitdir}}
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdunitdir}/cpupower.service
 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/cpupower
+cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/cpupower@.service
 
 %ifarch %{ix86} x32
 install -p tools/power/cpupower/debug/i386/{centrino,powernow-k8}-decode $RPM_BUILD_ROOT%{_bindir}
@@ -710,6 +714,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/cpupower
 %{_mandir}/man1/cpupower*.1*
 %{systemdunitdir}/cpupower.service
+%{systemdunitdir}/cpupower@.service
 %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/cpupower
 
 %files cpupower-libs
@@ -750,7 +755,6 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{_libdir}/perf-core
 %attr(755,root,root) %{_libdir}/perf-core/perf-archive
 %attr(755,root,root) %{_libdir}/perf-core/perf-iostat
-%attr(755,root,root) %{_libdir}/perf-core/perf-with-kcore
 %dir %{_libdir}/perf-core/dlfilters
 %attr(755,root,root) %{_libdir}/perf-core/dlfilters/dlfilter-show-cycles.so
 %attr(755,root,root) %{_libdir}/perf-core/dlfilters/dlfilter-test-api-v0.so
This page took 0.028819 seconds and 4 git commands to generate.