[PATCH] Use gzip -f when building the git-core tarball
This allows rebuilding the tarball when it is already present without having to answer annoying questions from gzip Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
d7b8a164e4
commit
9dce3c0617
2
Makefile
2
Makefile
@ -184,7 +184,7 @@ dist: git-core.spec git-tar-tree
|
|||||||
@cp git-core.spec $(GIT_TARNAME)
|
@cp git-core.spec $(GIT_TARNAME)
|
||||||
tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
|
tar rf $(GIT_TARNAME).tar $(GIT_TARNAME)/git-core.spec
|
||||||
@rm -rf $(GIT_TARNAME)
|
@rm -rf $(GIT_TARNAME)
|
||||||
gzip -9 $(GIT_TARNAME).tar
|
gzip -f -9 $(GIT_TARNAME).tar
|
||||||
|
|
||||||
rpm: dist
|
rpm: dist
|
||||||
$(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
|
$(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user