Actually, perl-XML-Parser is a perl-XML-Simple dependency. I think an alternative solution is simply to force users to use perl(XML::Simple) >= 2.14 -- this case the dependency is taken care of upstream.
I think most recent distributions have version 2.14 available to them. What do you think? Cheers, Bernard On 2/28/07, Andrea Righi <[EMAIL PROTECTED]> wrote: > Bernard Li wrote: > > Hi Andrew: > > > > Regarding your post to sisuite-users: > > > > http://www.mail-archive.com/sisuite-users%40lists.sourceforge.net/msg03783.html > > > > The issue is that perl-XML-Simple requires either perl-XML-SAX or > > perl-XML-Parser. With RPM, it is not possible to specify an "or" > > dependency, therefore I guess the packager did not put in any > > dependency for perl-XML-Simple and leave it as an exercise to the user > > to figure this out. > > > > However, for SystemImager packaging, we could potentially force the > > user to use say perl-XML-Parser, and hardcode that dependency in the > > RPM spec file. > > > > We also use perl-XML-Parser to fulfill this dependency in the OSCAR project. > > > > What do other developers think? > > It seems to be fixed at least in 2.14-2: > > # rpm -q perl-XML-Simple > perl-XML-Simple-2.14-2 > # rpm -qR perl-XML-Simple > expat > perl-XML-Parser > perl = 5.8.7 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(VersionedDependencies) <= 3.0.3-1 > rpmlib(PayloadIsBzip2) <= 3.0.5-1 > > Anyway I don't see any problem to force the option also for the > systemimager-server package (it should be enough). > > Can you add this? > > -Andrea > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ sisuite-devel mailing list sisuite-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sisuite-devel