Exclude from all builds except 32bit arm mobile build
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 3 Feb 2016 07:39:07 +0000 (16:39 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 3 Feb 2016 07:39:07 +0000 (16:39 +0900)
Change-Id: Iad9cfe461b1b616483ac86245766711e2331edd6
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
packaging/sensor-plugins-tm1.spec

index ad321bb..5321ac7 100644 (file)
@@ -6,6 +6,12 @@ Group:      System/Sensor Framework
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 
+%if "%{?profile}" == "mobile"
+ExcludeArch: aarch64 %ix86 x86_64
+%else
+ExcludeArch: %{arm} aarch64 %ix86 x86_64
+%endif
+
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
 BuildRequires:  pkgconfig(libxml-2.0)