On Wed, Mar 20, 2013 at 2:23 PM, Zdenek Pavlas <[email protected]> wrote:
> *.py symlinks to shell scripts break poor brp-python-bytecompile.
> Could be worked around, but is it worth the hassle?

You be the judge, I don't insist.

>> Oh, and instead of hardcoding the completions dir, it'd be better to
>> get it from "pkg-config --variable=completionsdir bash-completion".
>
> Hmm, is this supposed to work on koji?

Yes, provided that bash-completion is installed, i.e. "BuildRequires:
bash-completion" is in place -- that's where bash-completion.pc comes
from.

In order to support earlier bash completion versions I'd probably do
something like this (untested):
compdir := $(shell pkg-config --variable=completionsdir
bash-completion 2>/dev/null || echo /etc/bash_completion.d)
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to