commit 36c4e9ec9d37d1ffcda7f97b9da54db02b82a941
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Wed Nov 6 15:37:03 2019 +0000
Remove obsolete scriptlets for fedora and el8
plex-media-player.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 8240da4..4f852ea 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -143,7 +143,7 @@ desktop-file-install \
mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
-
+%if 0%{?rhel} == 7
%post
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
@@ -159,6 +159,7 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
fi
update-mime-database %{_datadir}/mime &> /dev/null
update-desktop-database &> /dev/null || :
+%endif
%pre session
# Rename plexmediaplayer to plex-media-player