summaryrefslogtreecommitdiffstats
path: root/redhat/applications/amarok/amarok-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/applications/amarok/amarok-14.0.0.spec')
-rw-r--r--redhat/applications/amarok/amarok-14.0.0.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/redhat/applications/amarok/amarok-14.0.0.spec b/redhat/applications/amarok/amarok-14.0.0.spec
index a18b8f583..aa8f35067 100644
--- a/redhat/applications/amarok/amarok-14.0.0.spec
+++ b/redhat/applications/amarok/amarok-14.0.0.spec
@@ -431,6 +431,13 @@ if ! ruby -rrbconfig -e "puts Config.expand( Config::MAKEFILE_CONFIG['MAJOR'] )"
-e "s|Config\.|RbConfig\.|g"
fi
+%if 0%{?fedora} >= 30
+%__sed -i "amarok/src/scripts/playlist2html/playlist2html.py" \
+ "amarok/src/scripts/playlist2html/PlaylistServer.py" \
+ "amarok/src/scripts/webcontrol/WebControl.py" \
+ -e "s|/usr/bin/env python|/usr/bin/env python2|"
+%endif
+
%build
unset QTDIR QTINC QTLIB