From 12d4d16e270ed700f18ced150a46dde0baef6126 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Wed, 15 Jul 2020 16:16:04 +0200 Subject: [PATCH] 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.