Bug 689681

Summary: [RFE] virt-v2v should require libvirt
Product: Red Hat Enterprise Linux 6 Reporter: Huang Wenlong <whuang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED NOTABUG QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: cwei, mbooth, mshao, rwu, yupzhang
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-22 09:22:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Huang Wenlong 2011-03-22 05:39:51 UTC
Description of problem:
virt-v2v should require libvirt because virt-v2v need libvirt 
if there is not libvirt in system ,the v2v can not work .

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-4

How reproducible:
100%

Steps to Reproduce:
1.rpm -q virt-v2v --requires 
2.
3.
  
Actual results:
not requires libvirt 

Expected results:
requires libvirt

Additional info:
Fedora's v2v requires libvirt

        libvirt >= 0.8.1 is needed by (installed) virt-v2v-0.7.1-1.fc14.i686

Comment 2 Matthew Booth 2011-03-22 09:22:05 UTC
virt-v2v has no direct dependency on libvirt. It requires libvirt's perl bindings, which in turn require libvirt. This dependency is there in the package:

$ rpmquery -p --requires virt-v2v-0.7.1-4.el6.x86_64.rpm | grep '(Sys::Virt)'
perl(Sys::Virt)  

The fedora package requires a specific version of libvirt because of a quirk which arose during the F14 lifecycle. F14 originally included a version of libvirt containing a bug which prevented it from talking to RHEL 5. I added a temporary explicit version dependency to ensure that the new version was picked up. I will remove it at some point.