diff options
Diffstat (limited to 'packaging/qemu-accel-armv7l.spec')
-rw-r--r-- | packaging/qemu-accel-armv7l.spec | 23 |
1 files changed, 4 insertions, 19 deletions
diff --git a/packaging/qemu-accel-armv7l.spec b/packaging/qemu-accel-armv7l.spec index 3262d21..55070c0 100644 --- a/packaging/qemu-accel-armv7l.spec +++ b/packaging/qemu-accel-armv7l.spec @@ -49,8 +49,6 @@ BuildRequires: m4 # required for xxd BuildRequires: vim BuildRequires: patchelf -BuildRequires: rpmlint-mini -BuildRequires: rpmlint-tizen BuildRequires: elfutils BuildRequires: libxslt-tools BuildRequires: cmake @@ -74,10 +72,13 @@ BuildRequires: python3-base # required for LLVM gold plugin BuildRequires: llvm-devel +# do not comapre with old rpms +#!BuildIgnore: build-compare + Summary: Native binaries for speeding up cross compile License: GPL-2.0 Group: Development/Cross Compilation -ExclusiveArch: x86_64 %{ix86} +ExclusiveArch: x86_64 %ifarch x86_64 BuildRequires: libgcc-32bit BuildRequires: glibc-32bit @@ -468,22 +469,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/ |