git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C HamanoNext: Ben Walton
Message 4 of 8 in “RPM spec: optionally include bash completion support”
  1. RPM spec: optionally include bash completion supportIan Ward Comfort, Mar 20, 2010
  2. Add a git-completion rpm subpackage to the specBen Walton, Mar 20, 2010
  3. Junio C HamanoMar 20, 2010
  4. Ian Ward ComfortMar 20, 2010
  5. Ben WaltonMar 20, 2010
  6. Junio C HamanoMar 21, 2010
  7. Todd ZullingerMar 21, 2010
  8. Ben WaltonMar 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.