# tried to download this on the fly using git archive at git://libvirt.org/libvirt.git
# but it feels like git archive is not supported/allowed there
ALL += libvirt
-libvirt-URL1 := http://mirror.onelab.eu/third-party/libvirt-1.0.2.tar.gz
-libvirt-URL2 := http://planet-lab.org/third-party/libvirt-1.0.2.tar.gz
-libvirt-SHA1SUM := ad8063794bb70e7538a3437412dd0c75950b81e2
+libvirt-URL1 := http://mirror.onelab.eu/third-party/libvirt-1.0.4.tar.gz
+libvirt-URL2 := http://planet-lab.org/third-party/libvirt-1.0.4.tar.gz
+libvirt-SHA1SUM := 45e74a9a4c3a88c98ac4ae5d8200ea65c42b6951
libvirt := $(notdir $(libvirt-URL1))
all: $(ALL)
+++ /dev/null
-build: Add libcurl dependency to libvirt_driver.la
-author Jiri Denemark <jdenemar@redhat.com>
-Fri, 1 Feb 2013 12:36:06 +0000 (13:36 +0100)
-committer Jiri Denemark <jdenemar@redhat.com>
-Tue, 5 Feb 2013 09:00:32 +0000 (10:00 +0100)
-libvirt.c calls curl_global_init() if WITH_CURL is defined and thus it
-should be linked with libcurl. This fixes link failure in case neither
-xenapi nor esx driver is enabled (they are the only users of libcurl).
-
-src/Makefile.am patch | blob | history
-diff --git a/src/Makefile.am b/src/Makefile.am
-index 070a089..f6162df 100644 (file)
---- a/src/Makefile.am 2013-02-19 19:24:43.635404112 +0100
-+++ b/src/Makefile.am 2013-02-19 19:27:54.487331784 +0100
-@@ -792,9 +792,11 @@
- libvirt_la_BUILT_LIBADD += libvirt_driver.la
- libvirt_driver_la_SOURCES = $(DRIVER_SOURCES)
-
--libvirt_driver_la_CFLAGS = $(NUMACTL_CFLAGS) $(GNUTLS_CFLAGS) \
-- -I$(top_srcdir)/src/conf $(AM_CFLAGS)
--libvirt_driver_la_LIBADD = $(NUMACTL_LIBS) $(GNUTLS_LIBS) $(DLOPEN_LIBS)
-+libvirt_driver_la_CFLAGS = \
-+ $(NUMACTL_CFLAGS) $(GNUTLS_CFLAGS) $(CURL_CFLAGS) \
-+ -I$(top_srcdir)/src/conf $(AM_CFLAGS)
-+libvirt_driver_la_LIBADD = \
-+ $(NUMACTL_LIBS) $(GNUTLS_LIBS) $(CURL_LIBS) $(DLOPEN_LIBS)
-
- USED_SYM_FILES = $(srcdir)/libvirt_private.syms
-
+++ /dev/null
-http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=514b93061c11a4a61454458bcb2980a482185959
# -*- rpm-spec -*-
-%define mainstream_version 1.0.2
+%define mainstream_version 1.0.4
%define module_version_varname mainstream_version
-%define taglevel 2
+%define taglevel 0
#libvirt-RPMFLAGS := --without storage-disk --without storage-iscsi --without storage-scsi \
# --without storage-fs --without storage-lvm \
%define mainturl stable_updates/
%endif
Source: http://libvirt.org/sources/%{?mainturl}libvirt-%{version}.tar.gz
-Patch1: libcurl.patch
-Patch3: securityselinuxlabeltest.patch
%if %{with_libvirtd}
Requires: libvirt-daemon = %{version}-%{release}
%prep
%setup -q
-%patch1 -p1
-%patch3 -p1
%build
%if ! %{with_xen}
+++ /dev/null
-tests: Don't build securityselinuxlabeltest without qemu
-author Jiri Denemark <jdenemar@redhat.com>
-Wed, 30 Jan 2013 15:44:06 +0000 (16:44 +0100)
-committer Jiri Denemark <jdenemar@redhat.com>
-Thu, 31 Jan 2013 09:32:43 +0000 (10:32 +0100)
-Sources for securityselinuxlabeltest are only defined if qemu driver is
-enabled so we should not try to build the test if qemu driver is
-disabled.
-
-tests/Makefile.am patch | blob | history
-diff --git a/tests/Makefile.am b/tests/Makefile.am
-index 9da0b4a..0194db2 100644 (file)
---- a/tests/Makefile.am
-+++ b/tests/Makefile.am
-@@ -108,10 +108,12 @@ endif
-
- if WITH_SECDRIVER_SELINUX
- test_programs += securityselinuxtest
-+if WITH_QEMU
- if WITH_ATTR
- test_programs += securityselinuxlabeltest
- endif
- endif
-+endif
-
- if WITH_DRIVER_MODULES
- test_programs += virdrivermoduletest
+++ /dev/null
-http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=d6c8597046dfc6b94ef5d7bf0b9ffae725a9c104