Mailinglist Archive: opensuse-commit (1192 mails)

< Previous Next >
commit libvirt
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sun, 10 Aug 2008 01:31:46 +0200
  • Message-id: <20080809233146.7D89067816D@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package libvirt
checked in at Sun Aug 10 01:31:46 CEST 2008.


--------
--- arch/i386/libvirt/libvirt.changes 2008-07-06 19:16:33.000000000 +0200
+++ /mounts/work_src_done/STABLE/libvirt/libvirt.changes 2008-08-09
08:14:17.000000000 +0200
@@ -1,0 +2,8 @@
+Sat Aug 9 01:10:52 MDT 2008 - jfehlig@xxxxxxxxxx
+
+- Adjustments to spec file
+ + Added /var/lib/libvirt directory
+ + Enabled LXC support if suse_version > 1100, fate #304001
+ + Cleaned up some rpmlint warnings
+
+-------------------------------------------------------------------



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libvirt.spec ++++++
--- /var/tmp/diff_new_pack.D25874/_old 2008-08-10 01:30:20.000000000 +0200
+++ /var/tmp/diff_new_pack.D25874/_new 2008-08-10 01:30:20.000000000 +0200
@@ -2,29 +2,38 @@
# spec file for package libvirt (Version 0.4.4)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
-# This file and all modifications and additions to the pristine
-# package are under the same license as the package itself.
#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

%define with_xen 1
-%define with_polkit 0
+%define with_lxc 0
# Xen is available only on i386 x86_64 ia64
%ifnarch i386 i586 x86_64 ia64
%define with_xen 0
%endif
+%if 0%{?suse_version} > 1100
+%define with_lxc 1
+%endif

Name: libvirt
-BuildRequires: bridge-utils cyrus-sasl-devel fdupes gettext gnutls-devel
iptables libxml2-devel lvm2 ncurses-devel parted parted-devel pkg-config
python-devel readline-devel util-linux xhtml-dtd
+BuildRequires: PolicyKit-devel bridge-utils cyrus-sasl-devel dnsmasq fdupes
gettext gnutls-devel iptables-devel libxml2-devel lvm2 ncurses-devel
parted-devel pkg-config python-devel readline-devel util-linux xhtml-dtd
%if %{with_xen}
BuildRequires: xen-devel
%endif
%if 0%{?suse_version} > 1030
-%define with_polkit 1
-BuildRequires: PolicyKit-devel dnsmasq libavahi-devel
+BuildRequires: libavahi-devel
%else
BuildRequires: avahi-devel
%endif
@@ -35,9 +44,8 @@
Group: Development/Libraries/C and C++
AutoReqProv: yes
Version: 0.4.4
-Release: 1
+Release: 14
Summary: A C toolkit to interract with the virtualization capabilities
of Linux
-Requires: libxml2
Requires: readline
Requires: ncurses
Requires: bridge-utils
@@ -46,10 +54,8 @@
Requires: lvm2
Requires: parted
Recommends: cyrus-sasl-digestmd5
-%if 0%{?suse_version} > 1030
Requires: dnsmasq
Requires: PolicyKit >= 0.6
-%endif
Source0: %{name}-%{version}.tar.bz2
Source1: libvirtd.init
Patch0: libvirtd-polkit.patch
@@ -150,13 +156,16 @@
%if ! %{with_xen}
%define _without_xen --without-xen
%endif
+%if %{with_lxc}
+%define _with_lxc --with-lxc
+%endif
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure %{?_without_xen} \
+ %{?_with_lxc} \
--libexecdir=%{_libdir}/%{name} \
--with-init-script=none \
- --with-qemud-pid-file=%{_localstatedir}/run/libvirt_qemud.pid \
- --with-remote-file=%{_localstatedir}/run/libvirtd.pid \
+ --with-remote-pid-file=%{_localstatedir}/run/libvirtd.pid \
--with-storage-iscsi=no \
--with-xen-proxy=no
make DOCS_DIR=%{_docdir}/%{name}-python
EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
@@ -165,12 +174,13 @@
%install
%makeinstall DOCS_DIR=%{_docdir}/%{name}-python
EXAMPLE_DIR=%{_docdir}/%{name}-python/examples HTML_DIR=%{_docdir}/%{name}
cp -a AUTHORS ChangeLog COPYING NEWS README TODO
$RPM_BUILD_ROOT%{_docdir}/%{name}/
-# remove currently unsupported locale
+# remove currently unsupported locale(s)
rm -rf $RPM_BUILD_ROOT/usr/share/locale/sr@latin
# for now, do not install the default network definition
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/default.xml
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/libvirt/qemu/networks/autostart/default.xml
-mkdir -p $RPM_BUILD_ROOT/var/run/libvirtd
+mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/run/libvirt
+mkdir -p $RPM_BUILD_ROOT/%{_localstatedir}/lib/libvirt
rm $RPM_BUILD_ROOT%{_docdir}/%{name}/{*.c,examples.x*}
rm $RPM_BUILD_ROOT%{_libdir}/*.*a $RPM_BUILD_ROOT%{py_sitedir}/*.*a
ln_dupes()
@@ -220,18 +230,21 @@
%doc %{_mandir}/man1/virsh.1*
%{_libdir}/*.so.*
%dir %{_libdir}/%{name}
+%if 0%{?suse_version} > 1030
%{_libdir}/%{name}/libvirt_parthelper
+%endif
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/
%dir %attr(0700, root, root) %{_sysconfdir}/libvirt/qemu/networks/autostart
-%dir /var/run/libvirt/
+%dir /%{_localstatedir}/run/libvirt/
+%dir /%{_localstatedir}/lib/libvirt/
%config /etc/init.d/libvirtd
%{_sbindir}/rclibvirtd
%config %{_sysconfdir}/libvirt/libvirtd.conf
%config %{_sysconfdir}/libvirt/qemu.conf
%config %{_sysconfdir}/sasl2/libvirt.conf
-%if %{with_polkit}
+%if 0%{?suse_version} > 1030
%{_datadir}/PolicyKit/policy/libvirtd.policy
%endif

@@ -255,6 +268,11 @@
%{py_sitedir}/libvirtmod*

%changelog
+* Sat Aug 09 2008 jfehlig@xxxxxxxxxx
+- Adjustments to spec file
+ + Added /var/lib/libvirt directory
+ + Enabled LXC support if suse_version > 1100, fate #304001
+ + Cleaned up some rpmlint warnings
* Sun Jul 06 2008 jfehlig@xxxxxxxxxx
- Updated to libvirt 0.4.4
+ Bug fixes: QEmu network serialization, internal memory allocation



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread