On Thu, Aug 23, 2012 at 12:23:48PM -0400, Stephen Gallagher wrote:
On Wed, 2012-08-22 at 16:12 -0700, Adam Williamson wrote:
> because upstream split the prompt stuff out from the bash_completion
> script. Perhaps the git packagers could consider providing git-prompt.sh
> in a more permanent location, so we don't have to poke .bashrc every
> time the git version changes? Thanks!
This is actually a packaging violation. %doc files are not allowed to
impact runtime operation. It would be one thing if this was presented as
an example file or template that you were expected to modify and put
into the right location on your own.
Realistically, this belongs in %{_datadir} somewhere, not %{doc}
The subversion package does this too. I suppose you could argue that
some of the files are "examples," but sometimes those "examples" are
so
complete that they're usable as is (scripts, xslt files, etc).
--
Scott Schmit