diff options
author | Adam Tkac <atkac@redhat.com> | 2012-10-25 16:24:34 +0200 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2012-10-29 16:59:02 +0100 |
commit | 4985e02df93d22701393d287f3549dc48619198e (patch) | |
tree | dbbe1a154fb430b3f3a55d7a07bdad47399a7df1 | |
parent | 7fba5bee2ca88a7cc627b389a16d0f01f23ced9a (diff) | |
download | git-package-4985e02df93d22701393d287f3549dc48619198e.tar.gz git-package-4985e02df93d22701393d287f3549dc48619198e.tar.xz git-package-4985e02df93d22701393d287f3549dc48619198e.zip |
move git-prompt.sh into usr/share/git-core/contrib/completion (#854061)
Signed-off-by: Adam Tkac <atkac@redhat.com>
-rw-r--r-- | git.spec | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -71,7 +71,7 @@ Name: git Version: 1.7.12.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Fast Version Control System License: GPLv2 Group: Development/Tools @@ -432,11 +432,9 @@ perl -p \ %endif %{SOURCE3} > %{buildroot}%{_sysconfdir}/xinetd.d/git -# Setup bash completion and git prompt +# Setup bash completion 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 @@ -446,6 +444,11 @@ pushd contrib > /dev/null ln -s ../../../git-core/contrib/hooks popd > /dev/null +# Install git-prompt.sh +mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion +install -pm 644 contrib/completion/git-prompt.sh \ + %{buildroot}%{_datadir}/git-core/contrib/completion/ + # install git-gui .desktop file desktop-file-install \ %if %{use_desktop_vendor} @@ -477,7 +480,6 @@ 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) @@ -580,6 +582,9 @@ rm -rf %{buildroot} # No files for you! %changelog +* Thu Oct 25 2012 Adam Tkac <atkac redhat com> - 1.7.12.1-2 +- move git-prompt.sh into usr/share/git-core/contrib/completion (#854061) + * Thu Sep 27 2012 Adam Tkac <atkac redhat com> - 1.7.12.1-1 - update to 1.7.12.1 - cvsimport should skip more characters (#850640) |