From 51ee5cfad6c0cdfe682ddce9a7eda24afaf13d74 Mon Sep 17 00:00:00 2001 From: Thomas Woerner Date: Fri, 26 Oct 2012 14:24:43 +0200 Subject: [PATCH] - fixed flex-devel build conditional --- motif.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motif.spec b/motif.spec index 7cc2929..8719a25 100644 --- a/motif.spec +++ b/motif.spec @@ -14,7 +14,7 @@ Requires: xorg-x11-xinit BuildRequires: automake, libtool, autoconf, flex # flex static libs have been part of flex for RHEL <= 6 and Fedora <= 12 -%if 0%{?fedora} > 17 && 0%{?rhel} > 6 +%if 0%{?fedora} > 17 || 0%{?rhel} > 6 BuildRequires: flex-devel%{?_isa} %endif %if 0%{?fedora} > 12 && 0%{?fedora} <= 17