diff --git a/ant.spec b/ant.spec index bfc5cdf..46fb8b3 100644 --- a/ant.spec +++ b/ant.spec @@ -25,36 +25,35 @@ %bcond_with junit5 %bcond_without antlr Name: ant-antlr -%elif "%{flavor}" == "junit" +Summary: Antlr Task for ant +%else +%if "%{flavor}" == "junit" %bcond_with bootstrap %bcond_without junit %bcond_with junit5 %bcond_with antlr Name: ant-junit -%elif "%{flavor}" == "junit5" +Summary: Optional junit tasks for ant +%else +%if "%{flavor}" == "junit5" %bcond_with bootstrap %bcond_with junit %bcond_without junit5 %bcond_with antlr Name: ant-junit5 +Summary: Optional junit tasks for ant %else %bcond_without bootstrap %bcond_with junit %bcond_with junit5 %bcond_with antlr Name: ant +Summary: Java-based build tool +%endif +%endif %endif Version: 1.10.15 Release: 0 -%if "%{flavor}" == "ant-antlr" -#Summary: Antlr Task for ant -%elif "%{flavor}" == "ant-junit" -#Summary: Optional junit tasks for ant -%elif "%{flavor}" == "ant-junit5" -#Summary: Optional junit tasks for ant -%else -Summary: Java-based build tool -%endif License: Apache-2.0 Group: Development/Tools/Building URL: https://ant.apache.org/