From 3d30122a968aa23d94b74c8c664f2afeb28733be Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 18:19:46 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- gc.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gc.spec b/gc.spec index 789c4be..09065b8 100644 --- a/gc.spec +++ b/gc.spec @@ -2,7 +2,7 @@ Summary: A garbage collector for C and C++ Name: gc Version: 7.6.2 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Url: http://www.hboehm.info/gc/ @@ -79,8 +79,7 @@ rm -fv %{buildroot}%{_libdir}/lib*.la make check %{?arch_ignore} %endif -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc doc/README.environment doc/README.linux @@ -101,6 +100,9 @@ make check %{?arch_ignore} %changelog +* Sat Feb 03 2018 Igor Gnatenko - 7.6.2-2 +- Switch to %%ldconfig_scriptlets + * Thu Jan 04 2018 Rex Dieter - 7.6.2-1 - 7.6.2 (#1531008)