From 2ce39da0e1efa04fe1d17c7bfec0dc52975281468f3ce8464cf68aca9929e97e Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Mon, 4 Nov 2024 18:32:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=214 --- _multibuild | 6 +++--- ant.spec | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/_multibuild b/_multibuild index 1cc75aa..3f8dfb5 100644 --- a/_multibuild +++ b/_multibuild @@ -1,6 +1,6 @@ - ant-antlr - ant-junit - ant-junit5 + antlr + junit + junit5 diff --git a/ant.spec b/ant.spec index a2e03f1..bfc5cdf 100644 --- a/ant.spec +++ b/ant.spec @@ -17,20 +17,21 @@ # +%global flavor @BUILD_FLAVOR@%{nil} %global ant_home %{_datadir}/ant -%if "%{flavor}" == "ant-antlr" +%if "%{flavor}" == "antlr" %bcond_with bootstrap %bcond_with junit %bcond_with junit5 %bcond_without antlr Name: ant-antlr -%elif "%{flavor}" == "ant-junit" +%elif "%{flavor}" == "junit" %bcond_with bootstrap %bcond_without junit %bcond_with junit5 %bcond_with antlr Name: ant-junit -%elif "%{flavor}" == "ant-junit5" +%elif "%{flavor}" == "junit5" %bcond_with bootstrap %bcond_with junit %bcond_without junit5