adapt for rpmxdb