Skip to content

Commit 325904b

Browse files
author
John B. Wyatt IV
committed
Fix packaging for libcpupower python binding debuginfo
JIRA: https://issues.redhat.com/browse/RHEL-83442 Upstream Status: https://gitlab.com/cki-project/kernel-ark.git commit ec31cfacc39be1563c317fa2e2b07623c72a7111 Author: Justin M. Forbes <jforbes@fedoraproject.org> Date: Mon Sep 8 12:39:14 2025 -0600 Fix packaging for libcpupower python binding debuginfo Because we did not add _raw_pylibcpupower.so.debug to the debuginfo list, it ended up the top level kernel-debuginfo-common package. This creates file conflicts because the kernel package keeps multiple copies on most systems. This just moves _raw_pylibcpupower.so.debug to the kernel-tools-debuginfo package where it belongs. Fixes rhbz 2393622 Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org> Signed-off-by: John B. Wyatt IV <jwyatt@redhat.com>
1 parent a30addf commit 325904b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redhat/kernel.spec.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1340,7 +1340,7 @@ This package provides debug information for package %{package_name}-tools.
13401340
# symlinks because of the trailing nonmatching alternation and
13411341
# the leading .*, because of find-debuginfo.sh's buggy handling
13421342
# of matching the pattern against the symlinks file.
1343-
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/bootconfig(\.debug)?|.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/gpio-watch(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|.*%%{_bindir}/intel-speed-select(\.debug)?|.*%%{_bindir}/page_owner_sort(\.debug)?|.*%%{_bindir}/slabinfo(\.debug)?|.*%%{_sbindir}/intel_sdsi(\.debug)?|XXX' -o %{package_name}-tools-debuginfo.list}
1343+
%{expand:%%global _find_debuginfo_opts %{?_find_debuginfo_opts} -p '.*%%{_bindir}/bootconfig(\.debug)?|.*%%{_bindir}/centrino-decode(\.debug)?|.*%%{_bindir}/powernow-k8-decode(\.debug)?|.*%%{_bindir}/cpupower(\.debug)?|.*%%{_libdir}/libcpupower.*|.*%%{python3_sitearch}/_raw_pylibcpupower.*|.*%%{_bindir}/turbostat(\.debug)?|.*%%{_bindir}/x86_energy_perf_policy(\.debug)?|.*%%{_bindir}/tmon(\.debug)?|.*%%{_bindir}/lsgpio(\.debug)?|.*%%{_bindir}/gpio-hammer(\.debug)?|.*%%{_bindir}/gpio-event-mon(\.debug)?|.*%%{_bindir}/gpio-watch(\.debug)?|.*%%{_bindir}/iio_event_monitor(\.debug)?|.*%%{_bindir}/iio_generic_buffer(\.debug)?|.*%%{_bindir}/lsiio(\.debug)?|.*%%{_bindir}/intel-speed-select(\.debug)?|.*%%{_bindir}/page_owner_sort(\.debug)?|.*%%{_bindir}/slabinfo(\.debug)?|.*%%{_sbindir}/intel_sdsi(\.debug)?|XXX' -o %{package_name}-tools-debuginfo.list}
13441344

13451345
%package -n rtla
13461346
%if 0%{gemini}

0 commit comments

Comments
 (0)