Wrap ldconfig calls for el7

el8
Nicolas Chauvet 5 years ago
parent 07f9d56719
commit 12d4d16e27

@ -263,8 +263,10 @@ Requires: xdg-utils
Requires: hicolor-icon-theme Requires: hicolor-icon-theme
%if 0%{?el7:1}
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
%endif
%description %description
@ -300,8 +302,10 @@ VLC media player core components
%package extras %package extras
Summary: VLC media player with extras modules Summary: VLC media player with extras modules
Requires: vlc-core%{_isa} = %{epoch}:%{version}-%{release} Requires: vlc-core%{_isa} = %{epoch}:%{version}-%{release}
%if 0%{?el7:1}
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
%endif
%description extras %description extras
VLC media player extras modules. VLC media player extras modules.

Loading…
Cancel
Save