Do Not Use profile macro in 4.0 (trivial) 88/98088/2 accepted/tizen/unified/20170314.075456 accepted/tizen/wearable/20170314.075453 submit/tizen/20170314.045343 submit/tizen/20170314.082551
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:10:21 +0000 (15:10 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 07:20:24 +0000 (23:20 -0800)
- This package should not be included in OBS Tizen:non-weaerable projects
if you do not want to build this package in Tizen:non-wearable, not
saying "ExcludeArch" based on profile macro. The profile macro is going
to be obsolste soon in Tizen 4.0.

Change-Id: Ic8f07dd7d306121ec0cfa0685c8447f33bcbe916
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/sensor-hal-tw1.spec

index 9f43b575b9a1f9af101794305d79334102535446..ec79337a2d2d9cec5641c040e7fa9243be19814e 100644 (file)
@@ -8,11 +8,7 @@ Source0:    %{name}-%{version}.tar.gz
 Source1:    99-sensor.rules
 Source2:    99-sensorhub.rules
 
-%if "%{?profile}" == "wearable"
 ExcludeArch: aarch64 %ix86 x86_64
-%else
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)