Bug 149416

Summary: perl-XML-DOM missing dependency on
Product: [openSUSE] SUSE Linux 10.1 Reporter: Lubomir Sedlacik <s>
Component: DevelopmentAssignee: Anna Maresova <anicka>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Beta 3   
Target Milestone: ---   
Hardware: i686   
OS: SuSE Linux 10.1   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Lubomir Sedlacik 2006-02-09 10:15:56 UTC
perl-XML-DOM package requires LWP::UserAgent:

DOM.pm-4253:sub parsefile
DOM.pm-4254:{
DOM.pm-4255:    my $self = shift;
DOM.pm-4256:    my $url = shift;
DOM.pm-4257:
DOM.pm-4258:    # Any other URL schemes?
DOM.pm-4259:    if ($url =~ /^(https?|ftp|wais|gopher|file):/)
DOM.pm-4260:    {
DOM.pm:4261:    # Read the file from the web with LWP.
DOM.pm-4262:    #
DOM.pm-4263:    # Note that we read in the entire file, which may not be ideal
DOM.pm:4264:    # for large files. LWP::UserAgent also provides a callback style
DOM.pm-4265:    # request, which we could convert to a stream with a fork()...
DOM.pm-4266:
DOM.pm-4267:    my $result;
DOM.pm-4268:    eval
DOM.pm-4269:    {
DOM.pm:4270:        use LWP::UserAgent;

LWP::UserAgent is part of perl-libwww-perl and the dependency is missing.

Fix: add dependency on perl-libwww-perl to perl-XML-DOM
Comment 1 Anna Maresova 2006-02-09 15:22:44 UTC
fixed