[PATCH] spec: Package newly introduced CH conf files

Michal Privoznik via Devel posted 1 patch 2 weeks, 4 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/b5a74c424b3ea90a0adbf11a39946540b4503e38.1755592295.git.mprivozn@redhat.com
libvirt.spec.in | 3 +++
1 file changed, 3 insertions(+)
[PATCH] spec: Package newly introduced CH conf files
Posted by Michal Privoznik via Devel 2 weeks, 4 days ago
From: Michal Privoznik <mprivozn@redhat.com>

In a recent commit of v11.6.0-25-g5dca0567f6 new config files for
the CH driver were introduced. But corresponding change to the
specfile was missing resulting in a broken rpmbuild. Just put
those files into daemon-driver-ch rpm.

Fixes: 5dca0567f694a7405ca3e796149aed857b1f6090
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
---
 libvirt.spec.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 47644556d9..aff2707705 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -2468,6 +2468,9 @@ exit 0
 %{_unitdir}/virtchd.service
 %{_unitdir}/virtchd.socket
 %{_libdir}/libvirt/connection-driver/libvirt_driver_ch.so
+%config(noreplace) %{_sysconfdir}/libvirt/ch.conf
+%{_datadir}/augeas/lenses/libvirtd_ch.aug
+%{_datadir}/augeas/lenses/tests/test_libvirtd_ch.aug
     %endif
 
 %files client
-- 
2.49.1
Re: [PATCH] spec: Package newly introduced CH conf files
Posted by Daniel P. Berrangé via Devel 2 weeks, 4 days ago
On Tue, Aug 19, 2025 at 10:31:35AM +0200, Michal Privoznik via Devel wrote:
> From: Michal Privoznik <mprivozn@redhat.com>
> 
> In a recent commit of v11.6.0-25-g5dca0567f6 new config files for
> the CH driver were introduced. But corresponding change to the
> specfile was missing resulting in a broken rpmbuild. Just put
> those files into daemon-driver-ch rpm.
> 
> Fixes: 5dca0567f694a7405ca3e796149aed857b1f6090
> Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
> ---
>  libvirt.spec.in | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|