From 9d9bc6cec08057b8cb9558451b19f21c26a13ed2 Mon Sep 17 00:00:00 2001 From: Daniel P. Berrange Date: Jan 17 2013 16:23:12 +0000 Subject: Conditionalize dep on libvirt-daemon-qemu Signed-off-by: Daniel P. Berrange --- diff --git a/libvirt-sandbox.spec b/libvirt-sandbox.spec index 1ce2c82..813b293 100644 --- a/libvirt-sandbox.spec +++ b/libvirt-sandbox.spec @@ -1,6 +1,7 @@ # -*- rpm-spec -*- %define with_introspection 0 +%define with_tcg 1 %define with_python 0 %if 0%{?fedora} >= 15 @@ -8,12 +9,13 @@ %endif %if 0%{?rhel} >= 6 %define with_introspection 1 +%define with_tcg 0 %endif Name: libvirt-sandbox Version: 0.1.1 -Release: 1%{?dist}%{?extra_release} +Release: 2%{?dist}%{?extra_release} Summary: libvirt application sandbox framework Group: Development/Tools License: LGPLv2+ @@ -35,7 +37,9 @@ Summary: libvirt application sandbox framework libraries %ifarch %{ix86} x86_64 Requires: libvirt-daemon-kvm >= 0.9.12 %endif +%if %{with_tcg} Requires: libvirt-daemon-qemu >= 0.9.12 +%endif Requires: libvirt-daemon-lxc >= 0.9.12 %package devel @@ -126,6 +130,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/Libvirt-sandbox %changelog +* Thu Jan 17 2013 Daniel P. Berrange - 0.1.1-2 +- Conditionalize dep on libvirt-daemon-qemu + * Mon Dec 10 2012 Daniel P. Berrange - 0.1.1-1 - Update to 0.1.1 release