From 535a5085f75c82c98d75fe2a6fb2112882c551bf2929bec30a88d136f8943e1f Mon Sep 17 00:00:00 2001 From: James Fehlig Date: Fri, 16 Mar 2018 03:27:58 +0000 Subject: [PATCH] Accepting request 587705 from home:jfehlig:branches:Virtualization don't use libexecdir for firewalld service file OBS-URL: https://build.opensuse.org/request/show/587705 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=679 --- libvirt.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libvirt.spec b/libvirt.spec index 8db006a..5e5ef4f 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -168,7 +168,7 @@ %endif %if %{with_firewalld} - %define _fwdefdir %{_libexecdir}/firewalld/services + %define _fwdefdir %{_prefix}/lib/firewalld/services %else %define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services %endif @@ -1477,9 +1477,9 @@ fi %{_libdir}/%{name}/virt-aa-helper %endif %if %{with_firewalld} -%dir %{_libexecdir}/firewalld -%dir %{_libexecdir}/firewalld/services -%{_libexecdir}/firewalld/services/libvirtd-relocation-server.xml +%dir %{_prefix}/lib/firewalld +%dir %{_fwdefdir} +%{_fwdefdir}/libvirtd-relocation-server.xml %else %config %{_fwdefdir}/libvirtd-relocation-server %endif