[Scitech] Re: How to create octave packages to allow "pkg load" to be aware of dependencies?

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


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.



Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

scitech mailing list -- scitech@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to scitech-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/scitech@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Maintainers]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Triage]     [Deep Creek Hot Springs]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux