From b8869c8f9d3472d11bc2d7e1e1a9287e2447f7e6 Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Wed, 17 Oct 2018 08:14:34 +0100 Subject: [PATCH] Update ldconfig scriptlets --- ffmpeg.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ffmpeg.spec b/ffmpeg.spec index 5c932a8..fd66da0 100644 --- a/ffmpeg.spec +++ b/ffmpeg.spec @@ -369,13 +369,8 @@ rm -r %{buildroot}%{_datadir}/%{name}/examples install -pm755 tools/qt-faststart %{buildroot}%{_bindir} %endif -%post libs -p /sbin/ldconfig - -%postun libs -p /sbin/ldconfig - -%post -n libavdevice%{?flavor} -p /sbin/ldconfig - -%postun -n libavdevice%{?flavor} -p /sbin/ldconfig +%ldconfig_scriptlets libs +%ldconfig_scriptlets libavdevice%{?flavor} %if 0%{!?_without_tools:1} %files