diff --git a/antlr.spec b/antlr.spec index 8e46fc4..9427c9d 100644 --- a/antlr.spec +++ b/antlr.spec @@ -127,7 +127,7 @@ ant \ jar %configure make -j1 -%if %{with python} +%if %{with python2} %py_compile lib/python/antlr %endif