>>>> "OP" == Orion Poplawski
<orion(a)cora.nwra.com> writes:
OP> I went with octave(%{octave_api}) rather than octave(api) =
OP> {octave_api} because I was getting errors when starting to build a
OP> package in mock that octave(api) was not being set to anything
OP> (during the buildroot setup phase - octave-config is unavailable
OP> there). If someone can point me around that, that would be great.
You just have to make sure it's defined to something like 0 so that
the specfile is syntactically correct. Usually this is done with
something like:
%{!?octave_api: %define octave_api %(octave-config -p API_VERSION || 0)}
assuming that even parses.
- J<