File dont-build-as-root.diff of Package mirror.10321

Index: makefile
===================================================================
--- makefile.orig
+++ makefile
@@ -64,8 +64,6 @@ ci:
 PLMODE = 644
 # mode to install executables
 EXMODE = 755
-# group to own all the files
-GRP = root
 # directory to install .pl (perl library) files
 PLDIR = /usr/local/perl5/lib/perl5
 # directory to install public executables
@@ -74,30 +72,30 @@ BINDIR = /usr/bin
 MANDIR = /usr/share/man/man1
 
 install:
-	install -m $(PLMODE) -g $(GRP) lchat.pl $(DESTDIR)$(PLDIR)
-	install -m $(PLMODE) -g $(GRP) dateconv.pl $(DESTDIR)$(PLDIR)
-	install -m $(PLMODE) -g $(GRP) ftp.pl $(DESTDIR)$(PLDIR)/lftp.pl
-	install -m $(PLMODE) -g $(GRP) lsparse.pl $(DESTDIR)$(PLDIR)
-	install -m $(PLMODE) -g $(GRP) mirror.defaults $(DESTDIR)$(PLDIR)
-	install -m $(EXMODE) -g $(GRP) mirror.pl $(DESTDIR)$(BINDIR)/mirror
-	install -m $(EXMODE) -g $(GRP) do_unlinks.pl $(DESTDIR)$(BINDIR)/do_unlinks
-	install -m $(EXMODE) -g $(GRP) pkgs_to_mmin.pl $(DESTDIR)$(BINDIR)/pkgs_to_mmin
-	install -m $(EXMODE) -g $(GRP) mm.pl $(DESTDIR)$(BINDIR)/mirror-master
-	install -m $(PLMODE) -g $(GRP) mirror.man $(DESTDIR)$(MANDIR)/mirror.1
-	install -m $(PLMODE) -g $(GRP) mm.man $(DESTDIR)$(MANDIR)/mirror-master.1
+	install -m $(PLMODE) lchat.pl $(DESTDIR)$(PLDIR)
+	install -m $(PLMODE) dateconv.pl $(DESTDIR)$(PLDIR)
+	install -m $(PLMODE) ftp.pl $(DESTDIR)$(PLDIR)/lftp.pl
+	install -m $(PLMODE) lsparse.pl $(DESTDIR)$(PLDIR)
+	install -m $(PLMODE) mirror.defaults $(DESTDIR)$(PLDIR)
+	install -m $(EXMODE) mirror.pl $(DESTDIR)$(BINDIR)/mirror
+	install -m $(EXMODE) do_unlinks.pl $(DESTDIR)$(BINDIR)/do_unlinks
+	install -m $(EXMODE) pkgs_to_mmin.pl $(DESTDIR)$(BINDIR)/pkgs_to_mmin
+	install -m $(EXMODE) mm.pl $(DESTDIR)$(BINDIR)/mirror-master
+	install -m $(PLMODE) mirror.man $(DESTDIR)$(MANDIR)/mirror.1
+	install -m $(PLMODE) mm.man $(DESTDIR)$(MANDIR)/mirror-master.1
 
 # directory to install .pl (perl library) files for rperl
 RPLDIR = /usr/local/rperl5/lib/perl5
 
 rinstall:
 	sed 's/^\#!\/bin\/perl5/\#!\/bin\/rperl5/g' < mirror.pl > rmirror.pl
-	install -m $(PLMODE) -g $(GRP) lchat.pl $(RPLDIR)
-	install -m $(PLMODE) -g $(GRP) dateconv.pl $(RPLDIR)
-	install -m $(PLMODE) -g $(GRP) ftp.pl $(RPLDIR)
-	install -m $(PLMODE) -g $(GRP) lsparse.pl $(RPLDIR)
-	install -m $(EXMODE) -g $(GRP) rmirror.pl $(BINLDIR)/mirror
-	install -m $(EXMODE) -g $(GRP) do_unlinks.pl $(BINDIR)/do_unlinks
-	install -m $(EXMODE) -g $(GRP) pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
-	install -m $(EXMODE) -g $(GRP) mm.pl $(BINDIR)/mirror-master
-	install -m $(PLMODE) -g $(GRP) mirror.man $(MANDIR)/mirror.1
-	install -m $(PLMODE) -g $(GRP) mm.man $(MANDIR)/mirror-master.1
+	install -m $(PLMODE) lchat.pl $(RPLDIR)
+	install -m $(PLMODE) dateconv.pl $(RPLDIR)
+	install -m $(PLMODE) ftp.pl $(RPLDIR)
+	install -m $(PLMODE) lsparse.pl $(RPLDIR)
+	install -m $(EXMODE) rmirror.pl $(BINLDIR)/mirror
+	install -m $(EXMODE) do_unlinks.pl $(BINDIR)/do_unlinks
+	install -m $(EXMODE) pkgs_to_mmin.pl $(BINDIR)/pkgs_to_mmin
+	install -m $(EXMODE) mm.pl $(BINDIR)/mirror-master
+	install -m $(PLMODE) mirror.man $(MANDIR)/mirror.1
+	install -m $(PLMODE) mm.man $(MANDIR)/mirror-master.1
openSUSE Build Service is sponsored by