commit b1f5f5b842c22f6c3abf04ee4a3b8b644bdc9064
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Fri Oct 5 20:07:18 2018 +0100
More fixes for ambiguous python shebang in F30
mythtv.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/mythtv.spec b/mythtv.spec
index 644611d..6afad2a 100644
--- a/mythtv.spec
+++ b/mythtv.spec
@@ -1117,6 +1117,7 @@ popd
# 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:' {} ';'
+find %{buildroot}%{_datadir}/mythtv/ -type f -name "*.py" -exec sed -i
'1s:#!/usr/bin/python:#!/usr/bin/python2:' {} ';'
%pre common
Show replies by date