From: Thorsten Leemhuis <fed...@leemhuis.info> package the newly added cpupower.service
Handle the new cpupower.service which was added upstream starting with 9c70b779ad ("cpupower: add a systemd service to run cpupower"). Signed-off-by: Thorsten Leemhuis <fed...@leemhuis.info> diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template index blahblah..blahblah 100644 --- a/redhat/kernel.spec.template +++ b/redhat/kernel.spec.template @@ -3447,7 +3447,7 @@ rm -rf %{buildroot}%{_libdir}/libperf.a %if %{with_tools} %ifarch %{cpupowerarchs} -%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} mandir=%{_mandir} CPUFREQ_BENCH=false install +%{make} -C tools/power/cpupower DESTDIR=$RPM_BUILD_ROOT libdir=%{_libdir} libexecdir=%{_libexecdir} mandir=%{_mandir} unitdir=%{_unitdir} CPUFREQ_BENCH=false install %find_lang cpupower mv cpupower.lang ../ %ifarch x86_64 @@ -4010,6 +4010,9 @@ fi\ %else %files -n %{package_name}-tools -f cpupower.lang %{_bindir}/cpupower +%{_libexecdir}/cpupower +%{_unitdir}/cpupower.service +%config(noreplace) %{_sysconfdir}/cpupower-service.conf %{_datadir}/bash-completion/completions/cpupower %ifarch x86_64 %{_bindir}/centrino-decode -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3884 -- _______________________________________________ kernel mailing list -- kernel@lists.fedoraproject.org To unsubscribe send an email to kernel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue