[qemu/epel7: 53/54] Bridge helper is shipped by qemu-kvm-common

Lubomir Rintel lkundrak at fedoraproject.org
Wed Feb 26 18:36:52 UTC 2014


commit 491ebad8e9a40b1096ec9318fa02eaecd1a5b679
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 1c053f2..78712a8 100644
--- a/qemu.spec
+++ b/qemu.spec
@@ -403,6 +403,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
@@ -1054,6 +1057,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
@@ -1172,7 +1177,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