From 8dab66c597ecdc9cfca3aa0745e24852111e362bf0f0272b569a3dad77f94f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bosdonnat?= Date: Mon, 20 Feb 2017 07:47:45 +0000 Subject: [PATCH] Accepting request 458915 from home:kukuk:branches:Virtualization - Don't call insserv if we use systemd and don't require it. OBS-URL: https://build.opensuse.org/request/show/458915 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=585 --- libvirt.changes | 5 +++++ libvirt.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/libvirt.changes b/libvirt.changes index 02745d2..f415a93 100644 --- a/libvirt.changes +++ b/libvirt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Feb 18 18:22:02 CET 2017 - kukuk@suse.de + +- Don't call insserv if we use systemd and don't require it. + ------------------------------------------------------------------- Thu Feb 16 23:57:37 UTC 2017 - jfehlig@suse.com diff --git a/libvirt.spec b/libvirt.spec index 2f0d841..c3ffec7 100644 --- a/libvirt.spec +++ b/libvirt.spec @@ -1317,8 +1317,9 @@ fi %postun client %if %{with_systemd} %service_del_postun libvirt-guests.service -%endif +%else %insserv_cleanup +%endif %post libs /sbin/ldconfig