Require virt-utils package for common tools such as qemu-img
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=30
This commit is contained in:
parent
5d5151eb41
commit
d9104d8657
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 4 14:14:41 MST 2010 - jfehlig@novell.com
|
||||||
|
|
||||||
|
- Require virt-utils package for common tools such as qemu-img
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 29 10:26:55 MST 2009 - jfehlig@novell.com
|
Tue Dec 29 10:26:55 MST 2009 - jfehlig@novell.com
|
||||||
|
|
||||||
|
13
libvirt.spec
13
libvirt.spec
@ -122,13 +122,15 @@ Requires: bridge-utils
|
|||||||
Requires: iptables
|
Requires: iptables
|
||||||
Requires: lvm2
|
Requires: lvm2
|
||||||
Requires: parted
|
Requires: parted
|
||||||
#Requires: /usr/bin/qemu-img
|
Requires: virt-utils
|
||||||
Recommends: logrotate
|
Recommends: logrotate
|
||||||
Requires: dnsmasq
|
Requires: dnsmasq
|
||||||
Requires: PolicyKit >= 0.6
|
Requires: PolicyKit >= 0.6
|
||||||
Requires: open-iscsi
|
Requires: open-iscsi
|
||||||
Requires: nfs-client
|
Requires: nfs-client
|
||||||
|
%if %{with_hal}
|
||||||
Requires: hal
|
Requires: hal
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
Requires: polkit >= 0.9
|
Requires: polkit >= 0.9
|
||||||
%else
|
%else
|
||||||
@ -196,8 +198,8 @@ Group: Development/Libraries/C and C++
|
|||||||
Requires: %{name} = %{version} libxml2-devel
|
Requires: %{name} = %{version} libxml2-devel
|
||||||
%if %{with_xen}
|
%if %{with_xen}
|
||||||
Requires: xen-devel
|
Requires: xen-devel
|
||||||
Requires: pkg-config
|
|
||||||
%endif
|
%endif
|
||||||
|
Requires: pkg-config
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libvirt is a C toolkit to interract with the virtualization
|
Libvirt is a C toolkit to interract with the virtualization
|
||||||
@ -350,7 +352,6 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
--with-init-script=none \
|
--with-init-script=none \
|
||||||
--with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \
|
--with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \
|
||||||
ac_cv_path_DNSMASQ=/usr/sbin/dnsmasq \
|
ac_cv_path_DNSMASQ=/usr/sbin/dnsmasq \
|
||||||
ac_cv_path_QEMU_IMG=/usr/bin/qemu-img-xen \
|
|
||||||
ac_cv_path_ISCSIADM=/sbin/iscsiadm \
|
ac_cv_path_ISCSIADM=/sbin/iscsiadm \
|
||||||
ac_cv_path_MODPROBE=/sbin/modprobe \
|
ac_cv_path_MODPROBE=/sbin/modprobe \
|
||||||
ac_cv_path_UDEVADM=/sbin/udevadm \
|
ac_cv_path_UDEVADM=/sbin/udevadm \
|
||||||
@ -401,7 +402,11 @@ ln -s /etc/init.d/libvirtd $RPM_BUILD_ROOT/usr/sbin/rclibvirtd
|
|||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
%if 0%{?sles_version}
|
||||||
|
%{fillup_and_insserv -f -y libvirtd}
|
||||||
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%stop_on_removal libvirtd
|
%stop_on_removal libvirtd
|
||||||
|
Loading…
Reference in New Issue
Block a user