Add a few RHEL tweaks

On RHEL we don't want to build the client, and spice-server is
x86_64 only.
This commit is contained in:
Christophe Fergeau 2012-06-01 14:35:39 +02:00
parent 6e5beb7fbe
commit 2782238e34

View File

@ -3,6 +3,9 @@
# If you want to build both client and server change value to 1 # 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 # If you want to only build the server change value to 0
%define build_client 1 %define build_client 1
%if 0%{?rhel}
%define build_client 0
%endif
Name: spice Name: spice
Version: 0.10.1 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 Patch8: 0009-spice-configure-cleanup-client-build.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=613529 # https://bugzilla.redhat.com/show_bug.cgi?id=613529
%if 0%{?rhel}
ExclusiveArch: x86_64
%else
ExclusiveArch: i686 x86_64 ExclusiveArch: i686 x86_64
%endif
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: spice-protocol >= 0.10.1 BuildRequires: spice-protocol >= 0.10.1