some distros don't support %elif
OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=215
This commit is contained in:
parent
2ce39da0e1
commit
43ab17a15f
21
ant.spec
21
ant.spec
@ -25,36 +25,35 @@
|
|||||||
%bcond_with junit5
|
%bcond_with junit5
|
||||||
%bcond_without antlr
|
%bcond_without antlr
|
||||||
Name: ant-antlr
|
Name: ant-antlr
|
||||||
%elif "%{flavor}" == "junit"
|
Summary: Antlr Task for ant
|
||||||
|
%else
|
||||||
|
%if "%{flavor}" == "junit"
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
%bcond_without junit
|
%bcond_without junit
|
||||||
%bcond_with junit5
|
%bcond_with junit5
|
||||||
%bcond_with antlr
|
%bcond_with antlr
|
||||||
Name: ant-junit
|
Name: ant-junit
|
||||||
%elif "%{flavor}" == "junit5"
|
Summary: Optional junit tasks for ant
|
||||||
|
%else
|
||||||
|
%if "%{flavor}" == "junit5"
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
%bcond_with junit
|
%bcond_with junit
|
||||||
%bcond_without junit5
|
%bcond_without junit5
|
||||||
%bcond_with antlr
|
%bcond_with antlr
|
||||||
Name: ant-junit5
|
Name: ant-junit5
|
||||||
|
Summary: Optional junit tasks for ant
|
||||||
%else
|
%else
|
||||||
%bcond_without bootstrap
|
%bcond_without bootstrap
|
||||||
%bcond_with junit
|
%bcond_with junit
|
||||||
%bcond_with junit5
|
%bcond_with junit5
|
||||||
%bcond_with antlr
|
%bcond_with antlr
|
||||||
Name: ant
|
Name: ant
|
||||||
|
Summary: Java-based build tool
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
%endif
|
%endif
|
||||||
Version: 1.10.15
|
Version: 1.10.15
|
||||||
Release: 0
|
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
|
License: Apache-2.0
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
URL: https://ant.apache.org/
|
URL: https://ant.apache.org/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user