File no_suid_install.patch of Package cde

diff -Nraub cde-2.5.0.ori/programs/dtsearchpath/dtappg/Makefile.am cde-2.5.0/programs/dtsearchpath/dtappg/Makefile.am
--- cde-2.5.0.ori/programs/dtsearchpath/dtappg/Makefile.am	2022-07-23 16:52:32.000000000 -0400
+++ cde-2.5.0/programs/dtsearchpath/dtappg/Makefile.am	2022-09-06 01:07:22.183710134 -0400
@@ -11,8 +11,3 @@
 endif
 
 dtappgather_SOURCES = Options.C dtappgather.C dtappgather.h Options.h
-
-# can't use INSTALL here as the program is already installed
-install-exec-hook:
-	chown root $(DESTDIR)$(bindir)/dtappgather
-	chmod 4755 $(DESTDIR)$(bindir)/dtappgather
diff -Nraub cde-2.5.2.ori/programs/dtterm/Makefile.am cde-2.5.2/programs/dtterm/Makefile.am
--- cde-2.5.2.ori/programs/dtterm/Makefile.am     2025-08-16 08:10:34.201378709 -0400
+++ cde-2.5.2/programs/dtterm/Makefile.am 2025-08-16 08:10:44.508994184 -0400
@@ -48,8 +48,4 @@
 	CPP="$(GENCPP)" $(SHELL) terminfoCreate < terminfoChecklist > $@
 
 install-exec-hook:
-if !HAS_UTEMPTER_LIBRARY
-	chown root $(DESTDIR)$(bindir)/dtterm
-	chmod 4755 $(DESTDIR)$(bindir)/dtterm
-endif
 	@TIC@ dtterm.ti
openSUSE Build Service is sponsored by