Blame SOURCES/0014-downstream-Do-not-set-root-as-ksu-file-owner.patch

d1ad9f
From fb13766f8fbd78acfcf7a150332a4e5474e4f52a Mon Sep 17 00:00:00 2001
d1ad9f
From: Julien Rische <jrische@redhat.com>
d1ad9f
Date: Mon, 9 Jan 2023 22:39:52 +0100
d1ad9f
Subject: [PATCH] [downstream] Do not set root as ksu file owner
d1ad9f
d1ad9f
Upstream Makefile uses the install command to set root as owner of the
d1ad9f
ksu executable file. However, this is no longer supported on latest
d1ad9f
versions of the Mock build environment.
d1ad9f
d1ad9f
In case of ksu, the owner, group, and mode are already set using %attr()
d1ad9f
in the specfile.
d1ad9f
---
d1ad9f
 src/config/pre.in | 2 +-
d1ad9f
 1 file changed, 1 insertion(+), 1 deletion(-)
d1ad9f
d1ad9f
diff --git a/src/config/pre.in b/src/config/pre.in
d1ad9f
index 7eaa2f351c..e9ae71471e 100644
d1ad9f
--- a/src/config/pre.in
d1ad9f
+++ b/src/config/pre.in
d1ad9f
@@ -185,7 +185,7 @@ INSTALL_PROGRAM=@INSTALL_PROGRAM@ $(INSTALL_STRIP)
d1ad9f
 INSTALL_SCRIPT=@INSTALL_PROGRAM@
d1ad9f
 INSTALL_DATA=@INSTALL_DATA@
d1ad9f
 INSTALL_SHLIB=@INSTALL_SHLIB@
d1ad9f
-INSTALL_SETUID=$(INSTALL) $(INSTALL_STRIP) -m 4755 -o root
d1ad9f
+INSTALL_SETUID=$(INSTALL)
d1ad9f
 ## This is needed because autoconf will sometimes define @exec_prefix@ to be
d1ad9f
 ## ${prefix}.
d1ad9f
 prefix=@prefix@
d1ad9f
-- 
d1ad9f
2.38.1
d1ad9f