From: Peter Krempa Date: Wed, 19 Jan 2022 12:41:28 +0000 (+0100) Subject: spec: Run pre/post-install stuff on 'daemon-driver-storage-core' X-Git-Tag: v8.1.0-rc1~363 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=aaec8c91aef5524e33329577d066ab4bb8dcc7dd;p=thirdparty%2Flibvirt.git spec: Run pre/post-install stuff on 'daemon-driver-storage-core' 'daemon-driver-storage' is just a meta-package, the actual daemon is in the 'daemon-driver-storage-core' package, so without installing the meta package the storage daemon is not being enabled. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2025644 Fixes: 50eae3f8859, b8ef6255444 Signed-off-by: Peter Krempa Reviewed-by: Daniel P. Berrangé Reviewed-by: Andrea Bolognani --- diff --git a/libvirt.spec.in b/libvirt.spec.in index b9f1e30906..f0ff4c0ece 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1483,19 +1483,19 @@ fi %libvirt_daemon_perform_restart virtsecretd -%pre daemon-driver-storage +%pre daemon-driver-storage-core %libvirt_sysconfig_pre virtstoraged -%post daemon-driver-storage +%post daemon-driver-storage-core %if %{with_modular_daemons} %libvirt_daemon_systemd_post virtstoraged %endif %libvirt_daemon_schedule_restart virtstoraged -%preun daemon-driver-storage +%preun daemon-driver-storage-core %libvirt_daemon_systemd_preun virtstoraged -%posttrans daemon-driver-storage +%posttrans daemon-driver-storage-core %libvirt_sysconfig_posttrans virtstoraged %libvirt_daemon_perform_restart virtstoraged