]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: require netcf-0.2.2 when installing on Fedora18+
authorLaine Stump <laine@laine.org>
Tue, 4 Sep 2012 17:05:54 +0000 (13:05 -0400)
committerLaine Stump <laine@laine.org>
Wed, 5 Sep 2012 18:35:04 +0000 (14:35 -0400)
commit89810fc42360adf0e76507e0f8051f2ab2b116a3
tree4e710970a015ac8caa10b3e05591c63aa8e35ad6
parentd51024aee6ddfe0934b600e4fae84d00a2f5ab2f
build: require netcf-0.2.2 when installing on Fedora18+

A previous patch forced libnl-3 and netcf-0.2.2 (which itself requires
libnl-3) when *building* for Fedora 18+ (and RHEL 7+), but the
install-time Requires: for netcf has always been implicit due to
libvirtd linking with libnetcf.so. However, the since the API of netcf
didn't change when it was rebuilt to use libnl-3, the internal library
version didn't change either, making it possible (from rpm's point of
view) to upgrade libvirt without upgrading netcf (in reality, that
leads to a segfault - see
https://bugzilla.redhat.com/show_bug.cgi?id=853381).

The solution is to put an explicit Requires: line in libvirt's
specfile for fedora >= 18 and rhel >= 7.
libvirt.spec.in