Skip to content

Commit

Permalink
Build RPM with ETC_GITCONFIG=/etc/gitconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Apr 24, 2007
1 parent ce748f5 commit bbc6354
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 {} ';'
Expand Down

0 comments on commit bbc6354

Please sign in to comment.