Description: Remove -g bin from make install to allow non-root builds
 The install target hardcodes `install -g bin`, which tries to chown the
 installed files to group bin and fails with "Operation not permitted" when
 building as a non-root user. Drop the -g bin option; ownership is handled
 by the packaging tools (fakeroot) instead.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: other
Forwarded: not-needed
Last-Update: 2026-09-02

--- gfaim-0.30.orig/Makefile
+++ gfaim-0.30/Makefile
@@ -11,8 +11,8 @@ clean:
 install:
 	install -d $(DESTDIR)/usr/bin
 	install -d $(DESTDIR)/usr/lib/gfaim
-	install -g bin -m 755 gfaim $(DESTDIR)/usr/bin
-	install -g bin -m 755 imprec $(DESTDIR)/$(IMPRECDIR)
+	install -m 755 gfaim $(DESTDIR)/usr/bin
+	install -m 755 imprec $(DESTDIR)/$(IMPRECDIR)
 	install -d $(DESTDIR)/$(DATADIR)
 	install -d $(DESTDIR)/usr/share/doc/gfaim
 	install *.dat *.idx -m 644 $(DESTDIR)/$(DATADIR)
