summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2022-09-05 15:40:37 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2022-09-05 15:43:15 +0900
commitf8ee39d2c817a69d45e97d02717c01cf8f463a4f (patch)
tree64e24eab0e14e52865afe07c828da3ef85a878ac
parent56e8b8528d3e8688f029759e7bce0fcd00f1b51f (diff)
downloadrpmlint-mini-accepted/tizen_7.0_base_tool.tar.gz
rpmlint-mini-accepted/tizen_7.0_base_tool.tar.bz2
rpmlint-mini-accepted/tizen_7.0_base_tool.zip
This reverts commit 56e8b8528d3e8688f029759e7bce0fcd00f1b51f. unresolvable error at i586 qemu-accel-aarch64 unresolvable qemu-accel-armv7hl unresolvable qemu-accel-armv7l unresolvable Change-Id: I85553a2eb54d775ee11e585b59c7a422800c5555 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
-rw-r--r--packaging/rpmlint-mini.spec14
1 files changed, 11 insertions, 3 deletions
diff --git a/packaging/rpmlint-mini.spec b/packaging/rpmlint-mini.spec
index 4e0b8e5..adeb8ee 100644
--- a/packaging/rpmlint-mini.spec
+++ b/packaging/rpmlint-mini.spec
@@ -26,7 +26,6 @@ Source102: rpmlint-mini.config
Source103: polkit-default-privs.config
Source1000: rpmlint-mini.rpmlintrc
Source1001: rpmlint-mini.manifest
-ExclusiveArch: aarch64 armv7l armv7hl ix86 x86_64
%description
Rpmlint is a tool to check common errors on rpm packages. Binary and
@@ -45,11 +44,20 @@ cp %{SOURCE1001} .
#popd
%install
+%ifarch armv7l
+%define ARCH armv7l
+%endif
+%ifarch armv7hl
+%define ARCH armv7hl
+%endif
%ifarch %ix86
%define ARCH i586
%endif
-%ifarch aarch64 armv7l armv7hl x86_64
-%define ARCH %{_target_cpu}
+%ifarch x86_64
+%define ARCH x86_64
+%endif
+%ifarch aarch64
+%define ARCH aarch64
%endif
#cd ../desktop-file-utils-0.22
pwd