Commit 73b9f68d authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

Better check: only SLC6/x86_64 is allowed to build the server side

parent 7380f19a
......@@ -7,15 +7,19 @@
# Partial compilations
#---------------------
%ifnarch x86_64
# server side is only supported on x86_64
# server side is only supported on x86_64 / SLC6
%define compile_server 0
%else
%if 0%{?dist} == "slc6"
# rpmbuild --define "clientonly 1" ...
%if 0%{?clientonly:1} > 0
%define compile_server 0
%else
%define compile_server @COMPILE_SERVER@
%endif
%else
%define compile_server 0
%endif
%endif
# Neutral packaging (for srpm)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment