commit b6f569d4dcff8b83063fb97aa3749376b1a2f0ca
Author: FeRD (Frank Dana) <ferdnyc(a)gmail.com>
Date: Sat Feb 15 13:03:29 2020 -0500
Only run ldconfig on RHEL < 8
libopenshot-audio.spec | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/libopenshot-audio.spec b/libopenshot-audio.spec
index e33d9d8..c90c778 100644
--- a/libopenshot-audio.spec
+++ b/libopenshot-audio.spec
@@ -40,11 +40,9 @@ make %{?_smp_mflags}
%install
%make_install
-
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
+%if 0%{?rhel} && 0%{?rhel} <= 7
+ %ldconfig_scriptlets
+%endif
%files
%doc AUTHORS COPYING README.md