Re: Warning using openpkg-tool

2003-10-27 Thread Thomas Lotterer
On Thu, Oct 23, 2003, Michael van Elst wrote: > [...] Index format and the build tool > all treat conditionals as boolean. > > If options are queried (and to be interpreted by the build tool) > then these options MUST be boolean and use the values 'yes' and 'no'. > > I suggest to split "with_mta

Re: Warning using openpkg-tool

2003-10-23 Thread Michael van Elst
On Thu, Oct 23, 2003 at 08:50:09PM +0200, Thomas Lotterer wrote: > Re Michael! > The reason for using the double inverse logic is that %{with_mta} is > not a choice between yes/no but yes/sendmailpath/no. Hi Thomas, that's worse. The Parser, the Index format and the build tool all treat conditio

Re: Warning using openpkg-tool

2003-10-23 Thread Thomas Lotterer
On Thu, Oct 23, 2003, Michael van Elst wrote: > On Thu, Oct 23, 2003 at 10:12:38AM -0400, Dennis McRitchie wrote: > > > [...] > > WARNING: unknown token '"%{with_mta}"': > > < #if "%{with_mta}" != "no" > > [...] > > Since rpm supports the != operator one should fix the parser. In the > meantime

Re: Warning using openpkg-tool

2003-10-23 Thread Michael van Elst
On Thu, Oct 23, 2003 at 10:12:38AM -0400, Dennis McRitchie wrote: Dennis, > > WARNING: unknown token '"%{with_mta}"': > < #if "%{with_mta}" != "no" > > #if "%{with_mta}" != "no" > WARNING: unknown token '!=': > < #if "%{with_mta}" != "no" > > #if "%{with_mta}"

Re: Warning using openpkg-tool

2003-10-23 Thread Matthias Kurz
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 > ope

Warning using openpkg-tool

2003-10-23 Thread Dennis McRitchie
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: vv