diff --git a/libvirt.changes b/libvirt.changes index acd8932..fe09598 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -5,7 +5,7 @@ Mon Jun 20 21:26:41 UTC 2016 - jfehlig@suse.com SLE and openSUSE - Add SLE patches missing in openSUSE 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 diff --git a/libvirt.spec b/libvirt.spec index ac6adf9..7a6c1b5 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -19,11 +19,10 @@ # The configuration of libvirt is modified slightly for SLE %define with_sle_build %{?is_opensuse:0}%{!?is_opensuse:1} -# openSUSE13.1 and 13.2 do not understand %is_opensuse. Define a macro -# to identify these distros -%define with_os13_build 0 -%if 0%{?suse_version} == 1310 && 0%{?suse_version} == 1320 - %define with_os13_build 1 +# openSUSE13.1 and 13.2 do not understand %is_opensuse. Check for those +# explicitly and disable SLE build +%if 0%{?suse_version} == 1310 || 0%{?suse_version} == 1320 + %define with_sle_build 0 %endif # The hypervisor drivers that run in libvirtd @@ -105,8 +104,7 @@ %endif # For now, only enable rbd storage backend on x86_64 SLE -# Note: openSUSE13.1 -%if %{with_sle_build} && 0%{!?with_os13_build:1} +%if %{with_sle_build} %ifarch x86_64 %define with_storage_rbd 1 %endif