Bernard Li wrote: > Andrea: > > Red Hat/Fedora does not provide python-xml RPM, what subrountines do you > need from this package and is it the same as PyXML for Red Hat/Fedora? > > It is unfortunate that for RPM, Python does not have a similar requires > like Perl, where you can do something like require Perl(XML::Simple). > > Thanks, > > Bernard
Unfortunately it's very hard to detect python modules... we could explicitly set a requirement on the path: BuildRequires: python, python-devel, %{_libdir}/python/site-packages/xml but also that doesn't work, since this is valid for RH only... SuSE puts the module under %{_libdir}/python/xml... Is there a way to implement this check with a %pre section? in this way should be easy to check it directly with the python interpreter... -Andrea ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Sisuite-devel mailing list Sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel