[qemu/epel7: 15/23] Bridge helper is shipped by qemu-kvm-common
Lubomir Rintel
lkundrak at fedoraproject.org
Sat Apr 19 07:52:58 UTC 2014
commit 13197a9445ce2aabbc1aeb4cd874379c306585a0
Author: Lubomir Rintel <lkundrak at v3.sk>
Date: Wed Feb 26 18:33:41 2014 +0100
Bridge helper is shipped by qemu-kvm-common
qemu.spec | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/qemu.spec b/qemu.spec
index ff85170..040cdae 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -387,6 +387,9 @@ This package provides a command line tool for manipulating disk images
%package common
Summary: QEMU common files needed by all QEMU targets
Group: Development/Tools
+%if %{with separate_kvm}
+Requires: qemu-kvm-common
+%endif
Requires(post): /usr/bin/getent
Requires(post): /usr/sbin/groupadd
Requires(post): /usr/sbin/useradd
@@ -1015,6 +1018,8 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/vscclient
rm -f $RPM_BUILD_ROOT%{_libdir}/libcacard*
rm -f $RPM_BUILD_ROOT%{_libdir}/pkgconfig/libcacard.pc
rm -rf $RPM_BUILD_ROOT%{_includedir}/cacard
+
+rm -f $RPM_BUILD_ROOT%{_libexecdir}/qemu-bridge-helper
%endif
# When building using 'rpmbuild' or 'fedpkg local', RPATHs can be left in
@@ -1134,7 +1139,9 @@ getent passwd qemu >/dev/null || \
%{_mandir}/man1/qemu.1*
%{_mandir}/man1/virtfs-proxy-helper.1*
%{_bindir}/virtfs-proxy-helper
+%if %{without separate_kvm}
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
+%endif
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
%dir %{_sysconfdir}/qemu
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
More information about the scm-commits
mailing list