[spice] Add a few RHEL tweaks
Christophe Fergeau
teuf at fedoraproject.org
Fri Jun 1 12:52:02 UTC 2012
commit 2782238e340df4fd428a32659a8548cedb290527
Author: Christophe Fergeau <cfergeau at redhat.com>
Date: Fri Jun 1 14:35:39 2012 +0200
Add a few RHEL tweaks
On RHEL we don't want to build the client, and spice-server is
x86_64 only.
spice.spec | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/spice.spec b/spice.spec
index 851b2d1..c1b5c79 100644
--- a/spice.spec
+++ b/spice.spec
@@ -3,6 +3,9 @@
# If you want to build both client and server change value to 1
# If you want to only build the server change value to 0
%define build_client 1
+%if 0%{?rhel}
+%define build_client 0
+%endif
Name: spice
Version: 0.10.1
@@ -24,7 +27,12 @@ Patch7: 0008-server-mjpeg_encoder-fix-wrong-size-assigned-to-dest.patch
Patch8: 0009-spice-configure-cleanup-client-build.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=613529
+
+%if 0%{?rhel}
+ExclusiveArch: x86_64
+%else
ExclusiveArch: i686 x86_64
+%endif
BuildRequires: pkgconfig
BuildRequires: spice-protocol >= 0.10.1
More information about the scm-commits
mailing list