Guys, I need to know how to recognize when an RPM package depends on ANOTHER RPM package, not a file.
I get the values like this:
char ** names;
char ** versions;
int * flags;
int count;
headerGetEntry(header, RPMTAG_REQUIRENAME, &namesType, (void **) &names, count);
headerGetEntry(header, RPMTAG_REQUIREVERSION, &versionsType, (void **) &versions, count);
headerGetEntry(header, RPMTAG_REQUIREFLAGS, &flagsType, (void **) &flags, count);
Now.... I get each flag by flags[i], no problem with that.... but how can I tell if the requirement is an RPM package or a file or anything else? I only need the information of RPM packages.
Even more.... if you can tell me the meaning of every single rpmsenseFlags_e flag, I'd be veeeery thankful. Or where can I find that info? (please, don't tell me to look at the rpmlib 4.1 api, cause I coudn't figure out my needs from there

).
So...??? Any ideas?