commit af47961f2b9660198db79af829ddc2fa97e3dd5c
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Sun Apr 21 10:28:10 2019 +0100
Remove obsolete scriptlets for Fedora
smplayer.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/smplayer.spec b/smplayer.spec
index b36d44a..a03f5d2 100644
--- a/smplayer.spec
+++ b/smplayer.spec
@@ -164,6 +164,7 @@ popd
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
+%if (0%{?rhel} && 0%{?rhel} <= 7)
%post
/usr/bin/update-desktop-database &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
@@ -177,6 +178,7 @@ fi
%posttrans
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+%endif
%files
%license Copying*