From: Jan Rękorajski Date: Sat, 28 Feb 2015 17:50:18 +0000 (+0100) Subject: - instead of disabling gcj on every arch just disable bcond X-Git-Tag: auto/th/antlr-2.7.7-14 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fantlr.git;a=commitdiff_plain;h=62ad69342a7bc844dd77d5706b5877b5cf6a0fc0 - instead of disabling gcj on every arch just disable bcond - disable dotnet on x32 (no mono on this arch) - rel 14 --- diff --git a/antlr.spec b/antlr.spec index 947ca74..d5ba6cc 100644 --- a/antlr.spec +++ b/antlr.spec @@ -7,21 +7,21 @@ # to 3. # # Conditional build: -%bcond_without gcj # use javac instead of GCJ +%bcond_with gcj # use GCJ instead of javac %bcond_without dotnet # don't build .NET modules %bcond_without java # don't build Java at all # %{?with_dotnet:%include /usr/lib/rpm/macros.mono} # -%ifarch i486 i586 i686 athlon %{x8664} -%undefine with_gcj +%ifarch x32 +%undefine with_dotnet %endif # Summary: ANother Tool for Language Recognition Summary(pl.UTF-8): Jeszcze jedno narzędzie do rozpoznawania języka Name: antlr Version: 2.7.7 -Release: 13 +Release: 14 License: Public Domain Group: Development/Tools Source0: http://www.antlr2.org/download/%{name}-%{version}.tar.gz