summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-armv7l.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel-armv7l.spec')
-rw-r--r--packaging/qemu-accel-armv7l.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec
index 2c92d72..d977b73 100644
--- a/packaging/qemu-accel-armv7l.spec
+++ b/packaging/qemu-accel-armv7l.spec
@@ -60,6 +60,7 @@ BuildRequires: python libpython
BuildRequires: python-xml
BuildRequires: python-magic
BuildRequires: python-rpm
+BuildRequires: python-ply
BuildRequires: file
BuildRequires: libasan
BuildRequires: liblsan
@@ -404,10 +405,12 @@ chmod +x ${buildroot_emul_path}%{_bindir}/${host_python}
ln -s ${host_python} ${buildroot_emul_path}%{_bindir}/python
ln -s ${host_python} ${buildroot_emul_path}%{_libdir}/python
-#create symlinks for Scons
+#create symlinks for Scons & ply
mkdir -p ${buildroot_emul_path}%{libdir}/${host_python}/site-packages
ln -sf %{libdir}/${host_python}/site-packages/SCons ${buildroot_emul_path}%{libdir}/${host_python}/site-packages/SCons
echo "%{libdir}/${host_python}/site-packages/SCons" >> python.list
+ln -sf %{libdir}/${host_python}/site-packages/ply ${buildroot_emul_path}%{libdir}/${host_python}/site-packages/ply
+echo "%{libdir}/${host_python}/site-packages/ply" >> python.list
# rpmlint acceleration
mkdir -p ${buildroot_emul_path}/opt/testing/bin