[PATCH libvirt-java] spec: Depend on java-headless for Fedora 21+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]