File man-db-2.9.4-no-chown.patch of Package man

Index: man-db-2.10.2/src/Makefile.am
===================================================================
---
 man-db-2.11.2/src/Makefile.am |   11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

--- man-db-2.11.2/src/Makefile.am
+++ man-db-2.11.2/src/Makefile.am	2023-08-15 09:13:30.418162015 +0000
@@ -196,16 +196,7 @@ apropos$(EXEEXT): whatis$(EXEEXT)
 all-am: apropos$(EXEEXT)
 
 install-exec-hook:
-	if [ "$(man_owner)" ] && [ "$(man_mode)" = 6755 ]; then \
-		chown $(man_owner):$(man_owner) \
-			$(DESTDIR)$(bindir)/$(TRANS_MAN)$(EXEEXT) \
-			$(DESTDIR)$(bindir)/$(TRANS_MANDB)$(EXEEXT); \
-	fi
-	chmod $(man_mode) \
-		$(DESTDIR)$(bindir)/$(TRANS_MAN)$(EXEEXT) \
-		$(DESTDIR)$(bindir)/$(TRANS_MANDB)$(EXEEXT)
-	cd $(DESTDIR)$(bindir) && rm -f $(TRANS_APROPOS)$(EXEEXT) && \
-		$(LN_S) $(TRANS_WHATIS)$(EXEEXT) $(TRANS_APROPOS)$(EXEEXT)
+	$(LN_S) $(TRANS_WHATIS) $(DESTDIR)$(bindir)/$(TRANS_APROPOS)
 
 install-data-hook:
 	@if test -f $(DESTDIR)$(config_file); then \
openSUSE Build Service is sponsored by