summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfs.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 9b7e96e0540..609c0e64ad1 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -54,8 +54,8 @@ Requires(postun): /sbin/service
%{!?_without_bdb:BuildRequires: db4-devel}
%{!?_without_client:BuildRequires: fuse-devel}
-%if 0%{!?_without_modglfs}
-%if 0%{!?_without_apxs_default}
+%if 0%{!?_without_modglfs:1}
+%if 0%{!?_without_apxs_default:1}
BuildRequires: httpd-devel >= 2.2
%endif
%endif