rpm bug?
Jeff Johnson
n3npq at mac.com
Tue Jul 24 20:02:36 CEST 2007
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.
73 de Jeff
More information about the pld-devel-en
mailing list