Changing the rpm default queryformat to include arch
seth vidal
skvidal at fedoraproject.org
Mon Nov 26 14:04:40 UTC 2007
On Mon, 2007-11-26 at 17:38 +0530, Rahul Sundaram wrote:
> Panu Matilainen wrote:
> > On Sat, 24 Nov 2007, Rahul Sundaram wrote:
> >
> >> Panu Matilainen wrote:
> >>
> >>>
> >>> The ugly part is that it makes parsing harder as you have to account
> >>> for the possibility of epoch being or not being there always, but
> >>> OTOH you can always pick your own queryformat if you don't want to
> >>> deal with it.
> >>
> >> Can't you unconditionally have a epoch number listed all the time? 0
> >> if there is no epoch for that package.
> >
> > Obviously you CAN, but do you REALLY want to?
>
> Personally, yes. I would like to see epoch listed always so that we get
> a consistent format for other scripts to parse.
-1 showing the epoch looks ridiculous since in most cases it'll be a 0.
Yum has done this for a long time, actually:
foo-1.1-1.noarch
1:bar-1.1-1.noarch
foo has none or a 0 epoch
bar has an epoch of 1
-sv
More information about the fedora-devel-list
mailing list