commit 0d1b4626eb938151786c2c08eeccbbf9d5342b9e
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Mon Jul 6 09:34:53 2020 +0200
ldconfig_scriptlets
x264.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/x264.spec b/x264.spec
index b2aad24..934c7a9 100644
--- a/x264.spec
+++ b/x264.spec
@@ -178,9 +178,9 @@ execstack -c %{buildroot}%{_libdir}/libx264{,10b}.so.%{api}
install -dm755 %{buildroot}%{_pkgdocdir}
install -pm644 generic/{AUTHORS,COPYING} %{buildroot}%{_pkgdocdir}/
-%post libs -p /sbin/ldconfig
-%postun libs -p /sbin/ldconfig
+%ldconfig_scriptlets libs
+
%files
%{_bindir}/x264