[libvirt PATCH 3/5] rpm: Set initconfdir explicitly

Andrea Bolognani posted 5 patches 1 year, 5 months ago
[libvirt PATCH 3/5] rpm: Set initconfdir explicitly
Posted by Andrea Bolognani 1 year, 5 months ago
The default would already work fine for Fedora and RHEL, but
it's better to be explicit.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 libvirt.spec.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index dae9c87aa4..c542ec3b2b 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1213,6 +1213,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
 
 %meson \
            -Drunstatedir=%{_rundir} \
+           -Dinitconfdir=%{_sysconfdir}/sysconfig \
            %{?arg_qemu} \
            %{?arg_openvz} \
            %{?arg_lxc} \
-- 
2.40.1
Re: [libvirt PATCH 3/5] rpm: Set initconfdir explicitly
Posted by Martin Kletzander 1 year, 5 months ago
On Tue, May 02, 2023 at 07:15:50PM +0200, Andrea Bolognani wrote:
>The default would already work fine for Fedora and RHEL, but
>it's better to be explicit.
>
>Signed-off-by: Andrea Bolognani <abologna@redhat.com>

Reviewed-by: Martin Kletzander <mkletzan@redhat.com>

>---
> libvirt.spec.in | 1 +
> 1 file changed, 1 insertion(+)
>
>diff --git a/libvirt.spec.in b/libvirt.spec.in
>index dae9c87aa4..c542ec3b2b 100644
>--- a/libvirt.spec.in
>+++ b/libvirt.spec.in
>@@ -1213,6 +1213,7 @@ export SOURCE_DATE_EPOCH=$(stat --printf='%Y' %{_specdir}/libvirt.spec)
>
> %meson \
>            -Drunstatedir=%{_rundir} \
>+           -Dinitconfdir=%{_sysconfdir}/sysconfig \
>            %{?arg_qemu} \
>            %{?arg_openvz} \
>            %{?arg_lxc} \
>-- 
>2.40.1
>