pub type Workarounds = i32;
On some library versions RPMTAG_NOT_FOUND is define rather than enum field, and bindgen can’t convert it uniformly. Provide a separate constant here: