add BR optional on rhel

This commit is contained in:
Levente Farkas 2013-04-25 14:57:25 +02:00
parent 3f5fe1f0f0
commit e03cc5d3ee

View File

@ -35,7 +35,10 @@ Requires: java, jpackage-utils, libffi
Requires(post): jpackage-utils
Requires(postun): jpackage-utils
BuildRequires: java-devel, jpackage-utils, libffi-devel
BuildRequires: ant, ant-junit, ant-nodeps, ant-trax, junit
BuildRequires: ant, ant-junit, junit
%if 0%{?rhel}
BuildRequires: ant-nodeps, ant-trax
%endif
BuildRequires: libX11-devel, libXt-devel
# for ExclusiveArch see bug: 468831 640005 548099
%if 0%{?fedora} < 10 && 0%{?rhel} < 6