commit 286e045ce577056d74a200ef667b918b157dbb63
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Oct 5 06:55:54 2018 +0100
Fixes ERROR: ambiguous python shebang in F30
mythtv.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mythtv.spec b/mythtv.spec
index 8475a00..77fec26 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -1108,10 +1108,12 @@ pushd mythplugins
%{buildroot}%{_datadir}/mythtv/games/PC/gamelist.xml
%endif
popd
-
# And back to the build/install root
%endif
+# Fixes ERROR: ambiguous python shebang in F30
+find %{buildroot}%{_datadir}/mythtv/ -type f -name "*.py" -exec sed -i
'1s:#!/usr/bin/env python:#!/usr/bin/env python2:' {} ';'
+
%pre common
# Add the "mythtv" user, with membership in the audio and video group
@@ -1401,6 +1403,7 @@ exit 0
%changelog
* Fri Oct 05 2018 Sérgio Basto <sergio(a)serjux.com> -
29.1-25.39.20181004git74fff5c285
- Update to 29.1.39.20181004git74fff5c285 from branch fixes/29
+- Fixes ERROR: ambiguous python shebang in F30
* Thu Oct 04 2018 Sérgio Basto <sergio(a)serjux.com> -
29.1-24.36.20180907.gdde16d475a
- Mass rebuild for x264 and/or x265
Show replies by date