summaryrefslogtreecommitdiffstats
path: root/redhat/applications/kpilot/kpilot-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/kpilot/kpilot-14.0.0.spec')
-rw-r--r--redhat/applications/kpilot/kpilot-14.0.0.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/redhat/applications/kpilot/kpilot-14.0.0.spec b/redhat/applications/kpilot/kpilot-14.0.0.spec
index c21e6f726..f01734a2f 100644
--- a/redhat/applications/kpilot/kpilot-14.0.0.spec
+++ b/redhat/applications/kpilot/kpilot-14.0.0.spec
@@ -49,9 +49,11 @@ BuildRequires: trinity-tdebase-devel >= %{tde_version}
BuildRequires: desktop-file-utils
# FLEX
-%if 0%{?suse_version} || 0%{?mgaversion} || 0%{?rhel}
+%if 0%{?suse_version} || 0%{?mgaversion}
+BuildRequires: flex
+%endif
+%if 0%{?rhel} || 0%{?fedora}
BuildRequires: flex
-%else
BuildRequires: flex-devel
%endif