trivial rpm5 fixes
disable some constants that do not exist in rpm5