Release of libvirt-0.8.2, update of spec file, Daniel

This commit is contained in:
Daniel Veillard 2010-07-05 15:51:43 +00:00
parent a160d7f98d
commit 7e99819dda
3 changed files with 73 additions and 9 deletions

View File

@ -19,3 +19,4 @@ libvirt-0.7.6.tar.gz
libvirt-0.7.7.tar.gz libvirt-0.7.7.tar.gz
libvirt-0.8.0.tar.gz libvirt-0.8.0.tar.gz
libvirt-0.8.1.tar.gz libvirt-0.8.1.tar.gz
libvirt-0.8.2.tar.gz

View File

@ -61,7 +61,9 @@
%define with_udev 0%{!?_without_udev:0} %define with_udev 0%{!?_without_udev:0}
%define with_hal 0%{!?_without_hal:0} %define with_hal 0%{!?_without_hal:0}
%define with_yajl 0%{!?_without_yajl:0} %define with_yajl 0%{!?_without_yajl:0}
%define with_nwfilter 0%{!?_without_nwfilter:0}
%define with_libpcap 0%{!?_without_libpcap:0} %define with_libpcap 0%{!?_without_libpcap:0}
%define with_macvtap 0%{!?_without_macvtap:0}
# Non-server/HV driver defaults which are always enabled # Non-server/HV driver defaults which are always enabled
%define with_python 0%{!?_without_python:1} %define with_python 0%{!?_without_python:1}
@ -150,7 +152,13 @@
# Enable libpcap library # Enable libpcap library
%if %{with_qemu} %if %{with_qemu}
%define with_nwfilter 0%{!?_without_nwfilter:%{server_drivers}}
%define with_libpcap 0%{!?_without_libpcap:%{server_drivers}} %define with_libpcap 0%{!?_without_libpcap:%{server_drivers}}
%define with_macvtap 0%{!?_without_macvtap:%{server_drivers}}
%endif
%if %{with_macvtap}
%define with_libnl 1
%endif %endif
# Force QEMU to run as non-root # Force QEMU to run as non-root
@ -174,7 +182,7 @@
Summary: Library providing a simple API virtualization Summary: Library providing a simple API virtualization
Name: libvirt Name: libvirt
Version: 0.8.1 Version: 0.8.2
Release: 1%{?dist}%{?extra_release} Release: 1%{?dist}%{?extra_release}
License: LGPLv2+ License: LGPLv2+
Group: Development/Libraries Group: Development/Libraries
@ -184,7 +192,7 @@ URL: http://libvirt.org/
BuildRequires: python-devel BuildRequires: python-devel
# The client side, i.e. shared libs and virsh are in a subpackage # The client side, i.e. shared libs and virsh are in a subpackage
Requires: libvirt-client = %{version}-%{release} Requires: %{name}-client = %{version}-%{release}
# Used by many of the drivers, so turn it on whenever the # Used by many of the drivers, so turn it on whenever the
# daemon is present # daemon is present
@ -195,6 +203,11 @@ Requires: bridge-utils
Requires: dnsmasq Requires: dnsmasq
Requires: iptables Requires: iptables
%endif %endif
%if %{with_nwfilter}
Requires: ebtables
Requires: iptables
Requires: iptables-ipv6
%endif
# needed for device enumeration # needed for device enumeration
%if %{with_hal} %if %{with_hal}
Requires: hal Requires: hal
@ -254,7 +267,7 @@ Requires: device-mapper
BuildRequires: xen-devel BuildRequires: xen-devel
%endif %endif
%if %{with_one} %if %{with_one}
BuildRequires: xmlrpc-c-devel >= 1.14.0 xmlrpc-c-client BuildRequires: xmlrpc-c-devel >= 1.14.0
%endif %endif
BuildRequires: libxml2-devel BuildRequires: libxml2-devel
BuildRequires: xhtml1-dtds BuildRequires: xhtml1-dtds
@ -275,6 +288,9 @@ BuildRequires: yajl-devel
%if %{with_libpcap} %if %{with_libpcap}
BuildRequires: libpcap-devel BuildRequires: libpcap-devel
%endif %endif
%if %{with_libnl}
BuildRequires: libnl-devel
%endif
%if %{with_avahi} %if %{with_avahi}
BuildRequires: avahi-devel BuildRequires: avahi-devel
%endif %endif
@ -347,6 +363,9 @@ BuildRequires: libssh2-devel
%if %{with_netcf} %if %{with_netcf}
BuildRequires: netcf-devel >= 0.1.4 BuildRequires: netcf-devel >= 0.1.4
%endif %endif
%if %{with_esx}
BuildRequires: libcurl-devel
%endif
# Fedora build root suckage # Fedora build root suckage
BuildRequires: gawk BuildRequires: gawk
@ -378,7 +397,7 @@ virtualization capabilities of recent versions of Linux (and other OSes).
%package devel %package devel
Summary: Libraries, includes, etc. to compile with the libvirt library Summary: Libraries, includes, etc. to compile with the libvirt library
Group: Development/Libraries Group: Development/Libraries
Requires: libvirt-client = %{version}-%{release} Requires: %{name}-client = %{version}-%{release}
Requires: pkgconfig Requires: pkgconfig
%if %{with_xen} %if %{with_xen}
Requires: xen-devel Requires: xen-devel
@ -392,7 +411,7 @@ the virtualization capabilities of recent versions of Linux (and other OSes).
%package python %package python
Summary: Python bindings for the libvirt library Summary: Python bindings for the libvirt library
Group: Development/Libraries Group: Development/Libraries
Requires: libvirt-client = %{version}-%{release} Requires: %{name}-client = %{version}-%{release}
%description python %description python
The libvirt-python package contains a module that permits applications The libvirt-python package contains a module that permits applications
@ -517,6 +536,14 @@ of recent versions of Linux (and other OSes).
%define _without_yajl --without-yajl %define _without_yajl --without-yajl
%endif %endif
%if ! %{with_libpcap}
%define _without_libpcap --without-libpcap
%endif
%if ! %{with_macvtap}
%define _without_macvtap --without-macvtap
%endif
%configure %{?_without_xen} \ %configure %{?_without_xen} \
%{?_without_qemu} \ %{?_without_qemu} \
%{?_without_openvz} \ %{?_without_openvz} \
@ -545,6 +572,8 @@ of recent versions of Linux (and other OSes).
%{?_without_hal} \ %{?_without_hal} \
%{?_without_udev} \ %{?_without_udev} \
%{?_without_yajl} \ %{?_without_yajl} \
%{?_without_libpcap} \
%{?_without_macvtap} \
--with-qemu-user=%{qemu_user} \ --with-qemu-user=%{qemu_user} \
--with-qemu-group=%{qemu_group} \ --with-qemu-group=%{qemu_group} \
--with-init-script=redhat \ --with-init-script=redhat \
@ -556,7 +585,7 @@ gzip -9 ChangeLog
rm -fr %{buildroot} rm -fr %{buildroot}
%makeinstall %makeinstall
for i in domain-events/events-c dominfo domsuspend hellolibvirt python for i in domain-events/events-c dominfo domsuspend hellolibvirt python xml/nwfilter
do do
(cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in) (cd examples/$i ; make clean ; rm -rf .deps .libs Makefile Makefile.in)
done done
@ -600,6 +629,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-python-%{version}
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version} rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libvirt-%{version}
%endif %endif
%if ! %{with_libvirtd}
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/nwfilter
%endif
%if ! %{with_qemu} %if ! %{with_qemu}
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/libvirtd.qemu
@ -625,7 +658,7 @@ cd tests
for i in nodeinfotest daemon-conf seclabeltest for i in nodeinfotest daemon-conf seclabeltest
do do
rm -f $i rm -f $i
echo -e "#!/bin/sh\nexit 0" > $i printf "#!/bin/sh\nexit 0\n" > $i
chmod +x $i chmod +x $i
done done
make check make check
@ -674,7 +707,22 @@ if [ $1 = 0 ]; then
fi fi
%endif %endif
%post client -p /sbin/ldconfig %preun client
if [ $1 = 0 ]; then
/sbin/chkconfig --del libvirt-guests
rm -f /var/lib/libvirt/libvirt-guests
fi
%post client
/sbin/ldconfig
/sbin/chkconfig --add libvirt-guests
if [ $1 -ge 1 ]; then
# this doesn't do anything but allowing for libvirt-guests to be
# stopped on the first shutdown
/sbin/service libvirt-guests start > /dev/null 2>&1 || true
fi
%postun client -p /sbin/ldconfig %postun client -p /sbin/ldconfig
@ -799,6 +847,7 @@ fi
%dir %{_datadir}/libvirt/schemas/ %dir %{_datadir}/libvirt/schemas/
%{_datadir}/libvirt/schemas/domain.rng %{_datadir}/libvirt/schemas/domain.rng
%{_datadir}/libvirt/schemas/domainsnapshot.rng
%{_datadir}/libvirt/schemas/network.rng %{_datadir}/libvirt/schemas/network.rng
%{_datadir}/libvirt/schemas/storagepool.rng %{_datadir}/libvirt/schemas/storagepool.rng
%{_datadir}/libvirt/schemas/storagevol.rng %{_datadir}/libvirt/schemas/storagevol.rng
@ -811,6 +860,10 @@ fi
%{_datadir}/libvirt/cpu_map.xml %{_datadir}/libvirt/cpu_map.xml
%{_sysconfdir}/rc.d/init.d/libvirt-guests
%config(noreplace) %{_sysconfdir}/sysconfig/libvirt-guests
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt
%if %{with_sasl} %if %{with_sasl}
%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
%endif %endif
@ -850,7 +903,17 @@ fi
%endif %endif
%changelog %changelog
* Mon Jul 5 2010 Daniel Veillard <veillard@redhat.com> - 0.8.2-1
- Upstream release 0.8.2
- phyp: adding support for IVM
- libvirt: introduce domainCreateWithFlags API
- add 802.1Qbh and 802.1Qbg switches handling
- Support for VirtualBox version 3.2
- Init script for handling guests on shutdown/boot
- qemu: live migration with non-shared storage for kvm
* Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1 * Fri Apr 30 2010 Daniel Veillard <veillard@redhat.com> - 0.8.1-1
- Upstream release 0.8.1
- Starts dnsmasq from libvirtd with --dhcp-hostsfile - Starts dnsmasq from libvirtd with --dhcp-hostsfile
- Add virDomainGetBlockInfo API to query disk sizing - Add virDomainGetBlockInfo API to query disk sizing
- a lot of bug fixes and cleanups - a lot of bug fixes and cleanups

View File

@ -1 +1 @@
2557c08801dfccf07871e4e2e35ccfcd libvirt-0.8.1.tar.gz 14164638fe0e7f65e425acc85dabc517 libvirt-0.8.2.tar.gz