Hi Mike: If the spec file has the Perl/Python RPM as dependency, then it will "do the right thing" -- if it can find the dependency in your configured repositories, it will grab those -- if they do not exist, it will complain saying that a depended package is not available.
Note, whether the RPM is a Perl/Python module has no relevance in how yum determines dependencies -- this is simply controlled via the spec file. Cheers, Bernard On 5/16/07, Michael Edwards <[EMAIL PROTECTED]> wrote: > That does help a bit, thanks. Does yum and friends try and go get the > required perl modules or does it just stall and tell you that they are > not installed? > > On 5/16/07, Bernard Li <[EMAIL PROTECTED]> wrote: > > Hi Mike: > > > > I can only speak for RPM packaging as I do not have any experience > > with deb package creation. > > > > For both Python and Perl, you can reference dependencies via the > > package name, i.e. if your RPM requires perl-Tk, then you just put > > that in your requires, like: > > > > Requires: perl-Tk > > > > For Perl, there is an alternative way to specify this dependency, as > > follows: > > > > Requires: perl(XML::Simple) > > > > This requires the specific Perl module, which is not specific to the > > package name, so this dependency will work on distributions who choose > > to have difference names for the specific Perl module package (eg. > > Fedora vs SuSE). > > > > This naming convention currently does not exist for Python. > > > > Hope this helps! > > > > Bernard > > > > On 5/11/07, Michael Edwards <[EMAIL PROTECTED]> wrote: > > > Out of curiosity, from a packaging point of view (either rpm, deb, etc > > > or OSCAR) how would one deal with dependencies which are part of a > > > different packaging system, like perl or python modules? > > > > > > ------------------------------------------------------------------------- > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 express and take > > > control of your XML. No limits. Just data. Click to get it now. > > > http://sourceforge.net/powerbar/db2/ > > > _______________________________________________ > > > Oscar-devel mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/oscar-devel > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 express and take > > control of your XML. No limits. Just data. Click to get it now. > > http://sourceforge.net/powerbar/db2/ > > _______________________________________________ > > Oscar-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/oscar-devel > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Oscar-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/oscar-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Oscar-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oscar-devel
