Fridrich Strba 2024-11-04 18:32:15 +00:00 committed by Git OBS Bridge
parent c513c5fcd4
commit 2ce39da0e1
2 changed files with 7 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<multibuild> <multibuild>
<package>ant-antlr</package> <flavor>antlr</flavor>
<package>ant-junit</package> <flavor>junit</flavor>
<package>ant-junit5</package> <flavor>junit5</flavor>
</multibuild> </multibuild>

View File

@ -17,20 +17,21 @@
# #
%global flavor @BUILD_FLAVOR@%{nil}
%global ant_home %{_datadir}/ant %global ant_home %{_datadir}/ant
%if "%{flavor}" == "ant-antlr" %if "%{flavor}" == "antlr"
%bcond_with bootstrap %bcond_with bootstrap
%bcond_with junit %bcond_with junit
%bcond_with junit5 %bcond_with junit5
%bcond_without antlr %bcond_without antlr
Name: ant-antlr Name: ant-antlr
%elif "%{flavor}" == "ant-junit" %elif "%{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}" == "ant-junit5" %elif "%{flavor}" == "junit5"
%bcond_with bootstrap %bcond_with bootstrap
%bcond_with junit %bcond_with junit
%bcond_without junit5 %bcond_without junit5