From: Junio C Hamano Date: Tue, 24 Apr 2007 06:17:41 +0000 (-0700) Subject: Build RPM with ETC_GITCONFIG=/etc/gitconfig X-Git-Tag: v1.5.1.3~42 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bbc6354171a08e2c43d651f8645bcdb76bf9f92b;p=git.git Build RPM with ETC_GITCONFIG=/etc/gitconfig Signed-off-by: Junio C Hamano --- diff --git a/git.spec.in b/git.spec.in index 46aee88fd..87197d10e 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 {} ';'