Re: How to make a Provides based on package contents?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>>>> "OP" == Orion Poplawski <orion@xxxxxxxxxxxxx> 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<

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux