remove enums that are rarely used in code and removed in
recent rpm versions. Still document that they are deprecated
and leave the methods raising an exception and giving a warning.