forked from pool/libvirt
Enabled yajl for suse_version >= 1140
OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=88
This commit is contained in:
parent
3a4a8a334a
commit
d10296b376
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 18 09:25:18 MST 2011 - jfehlig@novell.com
|
||||
|
||||
- Enabled yajl for suse_version >= 1140
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 14 15:39:16 MST 2011 - jfehlig@novell.com
|
||||
|
||||
|
15
libvirt.spec
15
libvirt.spec
@ -39,22 +39,22 @@
|
||||
%define with_selinux 1
|
||||
%define with_apparmor 0
|
||||
# options
|
||||
# still no yajl json library
|
||||
%define with_yajl 0
|
||||
%if 0%{?suse_version} >= 1130
|
||||
%define with_capng 1
|
||||
%else
|
||||
%define with_capng 0
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1140
|
||||
%define with_yajl 1
|
||||
%define with_netcf 1
|
||||
%define with_macvtap 1
|
||||
%define with_virtualport 1
|
||||
%else
|
||||
%define with_yajl 0
|
||||
%define with_netcf 0
|
||||
%define with_macvtap 0
|
||||
%define with_virtualport 0
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1130
|
||||
%define with_capng 1
|
||||
%else
|
||||
%define with_capng 0
|
||||
%if 0%{?suse_version} > 1110
|
||||
%define with_udev 1
|
||||
%define with_hal 0
|
||||
@ -158,6 +158,9 @@ Recommends: logrotate
|
||||
Recommends: dnsmasq
|
||||
Recommends: open-iscsi
|
||||
Recommends: nfs-client
|
||||
%if %{with_yajl}
|
||||
Requires: libyajl
|
||||
%endif
|
||||
%if %{with_hal}
|
||||
Requires: hal
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user