Accepting request 982932 from devel:tools:scm
OBS-URL: https://build.opensuse.org/request/show/982932 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/git?expand=0&rev=280
This commit is contained in:
parent
226f89f2dc
commit
d036f1fd64
@ -14,7 +14,7 @@ Index: git-2.11.0/contrib/completion/git-completion.tcsh
|
|||||||
|
|
||||||
-set __git_tcsh_completion_original_script = ${HOME}/.git-completion.bash
|
-set __git_tcsh_completion_original_script = ${HOME}/.git-completion.bash
|
||||||
-set __git_tcsh_completion_script = ${HOME}/.git-completion.tcsh.bash
|
-set __git_tcsh_completion_script = ${HOME}/.git-completion.tcsh.bash
|
||||||
+set __git_tcsh_completion_original_script = /etc/bash_completion.d/git.sh
|
+set __git_tcsh_completion_original_script = /usr/share/bash-completion/completions/git
|
||||||
+set __git_tcsh_completion_script = $RPM_BUILD_ROOT/usr/share/tcsh/git.complete
|
+set __git_tcsh_completion_script = $RPM_BUILD_ROOT/usr/share/tcsh/git.complete
|
||||||
|
|
||||||
-# Check that the user put the script in the right place
|
-# Check that the user put the script in the right place
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
contrib/completion/git-completion.zsh | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
Index: git-2.30.0/contrib/completion/git-completion.zsh
|
|
||||||
===================================================================
|
|
||||||
--- git-2.30.0.orig/contrib/completion/git-completion.zsh
|
|
||||||
+++ git-2.30.0/contrib/completion/git-completion.zsh
|
|
||||||
@@ -36,6 +36,7 @@ if [ -z "$script" ]; then
|
|
||||||
"$(dirname ${funcsourcetrace[1]%:*})"/git-completion.bash
|
|
||||||
"$HOME/.local/share/bash-completion/completions/git"
|
|
||||||
"$bash_completion/git"
|
|
||||||
+ '/etc/bash_completion.d/git.sh' # suse
|
|
||||||
'/etc/bash_completion.d/git' # old debian
|
|
||||||
)
|
|
||||||
for e in $locations; do
|
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 15 19:39:55 UTC 2022 - Antoine Belvire <antoine.belvire@opensuse.org>
|
||||||
|
|
||||||
|
- Fix rpmlint errors/warnings about bash/zsh completion locations.
|
||||||
|
- Remove now obsolete git-zsh-completion-fixes.diff.
|
||||||
|
- Adjust git-tcsh-completion-fixes.diff.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 24 11:48:21 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
Tue May 24 11:48:21 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
12
git.spec
12
git.spec
@ -60,8 +60,6 @@ Patch3: completion-wordbreaks.diff
|
|||||||
Patch4: git-prevent_xss-default.diff
|
Patch4: git-prevent_xss-default.diff
|
||||||
# cook up tcsh completion to be installable (bnc#853183)
|
# cook up tcsh completion to be installable (bnc#853183)
|
||||||
Patch6: git-tcsh-completion-fixes.diff
|
Patch6: git-tcsh-completion-fixes.diff
|
||||||
# adapt paths in zsh completion (bnc#853183)
|
|
||||||
Patch7: git-zsh-completion-fixes.diff
|
|
||||||
Patch8: git-asciidoc.patch
|
Patch8: git-asciidoc.patch
|
||||||
Patch10: setup-don-t-fail-if-commondir-reference-is-deleted.patch
|
Patch10: setup-don-t-fail-if-commondir-reference-is-deleted.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -402,8 +400,8 @@ find %{buildroot}/%{_datadir}/git-core/templates -type f -name "*.sample" -exec
|
|||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
find %{buildroot}/%{_mandir} -type f -exec chmod 644 "{}" "+"
|
find %{buildroot}/%{_mandir} -type f -exec chmod 644 "{}" "+"
|
||||||
%endif
|
%endif
|
||||||
install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git.sh
|
install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/git
|
||||||
install -m 644 -D contrib/completion/git-prompt.sh %{buildroot}%{_sysconfdir}/bash_completion.d/git-prompt.sh
|
install -m 644 -D contrib/completion/git-prompt.sh %{buildroot}%{_datadir}/bash-completion/completions/git-prompt.sh
|
||||||
# contrib/credential
|
# contrib/credential
|
||||||
%if %{with git_gnome_keyring}
|
%if %{with git_gnome_keyring}
|
||||||
install -m 755 -D contrib/credential/gnome-keyring/git-credential-gnome-keyring %{buildroot}/%{gitexecdir}/git-credential-gnome-keyring
|
install -m 755 -D contrib/credential/gnome-keyring/git-credential-gnome-keyring %{buildroot}/%{gitexecdir}/git-credential-gnome-keyring
|
||||||
@ -420,7 +418,7 @@ install -m 755 -D contrib/workdir/git-new-workdir %{buildroot}/%{_bindir}
|
|||||||
install -m 644 -D git.csh %{buildroot}%{_sysconfdir}/profile.d/git.csh
|
install -m 644 -D git.csh %{buildroot}%{_sysconfdir}/profile.d/git.csh
|
||||||
)
|
)
|
||||||
# zsh completion
|
# zsh completion
|
||||||
install -m 644 -D contrib/completion/git-completion.zsh %{buildroot}%{_sysconfdir}/zsh_completion.d/_git
|
install -m 644 -D contrib/completion/git-completion.zsh %{buildroot}%{_datadir}/zsh/site-functions/_git
|
||||||
#
|
#
|
||||||
# apparmor profile for git-web
|
# apparmor profile for git-web
|
||||||
#
|
#
|
||||||
@ -573,10 +571,10 @@ fi
|
|||||||
# We want to prefer the builtin
|
# We want to prefer the builtin
|
||||||
%exclude %{gitexecdir}/git-add--interactive
|
%exclude %{gitexecdir}/git-add--interactive
|
||||||
%{_bindir}/git-new-workdir
|
%{_bindir}/git-new-workdir
|
||||||
%{_sysconfdir}/bash_completion.d/*.sh
|
%{_datadir}/bash-completion/completions/*
|
||||||
%{_datadir}/tcsh
|
%{_datadir}/tcsh
|
||||||
|
%{_datadir}/zsh/site-functions/_git
|
||||||
%{_sysconfdir}/profile.d/*.csh
|
%{_sysconfdir}/profile.d/*.csh
|
||||||
%{_sysconfdir}/zsh_completion.d
|
|
||||||
|
|
||||||
%files -n perl-Git
|
%files -n perl-Git
|
||||||
%license COPYING
|
%license COPYING
|
||||||
|
Loading…
Reference in New Issue
Block a user