From a021b19b592b9dc4513e804c0e0a42066535ca32 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 13:35:59 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- lzo.spec | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lzo.spec b/lzo.spec index 389624b..0afe24d 100644 --- a/lzo.spec +++ b/lzo.spec @@ -1,6 +1,6 @@ Name: lzo Version: 2.08 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Data compression library with very fast (de)compression Group: System Environment/Libraries License: GPLv2+ @@ -78,13 +78,8 @@ make check test rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%post minilzo -p /sbin/ldconfig - -%postun minilzo -p /sbin/ldconfig +%ldconfig_scriptlets +%ldconfig_scriptlets minilzo %files @@ -109,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2.08-12 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 2.08-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild