Accepting request 58709 from Virtualization
Accepted submit request 58709 from user jfehlig OBS-URL: https://build.opensuse.org/request/show/58709 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvirt?expand=0&rev=66
This commit is contained in:
commit
d0bc810daf
@ -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
|
Fri Jan 14 15:39:16 MST 2011 - jfehlig@novell.com
|
||||||
|
|
||||||
|
17
libvirt.spec
17
libvirt.spec
@ -39,22 +39,22 @@
|
|||||||
%define with_selinux 1
|
%define with_selinux 1
|
||||||
%define with_apparmor 0
|
%define with_apparmor 0
|
||||||
# options
|
# 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
|
%if 0%{?suse_version} >= 1140
|
||||||
|
%define with_yajl 1
|
||||||
%define with_netcf 1
|
%define with_netcf 1
|
||||||
%define with_macvtap 1
|
%define with_macvtap 1
|
||||||
%define with_virtualport 1
|
%define with_virtualport 1
|
||||||
%else
|
%else
|
||||||
|
%define with_yajl 0
|
||||||
%define with_netcf 0
|
%define with_netcf 0
|
||||||
%define with_macvtap 0
|
%define with_macvtap 0
|
||||||
%define with_virtualport 0
|
%define with_virtualport 0
|
||||||
%endif
|
%endif
|
||||||
|
%if 0%{?suse_version} >= 1130
|
||||||
|
%define with_capng 1
|
||||||
|
%else
|
||||||
|
%define with_capng 0
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
%define with_udev 1
|
%define with_udev 1
|
||||||
%define with_hal 0
|
%define with_hal 0
|
||||||
@ -158,6 +158,9 @@ Recommends: logrotate
|
|||||||
Recommends: dnsmasq
|
Recommends: dnsmasq
|
||||||
Recommends: open-iscsi
|
Recommends: open-iscsi
|
||||||
Recommends: nfs-client
|
Recommends: nfs-client
|
||||||
|
%if %{with_yajl}
|
||||||
|
Requires: libyajl
|
||||||
|
%endif
|
||||||
%if %{with_hal}
|
%if %{with_hal}
|
||||||
Requires: hal
|
Requires: hal
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user