I'm not sure what the proper fix is.
- RPM.h won't load rpmcli.h unless >=4.0.3
- recent change to Makefile.PL prevents getting it from old rpmlib.h
- but specfile ignores Makefile anyways :~/
Workaround: Build without perl subpackage. Install. Then rebuild with.
The proper fix is to make the rpm-perl package self-hosting,
done in rpm-4.0.4
According to RPM.h, there is no way to find rpmQueryFlags_e if *system* rpm is
I'll leave closed per your action but I had this symptom on the rpm-4.0.4-7x.2
specfile from rawhide.