summaryrefslogtreecommitdiff
path: root/git.spec.in
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-23 23:17:41 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-23 23:17:41 -0700
commitbbc6354171a08e2c43d651f8645bcdb76bf9f92b (patch)
tree2249b473f1f9e3b68dfdf63f9e5037802c2301c4 /git.spec.in
parentce748f59923b3a3d432d6e8a12366f71284b595f (diff)
downloadgit-bbc6354171a08e2c43d651f8645bcdb76bf9f92b.tar.gz
Build RPM with ETC_GITCONFIG=/etc/gitconfig
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git.spec.in')
-rw-r--r--git.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/git.spec.in b/git.spec.in
index 46aee88fd1..87197d10e1 100644
--- a/git.spec.in
+++ b/git.spec.in
@@ -86,12 +86,14 @@ Perl interface to Git
%build
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" WITH_OWN_SUBPROCESS_PY=YesPlease \
+ ETC_GITCONFIG=/etc/gitconfig \
prefix=%{_prefix} all %{!?_without_docs: doc}
%install
rm -rf $RPM_BUILD_ROOT
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" DESTDIR=$RPM_BUILD_ROOT \
WITH_OWN_SUBPROCESS_PY=YesPlease \
+ ETC_GITCONFIG=/etc/gitconfig \
prefix=%{_prefix} mandir=%{_mandir} INSTALLDIRS=vendor \
install %{!?_without_docs: install-doc}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'