diff --git a/git.spec b/git.spec index e183ac1..ab9f3e2 100644 --- a/git.spec +++ b/git.spec @@ -71,7 +71,7 @@ Name: git Version: 1.7.12 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast Version Control System License: GPLv2 Group: Development/Tools @@ -429,8 +429,11 @@ perl -p \ %endif %{SOURCE3} > %{buildroot}%{_sysconfdir}/xinetd.d/git +# Setup bash completion and git prompt mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d install -pm 644 contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +install -pm 644 contrib/completion/git-prompt.sh %{buildroot}%{_sysconfdir}/profile.d # Move contrib/hooks out of %%docdir and make them executable mkdir -p %{buildroot}%{_datadir}/git-core/contrib @@ -471,6 +474,7 @@ rm -rf %{buildroot} %{!?_without_docs: %doc Documentation/*.html Documentation/docbook-xsl.css} %{!?_without_docs: %doc Documentation/howto Documentation/technical} %{_sysconfdir}/bash_completion.d +%{_sysconfdir}/profile.d %files p4 %defattr(-,root,root) @@ -573,6 +577,9 @@ rm -rf %{buildroot} # No files for you! %changelog +* Thu Aug 23 2012 Todd Zullinger - 1.7.12-2 +- Install git-prompt.sh which provides __git_ps1() + * Wed Aug 22 2012 Adam Tkac - 1.7.12-1 - update to 1.7.12