From 23ebe310ad4a90fbb8ac7dec711fd9d3c4dbeeef Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:32:09 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libgtop2.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libgtop2.spec b/libgtop2.spec index dc8ca1c..f5a1450 100644 --- a/libgtop2.spec +++ b/libgtop2.spec @@ -1,6 +1,6 @@ Name: libgtop2 Version: 2.38.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: LibGTop library (version 2) License: GPLv2+ @@ -37,9 +37,7 @@ find %{buildroot} -name '*.la' -delete %find_lang libgtop -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -f libgtop.lang %doc AUTHORS NEWS README @@ -61,6 +59,9 @@ find %{buildroot} -name '*.la' -delete %exclude %{_datadir}/info %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.38.0-2 +- Switch to %%ldconfig_scriptlets + * Wed Sep 13 2017 Kalev Lember - 2.38.0-1 - Update to 2.38.0