Resolve build deps and specfile macro on el5/6
This commit is contained in:
parent
d4f2f196d2
commit
6d32cd73cd
6
pcp.spec
6
pcp.spec
@ -16,7 +16,11 @@ Source1: pcp-webjs.src.tar.gz
|
||||
%{!?disable_perfevent: %global disable_perfevent 1}
|
||||
%else
|
||||
%{!?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
|
||||
|
||||
%define disable_microhttpd 0
|
||||
|
Loading…
Reference in New Issue
Block a user