This allows RPMBUILD to be overridden for people with
old versions of rpm or people who want to pass rpmbuild extra options.

Signed-off-by: Eric W. Biederman <[EMAIL PROTECTED]>

 Makefile |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ bin=$(prefix)/bin
 # sparse is architecture-neutral, which means that we need to tell it
@@ -185,7 +186,7 @@ dist: git-core.spec git-tar-tree
        gzip -9 $(GIT_TARNAME).tar
 rpm: dist
-       rpmbuild -ta git-core-$(GIT_VERSION).tar.gz
+       $(RPMBUILD) -ta git-core-$(GIT_VERSION).tar.gz
 test: all
        $(MAKE) -C t/ all
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to