commit 12d4d16e270ed700f18ced150a46dde0baef6126
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jul 15 16:16:04 2020 +0200
Wrap ldconfig calls for el7
vlc.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/vlc.spec b/vlc.spec
index 506a29a..f64b89a 100644
--- a/vlc.spec
+++ b/vlc.spec
@@ -263,8 +263,10 @@ Requires: xdg-utils
Requires: hicolor-icon-theme
+%if 0%{?el7:1}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+%endif
%description
@@ -300,8 +302,10 @@ VLC media player core components
%package extras
Summary: VLC media player with extras modules
Requires: vlc-core%{_isa} = %{epoch}:%{version}-%{release}
+%if 0%{?el7:1}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
+%endif
%description extras
VLC media player extras modules.