SHA256
1
0
forked from pool/libvirt

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:
James Fehlig 2010-01-04 21:16:47 +00:00 committed by Git OBS Bridge
parent 5d5151eb41
commit d9104d8657
2 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -122,13 +122,15 @@ Requires: bridge-utils
Requires: iptables
Requires: lvm2
Requires: parted
#Requires: /usr/bin/qemu-img
Requires: virt-utils
Recommends: logrotate
Requires: dnsmasq
Requires: PolicyKit >= 0.6
Requires: open-iscsi
Requires: nfs-client
%if %{with_hal}
Requires: hal
%endif
%if 0%{?suse_version} > 1110
Requires: polkit >= 0.9
%else
@ -196,8 +198,8 @@ Group: Development/Libraries/C and C++
Requires: %{name} = %{version} libxml2-devel
%if %{with_xen}
Requires: xen-devel
Requires: pkg-config
%endif
Requires: pkg-config
%description devel
Libvirt is a C toolkit to interract with the virtualization
@ -350,7 +352,6 @@ export CFLAGS="$RPM_OPT_FLAGS"
--with-init-script=none \
--with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \
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_MODPROBE=/sbin/modprobe \
ac_cv_path_UDEVADM=/sbin/udevadm \
@ -401,7 +402,11 @@ ln -s /etc/init.d/libvirtd $RPM_BUILD_ROOT/usr/sbin/rclibvirtd
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post
/sbin/ldconfig
%if 0%{?sles_version}
%{fillup_and_insserv -f -y libvirtd}
%endif
%preun
%stop_on_removal libvirtd