rpms/libvirt/devel .cvsignore, 1.25, 1.26 libvirt.spec, 1.67, 1.68 sources, 1.26, 1.27 libvirt-0.3.3-example-config.patch, 1.1, NONE libvirt-0.3.3-qemu-config.patch, 1.1, NONE

Daniel Veillard (veillard) fedora-extras-commits at redhat.com
Tue Dec 18 10:45:10 UTC 2007


Author: veillard

Update of /cvs/pkgs/rpms/libvirt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2729

Modified Files:
	.cvsignore libvirt.spec sources 
Removed Files:
	libvirt-0.3.3-example-config.patch 
	libvirt-0.3.3-qemu-config.patch 
Log Message:
Release of 0.4.0, the previous patches are not needed anymore.
Daniel



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/.cvsignore,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- .cvsignore	30 Sep 2007 21:18:47 -0000	1.25
+++ .cvsignore	18 Dec 2007 10:44:34 -0000	1.26
@@ -22,3 +22,4 @@
 libvirt-0.3.1.tar.gz
 libvirt-0.3.2.tar.gz
 libvirt-0.3.3.tar.gz
+libvirt-0.4.0.tar.gz


Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/libvirt.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- libvirt.spec	15 Oct 2007 18:23:02 -0000	1.67
+++ libvirt.spec	18 Dec 2007 10:44:34 -0000	1.68
@@ -1,16 +1,20 @@
 # -*- rpm-spec -*-
 
+%if "%{fedora}" >= "8"
+%define with_polkit 1
+%define with_proxy no
+%else
+%define with_polkit 0
+%define with_proxy yes
+%endif
+
 Summary: Library providing a simple API virtualization
 Name: libvirt
-Version: 0.3.3
-Release: 2%{?dist}%{?extra_release}
+Version: 0.4.0
+Release: 1%{?dist}%{?extra_release}
 License: LGPL
 Group: Development/Libraries
 Source: libvirt-%{version}.tar.gz
-Patch1: %{name}-%{version}-qemu-config.patch
-# NB, when removing this patch on next release, also remove the manual 
-# config file copy in the install section of this spec file
-Patch2: %{name}-%{version}-example-config.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 URL: http://libvirt.org/
 BuildRequires: python python-devel
@@ -20,6 +24,16 @@
 Requires: dnsmasq
 Requires: bridge-utils
 Requires: iptables
+# So remote clients can access libvirt over SSH tunnel
+# (client invokes 'nc' against the UNIX socket on the server)
+Requires: nc
+Requires: cyrus-sasl
+# Not technically required, but makes 'out-of-box' config
+# work correctly & doesn't have onerous dependancies
+Requires: cyrus-sasl-md5
+%if %{with_polkit}
+Requires: PolicyKit >= 0.6
+%endif
 
 %ifarch i386 x86_64 ia64
 BuildRequires: xen-devel
@@ -32,6 +46,10 @@
 BuildRequires: avahi-devel
 BuildRequires: dnsmasq
 BuildRequires: bridge-utils
+BuildRequires: cyrus-sasl-devel
+%if %{with_polkit}
+BuildRequires: PolicyKit-devel >= 0.6
+%endif
 Obsoletes: libvir
 
 # Fedora build root suckage
@@ -49,7 +67,6 @@
 %ifarch i386 x86_64 ia64
 Requires: xen-devel
 %endif
-Requires: gnutls-devel
 Obsoletes: libvir-devel
 
 %description devel
@@ -70,8 +87,6 @@
 
 %prep
 %setup -q
-%patch1 -p1
-%patch2 -p1
 
 %build
 # Xen is availble only on i386 x86_64 ia64
@@ -95,11 +110,6 @@
 rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
 install -d -m 0755 $RPM_BUILD_ROOT%{_localstatedir}/run/libvirt/
 
-# Copy files from patch2 into location
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/libvirt
-install -m 0755 src/qemu.conf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu.conf
-install -m 0755 qemud/libvirtd.conf $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/libvirtd.conf
-
 # We don't want to install /etc/libvirt/qemu/networks in the main %files list
 # because if the admin wants to delete the default network completely, we don't
 # want to end up re-incarnating it on every RPM upgrade.
@@ -157,13 +167,19 @@
 %config(noreplace) %{_sysconfdir}/sysconfig/libvirtd
 %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf
 %config(noreplace) %{_sysconfdir}/libvirt/qemu.conf
+%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf
 %dir %{_datadir}/libvirt/
 %dir %{_datadir}/libvirt/networks/
 %{_datadir}/libvirt/networks/default.xml
 %dir %{_localstatedir}/run/libvirt/
 %dir %{_localstatedir}/lib/libvirt/
+%if %{with_polkit}
+%{_datadir}/PolicyKit/policy/libvirtd.policy
+%endif
 %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
+%if %{with_proxy} == "yes"
 %attr(4755, root, root) %{_libexecdir}/libvirt_proxy
+%endif
 %attr(0755, root, root) %{_sbindir}/libvirtd
 %doc docs/*.rng
 %doc docs/*.xml
@@ -196,6 +212,14 @@
 %doc docs/examples/python
 
 %changelog
+* Tue Dec 18 2007 Daniel Veillard <veillard at redhat.com> - 0.4.0-1.fc8
+- Release of 0.4.0
+- SASL based authentication
+- PolicyKit authentication
+- improved NUMA and statistics support
+- lots of assorted improvements, bugfixes and cleanups
+- documentation and localization improvements
+
 * Mon Oct 15 2007 Daniel P. Berrange <berrange at redhat.com> - 0.3.3-2.fc8
 - Added QEMU driver config file support
 - Added example config files


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/devel/sources,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- sources	30 Sep 2007 21:18:47 -0000	1.26
+++ sources	18 Dec 2007 10:44:34 -0000	1.27
@@ -1 +1 @@
-583fa13938df63bd404cc1b7cf553874  libvirt-0.3.3.tar.gz
+2f6c6adb62145988f0e5021e5cbd71d3  libvirt-0.4.0.tar.gz


--- libvirt-0.3.3-example-config.patch DELETED ---


--- libvirt-0.3.3-qemu-config.patch DELETED ---




More information about the fedora-extras-commits mailing list