summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongkyun Son <dongkyun.s@samsung.com>2023-07-17 13:39:13 +0900
committerDongkyun Son <dongkyun.s@samsung.com>2023-07-17 13:39:13 +0900
commitee16c2dc4a9add3a9b7bb63ac6c7cf4ee453248f (patch)
tree41321ab166d737693e8d7327fd4a46f1dcc80e36
parentd46c72bcce17c875c371680c76e64cba33ce479f (diff)
parente58c9bd343a257972fc98cd5c7b44405c6934d0a (diff)
downloadqemu-accel-tizen_7.0_base.tar.gz
qemu-accel-tizen_7.0_base.tar.bz2
qemu-accel-tizen_7.0_base.zip
* packaging: remove rpmlint-* * skip build-compare * build x86_64 only Change-Id: Iece90863d3fd7de56ecd24d07d73544256c1ce1b Signed-off-by: Hyunggi Lee <hyunggi.lee@samsung.com> Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r--packaging/qemu-accel-aarch64.spec23
-rw-r--r--packaging/qemu-accel-armv7hl.spec23
-rw-r--r--packaging/qemu-accel-armv7l.spec23
-rw-r--r--packaging/qemu-accel.spec.in23
4 files changed, 16 insertions, 76 deletions
diff --git a/packaging/qemu-accel-aarch64.spec b/packaging/qemu-accel-aarch64.spec
index 7dc2b77..716a218 100644
--- a/packaging/qemu-accel-aarch64.spec
+++ b/packaging/qemu-accel-aarch64.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/
diff --git a/packaging/qemu-accel-armv7hl.spec b/packaging/qemu-accel-armv7hl.spec
index 878df60..e39eee5 100644
--- a/packaging/qemu-accel-armv7hl.spec
+++ b/packaging/qemu-accel-armv7hl.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/
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/
diff --git a/packaging/qemu-accel.spec.in b/packaging/qemu-accel.spec.in
index 7aadd20..fcabf45 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
@@ -71,10 +69,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
@@ -465,22 +466,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/