From 44ed1f6cad626b1f6f47aabb17a9cf9d70986cf1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Fri, 2 Feb 2018 11:19:28 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- udisks2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/udisks2.spec b/udisks2.spec index a74da76..a173b04 100644 --- a/udisks2.spec +++ b/udisks2.spec @@ -15,7 +15,7 @@ Name: udisks2 Summary: Disk Manager Version: 2.7.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ Group: System Environment/Libraries URL: https://github.com/storaged-project/udisks @@ -246,9 +246,7 @@ udevadm trigger %systemd_postun_with_restart udisks2.service %systemd_postun clean-mount-point@.service -%post -n lib%{name} -p /sbin/ldconfig - -%postun -n lib%{name} -p /sbin/ldconfig +%ldconfig_scriptlets -n lib%{name} %if %{is_fedora} %post -n %{name}-zram @@ -347,6 +345,9 @@ udevadm trigger %endif %changelog +* Fri Feb 02 2018 Igor Gnatenko - 2.7.5-2 +- Switch to %%ldconfig_scriptlets + * Mon Dec 04 2017 Vojtech Trefny - 2.7.5-1 - Version 2.7.5