From 3909ca88f405e8d9486dbb78e8192599fe00f168 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:54:16 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libedit.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libedit.spec b/libedit.spec index d86b270..86fab77 100644 --- a/libedit.spec +++ b/libedit.spec @@ -4,7 +4,7 @@ Summary: The NetBSD Editline library Name: libedit Version: 3.1 -Release: 20.%{snap}cvs%{?dist} +Release: 21.%{snap}cvs%{?dist} License: BSD Group: System Environment/Libraries URL: http://www.thrysoee.dk/editline/ @@ -49,9 +49,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete # See rhbz#1349671 rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3* -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} @@ -71,6 +69,9 @@ rm -f $RPM_BUILD_ROOT/%{_mandir}/man3/history.3* %{_includedir}/editline/readline.h %changelog +* Sat Feb 03 2018 Igor Gnatenko - 3.1-21.20170329cvs +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 3.1-20.20170329cvs - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild