On Thu, Oct 23, 2003 at 10:12:38AM -0400, Dennis McRitchie wrote:
> I am trying to build an index for a directory of source RPM files using the
> openpkg-tool package.
>
> My command is:
>
> openpkg index -o 0INDEX.rdf -i /usr/psr.devel/SRPMS.orig/
>
> As it prepares to generate output for
> openpkg-import-20031006-20031006.src.rpm, I get the following warnings:
>
> vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
> WARNING: unknown token '"%{with_mta}"':
> < #if "%{with_mta}" != "no"
> > #if "%{with_mta}" != "no"
> WARNING: unknown token '!=':
> < #if "%{with_mta}" != "no"
> > #if "%{with_mta}" != "no"
> WARNING: unknown token '"no"':
> < #if "%{with_mta}" != "no"
> > #if "%{with_mta}" != "no"
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is, what Michael van Elst told me:
> RPM specfiles don't have a well-defined grammar. The index parser
> is therefore rather simple and it does not understand all constructs
> used in our specfiles. In particular, it only understands conditional
> sections that depend on macros that are defined outside the specfile,
> e.g. options. In this case, the conditional section depends on a
> macro that is %define'd in the specfile itself. Since that condition
> does not affect the generated index, we currently ignore the deficiency
> of the parser, and so should you :)
But i have a new question:
I tried to reference a mail in the mail archive
(http://www.mail-archive.com/openpkg-dev%40openpkg.org/), but it looks as
if the archives are not complete - no mails older than two months or so.
It this normal ?
(mk)
--
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
>> Im pr�motorischen Cortex kann jeder ein Held sein. (bdw) <<
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]