support -X option in rpmmd2solv, make add_autopattern available in bindings