diff options
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r-- | packaging/qemu-accel.spec.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 01df1b2..567a9d2 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -57,6 +57,7 @@ BuildRequires: python libpython BuildRequires: python-xml BuildRequires: python-magic BuildRequires: python-rpm +BuildRequires: python-ply BuildRequires: file BuildRequires: libasan BuildRequires: liblsan @@ -401,10 +402,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 |