[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Source RPM displayed in rpm -qi
- From: Dag Wieers <dag wieers com>
- To: rpm-list redhat com
- Subject: Re: Source RPM displayed in rpm -qi
- Date: Mon, 28 Apr 2003 20:10:36 +0200 (CEST)
On 28 Apr 2003, Peter Bowen wrote:
> This is indeed a problem. I think the source-rpm field is deprecated (and
> only useful to find packages that come from the same build).
>
> It is very strange that this field cannot be set and holds a filename
> (instead of just N-E:V-R).
It doesn't even tell you what build it came from. That would be the
cookie. It only tells you what the source package name and EVR are.
The cookie ? What cookie ? ;)
Well, it even't doesn't tell you what the source-package is, because my
source-packages have another name actually (I don't build them in one go).
[dag@lisse ~]# ls -l /mnt/dar/packages/xkobo/
drwxr-xr-x 2 dag dag 4096 Apr 1 13:39 _buildlogs
-rw-r--r-- 2 dag dag 61850 Feb 25 05:17 xkobo-1.11-2.dag.rh62.i386.rpm
-rw-r--r-- 2 dag dag 63271 Feb 25 05:16 xkobo-1.11-2.dag.rh73.i386.rpm
-rw-r--r-- 2 dag dag 63646 Feb 25 05:16 xkobo-1.11-2.dag.rh80.i386.rpm
-rw-r--r-- 2 dag dag 63683 Apr 1 13:39 xkobo-1.11-2.dag.rh90.i386.rpm
-rw-r--r-- 5 dag dag 77673 Feb 25 05:17 xkobo-1.11-2.dag.src.rpm
-rw-r--r-- 1 dag dag 1954 Mar 11 13:26 xkobo.spec
And:
[dag@lisse ~]# rpm -qp --qf "%{sourcerpm}\n" /mnt/dar/packages/xkobo/xkobo-1.11-2.dag.rh90.i386.rpm
xkobo-1.11-2.dag.rh90.src.rpm
Of course it doesn't know what the name of my source package is going to
be (strictly speaking). But that field makes no sense as you can construct
that field at any time using N-V-R.src.rpm.
So if it is there, we might use it for something useful :) And maybe
overwrite it ?
-- dag wieers, dag@wieers.com, http://dag.wieers.com/ --
«Any errors in spelling, tact or fact are transmission errors»
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]