On 10/10/19 9:27 PM, Qianqian Fang wrote:
Dear list,
I am packaging a few octave toolboxes for Fedora. Some of the toolboxes have a dependency to other toolboxes.
On the rpm package level, I can use *Requires* to ask rpm to install these dependent modules, but when running Octave, the *pkg load* command is not aware of the dependent toolboxes and automatically load them.
I would like to know if anyone know if pkg is capable of loading dependent toolboxes? if yes, what file I should create to tell pkg such information? because the spec file uses the *%octave_pkg_{build,install,preun}* macros to create toolbox packages, I am wondering if adding dependency info is supported by these macros (and how).
Fedora octave rpm packages are configured to be auto-loaded by octave. I'm not sure how "pkg" itself handles package dependencies. The %octave_pkg_* macros do not do anything with regards to dependencies. All dependencies are specified via BuildRequires/Requires.
That's about as much as I can say without any specific examples of any problems you may be seeing.
HTH,
Orion