Re: how to differentiate between binary and source rpm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux