diff options
-rw-r--r-- | packaging/qemu-accel-aarch64.spec | 5 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7hl.spec | 5 | ||||
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 5 | ||||
-rw-r--r-- | packaging/qemu-accel.spec.in | 5 |
4 files changed, 16 insertions, 4 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec index ead4dd8..cfa953f 100644 --- a/packaging/qemu-accel-aarch64.spec +++ b/packaging/qemu-accel-aarch64.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 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 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 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 |