Git development
 help / color / mirror / Atom feed
* [PATCH] Add a RPMBUILD make variable
@ 2005-07-15  1:20 Eric W. Biederman
  0 siblings, 0 replies; only message in thread
From: Eric W. Biederman @ 2005-07-15  1:20 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: git


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 <ebiederm@xmission.com>
---

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

50c6a0b3b5d461b81bd5ceb0808206bfa20a8bfa
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -21,6 +21,7 @@ bin=$(prefix)/bin
 CC=gcc
 AR=ar
 INSTALL=install
+RPMBUILD=rpmbuild
 
 #
 # 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-15  1:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-15  1:20 [PATCH] Add a RPMBUILD make variable Eric W. Biederman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox