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 -- 1.8.5.3 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list