From cd96cc342dcdb6cfc952f038906435279d29b267 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 3 Feb 2018 17:32:37 +0100 Subject: [PATCH] Switch to %ldconfig_scriptlets Signed-off-by: Igor Gnatenko --- libzmf.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libzmf.spec b/libzmf.spec index 363a810..ef5d6fe 100644 --- a/libzmf.spec +++ b/libzmf.spec @@ -2,7 +2,7 @@ Name: libzmf Version: 0.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A library for import of Zoner document formats License: MPLv2.0 @@ -71,8 +71,7 @@ done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 zmf2*.1 %{buildroot}/%{_mandir}/man1 -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %check export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} @@ -100,6 +99,9 @@ make %{?_smp_mflags} check %{_mandir}/man1/zmf2svg.1* %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.0.2-3 +- Switch to %%ldconfig_scriptlets + * Thu Nov 30 2017 Pete Walter - 0.0.2-2 - Rebuild for ICU 60.1