> Cleaner IMO, upstream supported way, and one subshell + pkg-config
> invocation less.

Yes, it's cleaner.  Can we use _xfunc in rhel7?  Anyway, I'd rather
just add a "_xfunc yum :" one-liner and not touch anything else.

> if it's about >= 2.0 note that
> the one-liner your original patch adds will require >= 2.0 (well 1.99)
> anyway, the *.pc file didn't exist before that.

It does not, IMO.  If yum.bash is in compat dir, it has been already
sourced, so _yum is defined so the pkg-config call is skipped.
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to