From 19bd20bc3e7c5e9a39ca1daeca95c53a46cb7e42 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Feb 03 2018 11:46:58 +0000 Subject: Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- diff --git a/libpng.spec b/libpng.spec index f8e9cac..0ec18a1 100644 --- a/libpng.spec +++ b/libpng.spec @@ -2,7 +2,7 @@ Summary: A library of functions for manipulating PNG image format files Name: libpng Epoch: 2 Version: 1.6.34 -Release: 1%{?dist} +Release: 2%{?dist} License: zlib Group: System Environment/Libraries URL: http://www.libpng.org/pub/png/ @@ -85,9 +85,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la make check %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %{!?_licensedir:%global license %%doc} @@ -110,6 +108,9 @@ make check %{_bindir}/pngfix %changelog +* Sat Feb 03 2018 Igor Gnatenko - 2:1.6.34-2 +- Switch to %%ldconfig_scriptlets + * Wed Oct 04 2017 Nikola Forró - 2:1.6.34-1 - New upstream release 1.6.34