On 20 Mar 2010, at 1:12 PM, Junio C Hamano wrote:
Ben Walton <bwalton@xxxxxxxxxxxxxxxxxx> writes:
Make the rpm spec file create a git-completion subpackage that
contains the bash completion support from the contrib/ directory.
Signed-off-by: Ben Walton <bwalton@xxxxxxxxxxxxxxxxxx>
---
This is the alternate method for shipping the bash completion
support.
I think I personally prefer this method, but I'd be happy to see
either solution ship as part of the .spec file so that I don't need
to
continue handling it separately.
As long as %{_sysconfdir}/bash_completion.d/ is the appropriate
place for
*all* RPM based distros, which I don't knonw, the patch looks
sensible.
The spec file provided by the author of bash-completion, Ian
Macdonald, uses this path:
http://www.caliban.org/files/redhat/SPECS/bash-completion.spec
As does the Fedora Project (including EPEL):
http://cvs.fedoraproject.org/viewvc/rpms/bash-completion/F-13/bash-completion.spec?view=markup
http://cvs.fedoraproject.org/viewvc/rpms/bash-completion/EL-5/bash-completion.spec?view=markup
OpenSUSE 11 does not appear to ship bash-completion:
http://en.opensuse.org/Package_List/11.2/DVD9
But OpenSUSE 10.3 used the same path:
http://www.novell.com/products/linuxpackages/opensuse/bash-completion.html
Mandriva uses the same path:
http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/bash-completion/current/SPECS/bash-completion.spec?view=markup
That's all the definitive information I can find at the moment.
--
Ian Ward Comfort <icomfort@xxxxxxxxxxxx>
Systems Team Lead, Academic Computing Services, Stanford University
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html