From: Adam Williamson <awilliam@xxxxxxxxxx> redhat: kernel.spec: fix build with merged-sbin See https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin. intel_sdsi is still installed to /usr/sbin, but rpm %_sbindir is now defined as /usr/bin. https://bugzilla.redhat.com/show_bug.cgi?id=2337459 Signed-off-by: Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> 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 @@ -3390,7 +3390,7 @@ chmod 0755 %{buildroot}%{_libdir}/libcpupower.so* %{tools_make} DESTDIR=%{buildroot} install popd pushd tools/arch/x86/intel_sdsi - %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} install + %{tools_make} CFLAGS="${RPM_OPT_FLAGS}" DESTDIR=%{buildroot} BINDIR=%{_sbindir} install popd %endif pushd tools/thermal/tmon -- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3595 -- _______________________________________________ kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue