> > Is there a reason anyone
> > should use yummain.py instead of yum on a production system?
> 
> Dunno, but I think there's plenty of reason for yum devs and people
> who like to live on the bleeding edge to do it (at least I did), and I
> can't foresee any problems with installing the additional convenience
> symlinks.

*.py symlinks to shell scripts break poor brp-python-bytecompile.
Could be worked around, but is it worth the hassle?

> 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?

Makefile:

    compdir = $(shell pkg-config --variable=completionsdir bash-completion)
    mkdir -p $(DESTDIR)/$(compdir)
    install -m 644 yum.bash $(DESTDIR)/$(compdir)/yum
    ln -s yum $(DESTDIR)/$(compdir)/yummain.py

build.log:

    mkdir -p /builddir/build/BUILDROOT/yum-3.4.3-78.fc20.noarch/
    install -m 644 yum.bash 
/builddir/build/BUILDROOT/yum-3.4.3-78.fc20.noarch//yum
    ln -s yum /builddir/build/BUILDROOT/yum-3.4.3-78.fc20.noarch//yummain.py

_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to