From 4bcf22b41c3025e1fa99624f7d012d84cec7e619dc560fb742d47d3ecb115573 Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Sun, 1 Dec 2019 15:08:35 +0000 Subject: [PATCH] Accepting request 751460 from home:jfehlig:branches:Virtualization - spec: Enable 'libvirt' firewalld zone for firewalld >= 0.7.0 boo#1157766 OBS-URL: https://build.opensuse.org/request/show/751460 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=785 --- libvirt.changes | 6 ++++++ libvirt.spec | 9 +++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/libvirt.changes b/libvirt.changes index c208021..f02cd63 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Nov 27 20:26:03 UTC 2019 - James Fehlig + +- spec: Enable 'libvirt' firewalld zone for firewalld >= 0.7.0 + boo#1157766 + ------------------------------------------------------------------- Thu Nov 14 17:31:35 UTC 2019 - James Fehlig diff --git a/libvirt.spec b/libvirt.spec index 3de04e6..00906d6 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -1,7 +1,7 @@ # # spec file for package libvirt # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -105,6 +105,11 @@ %define with_firewalld 1 %endif +# The 'libvirt' zone must be used with firewalld >= 0.7.0 +%if 0%{?suse_version} >= 1550 + %define with_firewalld_zone 1 +%endif + # Enable libssh support in newer code bases %if 0%{?suse_version} >= 1500 %define with_libssh 1 @@ -182,7 +187,7 @@ %endif Name: libvirt -Url: http://libvirt.org/ +URL: http://libvirt.org/ Version: 5.9.0 Release: 0 Summary: Library providing a virtualization API