From 13e05777fea87189deca392948243538da0817ad Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date: Sat, 3 Feb 2018 13:19:42 +0100
Subject: [PATCH] Switch to %ldconfig_scriptlets

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
---
 geocode-glib.spec | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/geocode-glib.spec b/geocode-glib.spec
index d4ffb14..47d8494 100644
--- a/geocode-glib.spec
+++ b/geocode-glib.spec
@@ -2,7 +2,7 @@
 
 Name:           geocode-glib
 Version:        3.25.4.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Geocoding helper library
 
 License:        LGPLv2+
@@ -49,9 +49,7 @@ developing applications that use %{name}.
 %meson_install
 
 
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
+%ldconfig_scriptlets
 
 
 %files
@@ -70,6 +68,9 @@ developing applications that use %{name}.
 
 
 %changelog
+* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.25.4.1-2
+- Switch to %%ldconfig_scriptlets
+
 * Mon Jul 31 2017 Kalev Lember <klember@redhat.com> - 3.25.4.1-1
 - Update to 3.25.4.1
 - Switch to the meson build system