commit da3271787d35a1ddf5cb59082104fda8c26276cd
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Nov 8 10:47:52 2019 +0000
Remove obsolete scriplets and clean up
plex-media-player.spec | 21 ++-------------------
1 file changed, 2 insertions(+), 19 deletions(-)
---
diff --git a/plex-media-player.spec b/plex-media-player.spec
index 09584b0..f7244ba 100644
--- a/plex-media-player.spec
+++ b/plex-media-player.spec
@@ -70,7 +70,8 @@ Provides: plexmediaplayer = %{version}-%{release}
Obsoletes: plex < %{version}-%{release}
Provides: plex = %{version}-%{release}
-Requires: qt5-qtquickcontrols >= 5.6
+# Needed for qtquick interfaces
+Requires: qt5-qtquickcontrols%{_isa} >= 5.9.5
# For xdgscreensaver
Requires: xdg-utils
@@ -150,24 +151,6 @@ desktop-file-install \
mkdir -p %{buildroot}%{_sharedstatedir}/plex-media-player
-%if 0%{?rhel} == 7
-%postgit commit -a -m 'Fix directory ownership and move standalone files to session
sub-package'
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
-fi
-update-mime-database %{_datadir}/mime &> /dev/null
-update-desktop-database &> /dev/null || :
-
-%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache -q %{_datadir}/icons/hicolor;
-fi
-update-mime-database %{_datadir}/mime &> /dev/null
-update-desktop-database &> /dev/null || :
-%endif
-
%pre session
# Rename plexmediaplayer to plex-media-player
%{_bindir}/getent passwd plexmediaplayer >/dev/null && \