From effbf509eea4f37a1a8660242769ed1746b67ee0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sat, 30 Jan 2021 23:53:31 +0100 Subject: RPM: update build scripts for Fedora 33 / CentOS 8 --- redhat/applications/kpilot/kpilot.spec | 2 ++ 1 file changed, 2 insertions(+) (limited to 'redhat/applications/kpilot') diff --git a/redhat/applications/kpilot/kpilot.spec b/redhat/applications/kpilot/kpilot.spec index c8cc0e565..eb55dc240 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 -- cgit v1.2.1