[Fedora-packaging] How to make a Provides based on package contents?
Jason L Tibbitts III
tibbs at math.uh.edu
Mon Nov 27 23:26:27 UTC 2006
>>>>> "OP" == Orion Poplawski <orion at 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<
More information about the Fedora-packaging
mailing list