On Oct 28, 2006, at 2:44 AM, Rohitashva Sharma wrote:
Hi Jeff, I will go according to your recommendation. please tell me how to test for non-existence of tag RPMTAG_SOURCERPM in any rpm.
Presumably you want a test from the shell. Here's a source rpm: $ rpm -qp --qf '%{sourcerpm}\n' rpm-4.4.8-0.1.src.rpm (none) Here's a binary rpm: $ rpm -qp --qf '%{sourcerpm}\n' rpm-4.4.8-0.1.i386.rpm rpm-4.4.8-0.1.src.rpm 73 de Jeff _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list