add BR optional on rhel
This commit is contained in:
parent
3f5fe1f0f0
commit
e03cc5d3ee
5
jna.spec
5
jna.spec
@ -35,7 +35,10 @@ Requires: java, jpackage-utils, libffi
|
|||||||
Requires(post): jpackage-utils
|
Requires(post): jpackage-utils
|
||||||
Requires(postun): jpackage-utils
|
Requires(postun): jpackage-utils
|
||||||
BuildRequires: java-devel, jpackage-utils, libffi-devel
|
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
|
BuildRequires: libX11-devel, libXt-devel
|
||||||
# for ExclusiveArch see bug: 468831 640005 548099
|
# for ExclusiveArch see bug: 468831 640005 548099
|
||||||
%if 0%{?fedora} < 10 && 0%{?rhel} < 6
|
%if 0%{?fedora} < 10 && 0%{?rhel} < 6
|
||||||
|
Loading…
Reference in New Issue
Block a user