[Yum-devel] protect-packages plugin - compatibility with yum 2.4

Greg Swallow greg at runlevel7.ca
Sat Jul 7 00:55:00 UTC 2007


I got the protect-packages plugin to work with yum 2.4 in EL4 by renaming
the two instances of TYPE_INTERACTIVE to TYPE_INTERFACE and changing
requires_api_version = '2.4' to requires_api_version = '2.1'.  It seems to
work fine like that.  Just wondering if there is a way to change it to work
with _both_ versions of yum, as it doesn't seem to really require yum 3.0?
Thanks,

Greg




More information about the Yum-devel mailing list