- fixed flex-devel build conditional

This commit is contained in:
Thomas Woerner 2012-10-26 14:24:43 +02:00
parent 432025e059
commit 51ee5cfad6

View File

@ -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