summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpilot/kpilot.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kpilot/kpilot.spec')
-rw-r--r--redhat/applications/kpilot/kpilot.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/redhat/applications/kpilot/kpilot.spec b/redhat/applications/kpilot/kpilot.spec
index b04791581..aa19d1eb4 100644
--- a/redhat/applications/kpilot/kpilot.spec
+++ b/redhat/applications/kpilot/kpilot.spec
@@ -96,8 +96,10 @@ BuildRequires: flex
%endif
%if 0%{?rhel} || 0%{?fedora}
BuildRequires: flex
+%if 0%{?rhel} != 5
BuildRequires: flex-devel
%endif
+%endif
# PILOT support
BuildRequires: pilot-link-devel >= 0.12