From d7b8a164e4dff577f84eb89d6b1ac036ce973fc9 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Thu, 14 Jul 2005 19:20:25 -0600 Subject: [PATCH] [PATCH] Add a RPMBUILD make variable 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 Signed-off-by: Linus Torvalds --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4bc3665f2..34a54a863 100644 --- 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 @@ -186,7 +187,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 -- 2.30.2