rpm bug?

Elan Ruusamäe glen at delfi.ee
Wed Jul 25 16:05:45 CEST 2007


On Tuesday 24 July 2007 21:02:36 Jeff Johnson wrote:
> On Jul 24, 2007, at 1:46 PM, Jakub Bogusz wrote:
> > On Fri, Jul 20, 2007 at 11:24:49AM +0200, Tomasz Wittner wrote:
> >> On Thu 19. of July 2007, 16:04, Elan Ruusamäe wrote:
> >>> On Thursday 19 July 2007 11:44:14 Marcin Król wrote:
> >>>>> not sure how to put this in proper words, but querying binheader
> >>>>> results this, one should query srcheaders.
> >>>>
> >>>> Anyone brave enough to make requried changes into builder
> >>>> script? :)
> >>>
> >>> well. somebody mentioned that builder script should not depend on
> >>> any
> >>> higher language liker perl.... so...
> >>
> >> But why? Better have broken tool than use suitable language?
> >
> > Better broken in some corner cases than unusable for bootstrap...
> > (anyway, redefining Version in middle of .spec is tricky, as you
> > can see
> > from %{version} behaviour)
>
> Tricky only because noone has asked.
>
> I can certainly permit
>      Version: %%{version}
>      %define version whatever-you-want
> to delay the expansion, and add an additional macro expansion
> before adding RPMTAG_VERSION to *.rpm package headers, if that is
> desirable.
>
> A delayed expansion is most definiitely desirable for Release: fields
> because of the pesky %{?dist} that has been injected everywhere by
> Fedora, and will take years to phase out, sigh.
perhaps add possibility to query srcheaders to rpm?

> 73 de Jeff


-- 
glen


More information about the pld-devel-en mailing list