diff options
Diffstat (limited to 'packaging/qemu-accel.spec.in')
-rw-r--r-- | packaging/qemu-accel.spec.in | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in index 7aadd20..6de3e0c 100644 --- a/packaging/qemu-accel.spec.in +++ b/packaging/qemu-accel.spec.in @@ -46,8 +46,6 @@ BuildRequires: m4 # required for xxd BuildRequires: vim BuildRequires: patchelf -BuildRequires: rpmlint-mini -BuildRequires: rpmlint-tizen BuildRequires: elfutils BuildRequires: libxslt-tools BuildRequires: cmake @@ -465,22 +463,6 @@ 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 -ln -s %{emul_path}%{_bindir}/${host_python}-orig ${buildroot_emul_path}/opt/testing/bin/ -cat > ${buildroot_emul_path}/opt/testing/bin/${host_python} << EOF -#!/bin/bash -if [ -z "\$PYTHONPATH" ]; then - export PYTHONPATH="%{libdir}/${host_python}" -else - export PYTHONPATH+=":%{libdir}/${host_python}" -fi -export PYTHONHOME="%{emul_path}%{_prefix}" -%{emul_path}/opt/testing/bin/${host_python}-orig "\$@" -EOF -chmod +x ${buildroot_emul_path}/opt/testing/bin/${host_python} -ln -s ${host_python} ${buildroot_emul_path}/opt/testing/bin/python - mkdir -p ${buildroot_emul_path}%{_libdir}/${host_python}/site-packages/rpm/ mkdir -p ${buildroot_emul_path}%{_libdir}/${host_python}/encodings/ cp %{_libdir}/${host_python}/site-packages/rpm/*.py ${buildroot_emul_path}%{_libdir}/${host_python}/site-packages/rpm/ |