On 02/25/2014 12:17 PM, Daniel P. Berrange wrote:
On Tue, Feb 25, 2014 at 12:14:25PM -0500, Cole Robinson wrote:
> Details:
https://bugzilla.redhat.com/show_bug.cgi?id=1068369
> ---
> libvirt-java.spec.in | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/libvirt-java.spec.in b/libvirt-java.spec.in
> index 137af83..d07b998 100644
> --- a/libvirt-java.spec.in
> +++ b/libvirt-java.spec.in
> @@ -12,7 +12,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
>
> Requires: jna
> Requires: libvirt-client >= @libvirt.required@
> +%if 0%{?fedora} >= 21
> +Requires: java-headless >= @java.required@
> +%else
> Requires: java >= @java.required@
> +%endif
> Requires: jpackage-utils
> BuildRequires: ant
> BuildRequires: jna
ACK
Regards,
Daniel