Disable TV profile build explicitly 51/66551/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 19 Apr 2016 10:59:53 +0000 (19:59 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Tue, 19 Apr 2016 10:59:53 +0000 (19:59 +0900)
Change-Id: Ied7fcbdd1a584a9c1d4b99ef294b7febf9260e97
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
packaging/context-service.spec

index c659ba1..ccba421 100644 (file)
@@ -8,6 +8,12 @@ Source0:    %{name}-%{version}.tar.gz
 Source1:       context-service.service
 Source2:       org.tizen.context.conf
 
+%define BUILD_PROFILE %{?profile}%{!?profile:%{?tizen_profile_name}}
+
+%if "%{?BUILD_PROFILE}" == "tv"
+ExcludeArch: %{arm} aarch64 %ix86 x86_64
+%endif
+
 BuildRequires: cmake
 BuildRequires: sed
 BuildRequires: pkgconfig(vconf)