Description: Remove -o/-g ownership options from install target
 The install target used `install -g root -o root`, which fails during
 package builds because the build environment is not permitted to change
 file ownership. Packaging applies correct ownership later, so drop the
 chown options.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: vendor
Forwarded: not-needed
Last-Update: 2026-09-16

--- gkrellm2-cpufreq-0.6.4.orig/Makefile
+++ gkrellm2-cpufreq-0.6.4/Makefile
@@ -17,7 +17,7 @@ cpufreq.so: $(OBJS)
 
 install: cpufreq.so
 	install -D -m 755 -s cpufreq.so $(DESTDIR)/usr/lib/gkrellm2/plugins/cpufreq.so
-	install -g root -o root -D -m 755 cpufreqnextgovernor $(DESTDIR)/usr/sbin/cpufreqnextgovernor
+	install -D -m 755 cpufreqnextgovernor $(DESTDIR)/usr/sbin/cpufreqnextgovernor
 
 install-sudo:
 	echo "$(USER) ALL = (root) NOPASSWD: /usr/bin/cpufreq-set -c [0-9]* -g userspace" >> /etc/sudoers
