diff --git a/apache-commons-collections4.spec b/apache-commons-collections4.spec index 1d20e18..072f82f 100644 --- a/apache-commons-collections4.spec +++ b/apache-commons-collections4.spec @@ -30,11 +30,13 @@ Source0: http://archive.apache.org/dist/commons/collections/source/common Patch0: commons-collections4-4.1-jdk11.patch Patch1: commons-collections4-4.1-bundle.patch Patch2: commons-collections4-4.1-javadoc.patch -BuildRequires: fdupes ant +BuildRequires: ant +BuildRequires: fdupes BuildRequires: javapackages-local BuildArch: noarch %if %{with tests} -BuildRequires: easymock ant-junit +BuildRequires: ant-junit +BuildRequires: easymock %endif %description @@ -57,7 +59,7 @@ This package provides %{summary}. %pom_remove_parent %build -%ant \ +%{ant} \ %if %{with tests} -Djunit.jar=$(build-classpath junit) \ -Dhamcrest.jar=$(build-classpath hamcrest/core) \