libvirt Source RPMs for CentOS or RHEL?

Daniel P. Berrangé berrange at redhat.com
Thu Apr 2 08:41:17 UTC 2020


On Thu, Apr 02, 2020 at 08:47:30AM +0800, FuLong Wang wrote:
> Hello Experts,
> 
> 
> Do we have libvirt source rpms (version above 5.9.0) for CentOS or RHEL?
> 
> I only find source rpms for fedora in below public link.
> 
> https://libvirt.org/sources/

Please ignore all the RPMs you see there, they really shouldn't be
used.

The source tarballs (eg libvirt-5.9.0.tar.xz) contain a spec file
inside.

This means you can generate RPMs for your precise distro using something
akin to the following commands:

 $ rpmbuild -ts libvirt-5.9.0.tar.xz
 $ sudo dnf install redhat-rpm-config
 $ sudo dnf builddep $HOME/rpmbuild/SRPMS/libvirt-5.9.0-1.fc31.src.rpm
 $ rpmbuild --rebuild  $HOME/rpmbuild/SRPMS/libvirt-5.9.0-1.fc31.src.rpm



Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvirt-users mailing list