commit d64393b696eca6c883090917b4c5070c328775f5
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Sat Jul 28 08:45:32 2018 +0100
fix build to use python2 explicitly
xmms2-nonfree.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/xmms2-nonfree.spec b/xmms2-nonfree.spec
index 6633bac..a9e1372 100644
--- a/xmms2-nonfree.spec
+++ b/xmms2-nonfree.spec
@@ -18,7 +18,7 @@ Patch3: mac_abi_change.patch
BuildRequires: sqlite-devel
BuildRequires: glib2-devel
-BuildRequires: python-devel
+BuildRequires: python2-devel
# RPMFusion only BuildRequires
BuildRequires: mac-devel
@@ -60,6 +60,11 @@ This package contains an XMMS2 Plugin for listening to Monkey's
Audio files.
# non-standard location. xmms2 can't detect this unless:
sed -i 's|\[builders\]|\["%{_libdir}/sidplay/builders"\]|'
src/plugins/sid/wscript
+for i in doc/tutorial/python/tut1.py doc/tutorial/python/tut2.py
doc/tutorial/python/tut3.py doc/tutorial/python/tut4.py doc/tutorial/python/tut5.py
doc/tutorial/python/tut6.py utils/gen-tree-hashes.py utils/gen-wiki-release-bugs.py
utils/gen-tarball.py utils/gen-wiki-release-authors.py waf waftools/podselect.py
waftools/genipc.py waftools/genipc_server.py waftools/cython.py; do
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|g' $i
+done
+
+
# add configure to export build flags
touch configure
chmod a+x configure
Show replies by date