setup bash completion
This commit is contained in:
parent
cf95faee08
commit
8cac424ecc
16
git.spec
16
git.spec
@ -1,7 +1,7 @@
|
|||||||
%global gitexecdir %{_libexecdir}/git-core
|
%global gitexecdir %{_libexecdir}/git-core
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.23.0
|
Version: 2.23.0
|
||||||
Release: 12
|
Release: 13
|
||||||
Summary: A popular and widely used Version Control System
|
Summary: A popular and widely used Version Control System
|
||||||
License: GPLv2+ or LGPLv2.1
|
License: GPLv2+ or LGPLv2.1
|
||||||
URL: https://git-scm.com/
|
URL: https://git-scm.com/
|
||||||
@ -171,6 +171,10 @@ install -p -m 644 README.md %{buildroot}%{_pkgdocdir}
|
|||||||
install -p -m 644 gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
|
install -p -m 644 gitweb/INSTALL %{buildroot}%{_pkgdocdir}/INSTALL.gitweb
|
||||||
install -p -m 644 gitweb/README %{buildroot}%{_pkgdocdir}/README.gitweb
|
install -p -m 644 gitweb/README %{buildroot}%{_pkgdocdir}/README.gitweb
|
||||||
|
|
||||||
|
#setup bash completion
|
||||||
|
install -Dpm 644 contrib/completion/git-completion.bash %{buildroot}%{_datadir}/bash-completion/completion/git
|
||||||
|
ln -s git %{buildroot}%{_datadir}/bash-completion/completion/gitk
|
||||||
|
|
||||||
# install contrib to git-core
|
# install contrib to git-core
|
||||||
mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
|
mkdir -p %{buildroot}%{_datadir}/git-core/contrib/completion
|
||||||
mv contrib/hooks/multimail/git_multimail{.py,}
|
mv contrib/hooks/multimail/git_multimail{.py,}
|
||||||
@ -221,6 +225,7 @@ make test
|
|||||||
%files -f git-bin-files
|
%files -f git-bin-files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_datadir}/git-core/
|
%{_datadir}/git-core/
|
||||||
|
%{_datadir}/bash-completion/completion
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LGPL-2.1 COPYING
|
%license LGPL-2.1 COPYING
|
||||||
|
|
||||||
@ -271,8 +276,13 @@ make test
|
|||||||
%{_mandir}/man7/git*.7.*
|
%{_mandir}/man7/git*.7.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.2
|
* Tue Apr 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.23.0-13
|
||||||
3.0-12
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:setup bash completion
|
||||||
|
|
||||||
|
* Thu Mar 19 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.23.0-12
|
||||||
- skip updating the preference during running test suite
|
- skip updating the preference during running test suite
|
||||||
|
|
||||||
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.23.0-11
|
* Sat Mar 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.23.0-11
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user