diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2022-08-25 09:28:09 +0200 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2022-08-25 10:00:20 +0200 |
commit | 56e8b8528d3e8688f029759e7bce0fcd00f1b51f (patch) | |
tree | ed39dac2585614e2ef53941c33917a00a970a343 | |
parent | 224febff5988b1eef8dae7f2eade09f9eca0df0a (diff) | |
download | rpmlint-mini-56e8b8528d3e8688f029759e7bce0fcd00f1b51f.tar.gz rpmlint-mini-56e8b8528d3e8688f029759e7bce0fcd00f1b51f.tar.bz2 rpmlint-mini-56e8b8528d3e8688f029759e7bce0fcd00f1b51f.zip |
packaging: simplyfy architecture selection for desktop-file-validate instalationsubmit/tizen_base/20220901.021521accepted/tizen/base/tool/20220905.055306
Change-Id: I8cf9f6ed526d92d3342d2f3c615f1407ccc7b4eb
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r-- | packaging/rpmlint-mini.spec | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/packaging/rpmlint-mini.spec b/packaging/rpmlint-mini.spec index adeb8ee..4e0b8e5 100644 --- a/packaging/rpmlint-mini.spec +++ b/packaging/rpmlint-mini.spec @@ -26,6 +26,7 @@ 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 @@ -44,20 +45,11 @@ cp %{SOURCE1001} . #popd %install -%ifarch armv7l -%define ARCH armv7l -%endif -%ifarch armv7hl -%define ARCH armv7hl -%endif %ifarch %ix86 %define ARCH i586 %endif -%ifarch x86_64 -%define ARCH x86_64 -%endif -%ifarch aarch64 -%define ARCH aarch64 +%ifarch aarch64 armv7l armv7hl x86_64 +%define ARCH %{_target_cpu} %endif #cd ../desktop-file-utils-0.22 pwd |