On Tue, 21 Dec 2021, Olaf Hering wrote:
Fixes: 50eae3f8859c746aa474401b38902fa500f23fad ("rpm: handle
enabling/disabling modular daemons post/postun-install")
Signed-off-by: Olaf Hering <olaf(a)aepfle.de>
Reviewed-by: Ani Sinha <ani(a)anisinha.ca>
---
libvirt.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libvirt.spec.in b/libvirt.spec.in
index f6c705564a..16be1e173e 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -1388,7 +1388,7 @@ fi
%endif
%libvirt_daemon_schedule_restart virtnetworkd
-%preun
+%preun daemon-driver-network
%libvirt_daemon_systemd_preun virtnetworkd
%postun daemon-driver-network