Re: [PATCH] Add a git-completion rpm subpackage to the spec
- From
Ian Ward Comfort <icomfort@stanford.edu>
- Date
- Mar 20, 2010, 21:01 UTC
- Message-ID
- <C774706E-5228-42F2-9DC9-094DF98D5ED2@stanford.edu>
- In-Reply-To
- <7v8w9mda6l.fsf@alter.siamese.dyndns.org>
On 20 Mar 2010, at 1:12 PM, Junio C Hamano wrote:
Show 19 quoted lines
> Ben Walton <bwalton@artsci.utoronto.ca> 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@artsci.utoronto.ca>
>> ---
>>
>> 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@stanford.edu> Systems Team Lead, Academic Computing Services, Stanford University