mirror of
https://abf.rosa.ru/djam/git.git
synced 2025-02-23 09:43:00 +00:00
Move bash completions to proper place
This commit is contained in:
parent
2a86d8cb5a
commit
07f79f3587
1 changed files with 5 additions and 5 deletions
10
git.spec
10
git.spec
|
@ -7,7 +7,7 @@
|
|||
Summary: Global Information Tracker
|
||||
Name: git
|
||||
Version: 2.28.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Epoch: 1
|
||||
License: GPLv2+
|
||||
Group: Development/Tools
|
||||
|
@ -75,7 +75,7 @@ repositories from other VCS.
|
|||
%files -n git-core -f %{name}.lang
|
||||
%doc Documentation/*.html Documentation/howto Documentation/technical Documentation/RelNotes.txt.gz
|
||||
%{_sysconfdir}/emacs/site-start.d/*
|
||||
%{_sysconfdir}/bash_completion.d/*
|
||||
%{_datadir}/bash-completion/completions/*
|
||||
%{_datadir}/emacs/site-lisp/*
|
||||
%{_bindir}/git
|
||||
%{_bindir}/git-*
|
||||
|
@ -357,11 +357,11 @@ cat >%{buildroot}/etc/emacs/site-start.d/vc_git.el <<EOF
|
|||
EOF
|
||||
|
||||
# install bash-completion file
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
mkdir -p %{buildroot}%{_datadir}/bash-completion/completions/
|
||||
install -m644 contrib/completion/git-completion.bash \
|
||||
%{buildroot}%{_sysconfdir}/bash_completion.d/git
|
||||
%{buildroot}%{_datadir}/bash-completion/completions/git
|
||||
install -m644 contrib/completion/git-prompt.sh \
|
||||
%{buildroot}%{_sysconfdir}/bash_completion.d/git-prompt
|
||||
%{buildroot}%{_datadir}/bash-completion/completions/git-prompt
|
||||
|
||||
# And the prompt manipulation file
|
||||
install -D -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/%{profile_branch}
|
||||
|
|
Loading…
Add table
Reference in a new issue