зеркало из https://github.com/microsoft/git.git
RPM spec: include bash completion support
Include the bash completion routines from the contrib/ directory in our core RPM, in the de facto standard location. Signed-off-by: Ian Ward Comfort <icomfort@stanford.edu> Acked-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
6a6955134b
Коммит
3bfdf87c47
|
@ -127,6 +127,9 @@ find $RPM_BUILD_ROOT -type f -name perllocal.pod -exec rm -f {} ';'
|
||||||
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
|
||||||
|
install -m 644 -T contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/git
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
@ -136,6 +139,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%doc README COPYING Documentation/*.txt
|
%doc README COPYING Documentation/*.txt
|
||||||
%{!?_without_docs: %doc Documentation/*.html Documentation/howto}
|
%{!?_without_docs: %doc Documentation/*.html Documentation/howto}
|
||||||
%{!?_without_docs: %doc Documentation/technical}
|
%{!?_without_docs: %doc Documentation/technical}
|
||||||
|
%{_sysconfdir}/bash_completion.d
|
||||||
|
|
||||||
%files svn
|
%files svn
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
@ -192,6 +196,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 26 2010 Ian Ward Comfort <icomfort@stanford.edu>
|
||||||
|
- Ship bash completion support from contrib/ in the core package.
|
||||||
|
|
||||||
* Sun Jan 31 2010 Junio C Hamano <gitster@pobox.com>
|
* Sun Jan 31 2010 Junio C Hamano <gitster@pobox.com>
|
||||||
- Do not use %define inside %{!?...} construct.
|
- Do not use %define inside %{!?...} construct.
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче