octave defines an API version in:
octave-2.9.9/src/version.h: #define OCTAVE_API_VERSION "api-v22"
Modules compiled against one version will not load in another. I'd like to get this put into the rpms like:
Provides: octave(api) = api-v22
This can be done automatically on the module side with something like:
Requires: octave(api) = %(octave-config -p API_VERSION)
But, how to extract this automatically from src/version.h in the octave package itself?
packaging@lists.fedoraproject.org