[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: how to differentiate between binary and source rpm
- From: Jeff Johnson <n3npq jbj gmail com>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: how to differentiate between binary and source rpm
- Date: Sat, 28 Oct 2006 03:23:43 -0400
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]