SHA256
1
0
forked from pool/libvirt

more spec file and changelog cleanup

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=545
This commit is contained in:
James Fehlig 2016-06-24 17:36:07 +00:00 committed by Git OBS Bridge
parent 77335a5ee7
commit bef7fc4f2b
2 changed files with 6 additions and 8 deletions

View File

@ -5,7 +5,7 @@ Mon Jun 20 21:26:41 UTC 2016 - jfehlig@suse.com
SLE and openSUSE SLE and openSUSE
- Add SLE patches missing in openSUSE - Add SLE patches missing in openSUSE
libxl-dom-reset.patch, libxl-set-migration-constraints.patch, libxl-dom-reset.patch, libxl-set-migration-constraints.patch,
libxl-support-block-script.patch libxl-set-cach-mode.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 16 18:39:54 UTC 2016 - jfehlig@suse.com Thu Jun 16 18:39:54 UTC 2016 - jfehlig@suse.com

View File

@ -19,11 +19,10 @@
# The configuration of libvirt is modified slightly for SLE # The configuration of libvirt is modified slightly for SLE
%define with_sle_build %{?is_opensuse:0}%{!?is_opensuse:1} %define with_sle_build %{?is_opensuse:0}%{!?is_opensuse:1}
# openSUSE13.1 and 13.2 do not understand %is_opensuse. Define a macro # openSUSE13.1 and 13.2 do not understand %is_opensuse. Check for those
# to identify these distros # explicitly and disable SLE build
%define with_os13_build 0 %if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320
%if 0%{?suse_version} == 1310 && 0%{?suse_version} == 1320 %define with_sle_build 0
%define with_os13_build 1
%endif %endif
# The hypervisor drivers that run in libvirtd # The hypervisor drivers that run in libvirtd
@ -105,8 +104,7 @@
%endif %endif
# For now, only enable rbd storage backend on x86_64 SLE # For now, only enable rbd storage backend on x86_64 SLE
# Note: openSUSE13.1 %if %{with_sle_build}
%if %{with_sle_build} && 0%{!?with_os13_build:1}
%ifarch x86_64 %ifarch x86_64
%define with_storage_rbd 1 %define with_storage_rbd 1
%endif %endif