On Mon, Dec 30, 2002, Michael van Elst wrote:

> > There is no need to parse "%options" in %description if you parse a
> > .spec file directly.
>
> My point is that you can no longer do that. You syntax change just
> made parsing the spec files more complex and more error prone.
> [...]

Sorry, I do not really understand why it should be harder to parse.
Previously to know "var" you extracted the %description section and
looked there for "--define 'var %{var}'". Now you can just look globally
for "%option var default". Why is this more complex? I would say it is
actually easier, isn't it?

The reason why "openpkg build" now is broken is just that it (had to do)
some non-standard parsing of free text from the index, while from now on
it should just use special RDF tags for options which "openpkg index"
has to give.

IMHO, after you will have adjusted "openpkg index" and "openpkg build"
to use dedicated RDF tags for options in the index, the whole story got
better than worse.
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
Developer Communication List                   [EMAIL PROTECTED]

Reply via email to