commit b8869c8f9d3472d11bc2d7e1e1a9287e2447f7e6
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Wed Oct 17 08:14:34 2018 +0100
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