Resolve build deps and specfile macro on el5/6

This commit is contained in:
Nathan Scott 2014-12-01 15:48:13 +11:00
parent d4f2f196d2
commit 6d32cd73cd

View File

@ -16,7 +16,11 @@ Source1: pcp-webjs.src.tar.gz
%{!?disable_perfevent: %global disable_perfevent 1} %{!?disable_perfevent: %global disable_perfevent 1}
%else %else
%{!?disable_papi: %global disable_papi 0%{?rhel} < 6} %{!?disable_papi: %global disable_papi 0%{?rhel} < 6}
%{!?disable_perfevent: %global disable_perfevent 0%{?rhel} < 7} %if 0%{?fedora} >= 20 || 0%{?rhel} > 6
%define disable_perfevent 0
%else
%define disable_perfevent 1
%endif
%endif %endif
%define disable_microhttpd 0 %define disable_microhttpd 0