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

Daniel P. Berrange berrange at redhat.com
Tue Feb 25 17:17:15 UTC 2014


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
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list