From 1fcd1b395f164bb194d8ba854a4a91bf06afd2f5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:14 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libvisio.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libvisio.spec b/libvisio.spec index 448a55b..f436189 100644 --- a/libvisio.spec +++ b/libvisio.spec @@ -75,8 +75,7 @@ done install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 vsd2*.1 vss2*.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}}