[motif] - fixed flex-devel build conditional

Thomas Woerner twoerner at fedoraproject.org
Fri Oct 26 12:25:39 UTC 2012


commit 51ee5cfad6c0cdfe682ddce9a7eda24afaf13d74
Author: Thomas Woerner <twoerner at redhat.com>
Date:   Fri Oct 26 14:24:43 2012 +0200

    - fixed flex-devel build conditional

 motif.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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


More information about the scm-commits mailing list