From b355ec776d667e8b24d88317d489ef6060a5b0dc Mon Sep 17 00:00:00 2001 From: Sangkoo Kim Date: Wed, 27 Jan 2016 18:35:44 +0900 Subject: [PATCH] Exclude pkg in tv/wearable profile Change-Id: I8ad28a07fbc96d9330bb55a9756f63d7a3889e02 Signed-off-by: Sangkoo Kim --- packaging/uw-imap-toolkit.spec | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/uw-imap-toolkit.spec b/packaging/uw-imap-toolkit.spec index 1427c1e..692e453 100644 --- a/packaging/uw-imap-toolkit.spec +++ b/packaging/uw-imap-toolkit.spec @@ -12,6 +12,15 @@ License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Source1001: libuw-imap-toolkit.manifest Source1002: libuw-imap-toolkit-devel.manifest + +%if "%{?profile}" == "wearable" +ExcludeArch: %{arm} %ix86 x86_64 +%endif + +%if "%{?profile}" == "tv" +ExcludeArch: %{arm} %ix86 x86_64 +%endif + Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: libgcrypt-devel -- 2.7.4