Do Not Use profile macro in 4.0 (trivial) 86/98086/1 accepted/tizen/mobile/20170314.075444 accepted/tizen/unified/20170314.075450 submit/tizen/20170314.045225
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:05:36 +0000 (15:05 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:05:36 +0000 (15:05 +0900)
- This package should not be included in OBS Tizen:non-mobile projects
if you do not want to build this package in Tizen:non-mobile, not
saying "ExcludeArch" based on profile macro. The profile macro is going
to be obsolste soon in Tizen 4.0.

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

index 93c7bb0..13f3ad2 100644 (file)
@@ -7,11 +7,7 @@ License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
 Source1:    99-sensor.rules
 
-%if "%{?profile}" == "mobile"
 ExcludeArch: aarch64 %ix86 x86_64
-%else
-ExcludeArch: %{arm} aarch64 %ix86 x86_64
-%endif
 
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)