]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
spec: prefer canonical name of util-linux
authorEric Blake <eblake@redhat.com>
Thu, 4 Oct 2012 16:02:02 +0000 (10:02 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 5 Oct 2012 12:31:05 +0000 (06:31 -0600)
I noticed that in two places, we require util-linux, and in a third,
we require util-linux-ng.  On Fedora (I tested F15 through rawhide),
util-linux-ng is obsoleted by util-linux; on RHEL 6, util-linux
is obsoleted by util-linux-ng.  That is, on either platform, either
name will get you the correct package installed (where the preferred
name on fedora is util-linux, and on RHEL 6 is util-linux-ng).  But
on RHEL 5, there is no util-linux-ng

* libvirt.spec.in (Requires): Use util-linux, not util-linux-ng.

libvirt.spec.in

index 11e31991dfc9e5d7937160a6f50412eee6ff2de5..e3d0a2d48a63325dd04497729fa0777a4a93661b 100644 (file)
@@ -614,7 +614,7 @@ Requires: PolicyKit >= 0.6
 %if %{with_storage_fs}
 Requires: nfs-utils
 # For mkfs
-Requires: util-linux-ng
+Requires: util-linux
 # For pool-build probing for existing pools
 BuildRequires: libblkid-devel >= 2.17
 # For glusterfs