diff --git a/glassfish-el.spec b/glassfish-el.spec index 0330a53..fa13583 100644 --- a/glassfish-el.spec +++ b/glassfish-el.spec @@ -38,12 +38,14 @@ Source0: %{name}-%{verbase}-%{reltag}-clean.tar.xz Source1: %{name}-%{verbase}-%{reltag}-build.tar.xz Source2: http://www.apache.org/licenses/LICENSE-2.0.txt BuildRequires: ant -BuildRequires: ant-junit BuildRequires: fdupes BuildRequires: javacc BuildRequires: javapackages-local Requires: %{name}-api = %{version} BuildArch: noarch +%if %{with tests} +BuildRequires: ant-junit +%endif %description This project provides an implementation of the Expression Language (EL).