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"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

But the code in the openpkg-import spec file seems fairly straightforward:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#   package options
%option       with_mta no

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20030908
PreReq:       OpenPKG, openpkg >= 20030908
AutoReq:      no
AutoReqProv:  no
%if "%{with_mta}" != "no"
Provides:     MTA
Conflicts:    exim, postfix, sendmail, ssmtp
%endif
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I am using openpkg-tool-20030919-20030919.src.rpm (your latest) as the
source for the tool that gave the error.

Can I safely ignore this warning or do I need a fix?

Thanks,
       Dennis

Dennis McRitchie
Research & Academic Applications Support (RAAS)
Academic Services Department
Office of Information Technology
Princeton University

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to