RPM Community Forums

Mailing List Message of <rpm-devel>

Re: [CVS] RPM: rpm/ VENDOR rpm/build/ parsePreamble.c

From: Ralf S. Engelschall <rse+rpm-devel@rpm5.org>
Date: Thu 27 Dec 2007 - 18:19:56 CET
Message-ID: <20071227171956.GB91889@engelschall.com>
On Thu, Dec 27, 2007, Jeff Johnson wrote:

> On Dec 27, 2007, at 11:27 AM, Ralf S. Engelschall wrote:
>> On Thu, Dec 27, 2007, Jeff Johnson wrote:
>>
>>> Multiple items like
>>>     Class: foo
>>>     Class: bar
>>> was the already implemented intent.
>>> [...]
>>
>> Sorry, I better should have comitted this in two speparate commits. The
>> "Class" issue is completely unrelated to the multiple-item issue. I
>> have done them just at the same time and as it was to the same source
>> file I committed both together. For "Class" all which was required
>> is that the macro is available (again). The multiple-item issue is
>> related to "BuildRequire" which I still try to resolve my wish through
>> an additional arbitrary tag generated by a Lua hook.
>>
>
> We're likely at cross purposes whether RPMTAG_CLASS is
> arbitrary (or not).
>
> If you want non-arbitrary RPMTAG_CLASS, make sure you remove "internal"
> from rpmdb/rpmtag.h:
>
>     RPMTAG_CLASS                = 1202, /* s internal arbitrary */

Well, yes, in the past it was non-arbitrary. Then after you made it
arbitrary I've not recognized a disadvantage. But today I recognized
that some functionality was broken because arbitrary tags are not
exported as macros. Hence, at least "Class" I need as non-arbitrary
again...
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Thu Dec 27 18:20:45 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.