]> xenbits.xensource.com Git - libvirt.git/commit
spec: Drop overlapping triggers
authorJiri Denemark <jdenemar@redhat.com>
Wed, 14 Feb 2018 12:16:52 +0000 (13:16 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Feb 2018 14:55:18 +0000 (15:55 +0100)
commitbc84bb9fe001fc3ca5436b9b50fbd669e4c489b6
tree929a75156a447b76e5420d363fc0f7aa95b877d6
parentcf555f92128222f5a392cf80478c0a291bb1a0fe
spec: Drop overlapping triggers

The postun trigger for libvirt-daemon was defined twice for overlapping
ranges of package verions if systemd support was switched off (which
happens when building on something ancient, such as RHEL-6).

Let's combine the two triggers into the one which is called when
libvirt-daemon < 1.3.0 is uninstalled. As a side effect, virtlockd and
virtlogd might be reloaded twice after an upgrade from libvirt newer
than 1.2.1 and older than 1.3.0 (by postun script from the old libvirt
and postun trigger from the new libvirt).

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
libvirt.spec.in