summaryrefslogtreecommitdiff
path: root/packaging/qemu-accel-armv7hl.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/qemu-accel-armv7hl.spec')
-rw-r--r--packaging/qemu-accel-armv7hl.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec
index 9f6c9db..0cd6f0a 100644
--- a/packaging/qemu-accel-armv7hl.spec
+++ b/packaging/qemu-accel-armv7hl.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