[gdl/el6] Fixup antlr conditional
Orion Poplawski
orion at fedoraproject.org
Wed May 16 14:24:08 UTC 2012
commit 1d7e1842dd4bbd9a75aa6decc8af9c6d76191523
Author: Orion Poplawski <orion at cora.nwra.com>
Date: Wed May 16 08:24:06 2012 -0600
Fixup antlr conditional
gdl.spec | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gdl.spec b/gdl.spec
index 7a31db8..53ffabb 100644
--- a/gdl.spec
+++ b/gdl.spec
@@ -26,9 +26,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#RHEL5 doesn't have the needed antlr version/headers, has old plplot
%if 0%{?fedora} || 0%{?rhel} >= 6
-BuildRequires: antlr-C++
%if 0%{?fedora} >= 14
+BuildRequires: antlr-C++
BuildRequires: antlr-tool
+ %else
+BuildRequires: antlr
%endif
%global plplot_config %{nil}
%else
More information about the scm-commits
mailing list