forked from pool/libvirt
- Move libvirt-iohelper from client to base package
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=116
This commit is contained in:
parent
6eeb6b8fed
commit
914265551a
33
2999bb06-iohelper-libvirtd.patch
Normal file
33
2999bb06-iohelper-libvirtd.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
commit 2999bb06f3fd448c65eba59a2f20128c9e46bf01
|
||||||
|
Author: Wen Congyang <wency@cn.fujitsu.com>
|
||||||
|
Date: Fri Apr 8 11:26:47 2011 +0800
|
||||||
|
|
||||||
|
do not build libvirt_iohelper when building without libvirtd
|
||||||
|
|
||||||
|
The libexec program libvirt_iohelper is only for libvirtd. If we build rpm
|
||||||
|
without libvirtd, we will receive the following messages:
|
||||||
|
|
||||||
|
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/wency/rpmbuild/BUILDROOT/libvirt-0.9.0-1.el6.x86_64
|
||||||
|
error: Installed (but unpackaged) file(s) found:
|
||||||
|
/usr/libexec/libvirt_iohelper
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||||
|
index 3649106..dce866e 100644
|
||||||
|
--- a/src/Makefile.am
|
||||||
|
+++ b/src/Makefile.am
|
||||||
|
@@ -1183,6 +1183,7 @@ EXTRA_DIST += $(LIBVIRT_QEMU_SYMBOL_FILE)
|
||||||
|
|
||||||
|
libexec_PROGRAMS =
|
||||||
|
|
||||||
|
+if WITH_LIBVIRTD
|
||||||
|
libexec_PROGRAMS += libvirt_iohelper
|
||||||
|
libvirt_iohelper_SOURCES = $(UTIL_IO_HELPER_SOURCES)
|
||||||
|
libvirt_iohelper_LDFLAGS = $(WARN_LDFLAGS) $(AM_LDFLAGS)
|
||||||
|
@@ -1191,6 +1192,7 @@ libvirt_iohelper_LDADD = \
|
||||||
|
../gnulib/lib/libgnu.la
|
||||||
|
|
||||||
|
libvirt_iohelper_CFLAGS = $(AM_CFLAGS)
|
||||||
|
+endif
|
||||||
|
|
||||||
|
if WITH_STORAGE_DISK
|
||||||
|
if WITH_LIBVIRTD
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 12 15:26:02 MDT 2011 - jfehlig@suse.de
|
||||||
|
|
||||||
|
- Move libvirt-iohelper from client to base package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 12 05:11:22 UTC 2011 - coolo@opensuse.org
|
Tue Apr 12 05:11:22 UTC 2011 - coolo@opensuse.org
|
||||||
|
|
||||||
|
@ -331,6 +331,7 @@ Source0: %{name}-%{version}.tar.bz2
|
|||||||
Source1: libvirtd.init
|
Source1: libvirtd.init
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
Patch0: f7e9b448-libxl-build.patch
|
Patch0: f7e9b448-libxl-build.patch
|
||||||
|
Patch1: 2999bb06-iohelper-libvirtd.patch
|
||||||
# Need to go upstream
|
# Need to go upstream
|
||||||
Patch100: xen-name-for-devid.patch
|
Patch100: xen-name-for-devid.patch
|
||||||
Patch101: clone.patch
|
Patch101: clone.patch
|
||||||
@ -447,6 +448,7 @@ Authors:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
%patch100 -p1
|
%patch100 -p1
|
||||||
%patch101
|
%patch101
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
@ -758,6 +760,7 @@ fi
|
|||||||
%if %{with_storage_disk}
|
%if %{with_storage_disk}
|
||||||
%{_libdir}/%{name}/libvirt_parthelper
|
%{_libdir}/%{name}/libvirt_parthelper
|
||||||
%endif
|
%endif
|
||||||
|
%{_libdir}/%{name}/libvirt_iohelper
|
||||||
%doc %{_mandir}/man8/libvirtd.8*
|
%doc %{_mandir}/man8/libvirtd.8*
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -777,7 +780,6 @@ fi
|
|||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
%{_localstatedir}/adm/fillup-templates/sysconfig.libvirt-guests
|
||||||
%config /etc/init.d/libvirt-guests
|
%config /etc/init.d/libvirt-guests
|
||||||
%{_sbindir}/rclibvirt-guests
|
%{_sbindir}/rclibvirt-guests
|
||||||
%{_libdir}/%{name}/libvirt_iohelper
|
|
||||||
|
|
||||||
%dir %{_datadir}/libvirt/
|
%dir %{_datadir}/libvirt/
|
||||||
%dir %{_datadir}/libvirt/schemas/
|
%dir %{_datadir}/libvirt/schemas/
|
||||||
|
Loading…
Reference in New Issue
Block a user