From 086647066f80f13d028c3a91f08fcc537b0c67c8 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:20:18 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- gdbm.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gdbm.spec b/gdbm.spec index e98d5a1..88f4308 100644 --- a/gdbm.spec +++ b/gdbm.spec @@ -2,7 +2,7 @@ Summary: A GNU set of database routines which use extensible hashing Name: gdbm Version: 1.14.1 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 1 Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz # See https://bugzilla.redhat.com/show_bug.cgi?id=4457 @@ -84,9 +84,7 @@ rm -f $RPM_BUILD_ROOT/%{_infodir}/dir export LD_LIBRARY_PATH=`pwd`/src/.libs/:`pwd`/compat/.libs/ make check -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %post devel /sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir \ @@ -115,6 +113,9 @@ fi %{_mandir}/man3/* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 1:1.14.1-2 +- Switch to %%ldconfig_scriptlets + * Mon Jan 29 2018 Marek Skalický - 1:1.14.1-1 - Rebase to latest upstream release (soname bump for ABI breakage in 1.14)