]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
set owner/group in released tar
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Feb 2014 16:47:43 +0000 (17:47 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 19 Feb 2014 16:52:47 +0000 (17:52 +0100)
Makefile.in

index 58a2771d8f44cb6936fd703e455a8a1740a33f3f..39ec50543f6c4d8d7e47a48834feff6f2a021a39 100644 (file)
@@ -169,7 +169,7 @@ create-archive: Makefile
        @rm -rf /tmp/newt-$(VERSION)
        @git archive --prefix=newt-$(VERSION)/ $(TAG) | tar x -C /tmp
        @cd /tmp/newt-$(VERSION) && ./autogen.sh && rm -rf autom4te.cache .tx .gitignore
-       @cd /tmp; tar czSpf newt-$(VERSION).tar.gz newt-$(VERSION)
+       @cd /tmp; tar c --owner root --group root newt-$(VERSION) | gzip -9 > newt-$(VERSION).tar.gz
        @rm -rf /tmp/newt-$(VERSION)
        @cp /tmp/newt-$(VERSION).tar.gz .
        @rm -f /tmp/newt-$(VERSION).tar.gz