Do Not Use profile macro in 4.0 (trivial) 87/98087/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:08:50 +0000 (15:08 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:08:50 +0000 (15:08 +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: I411395744af5f116ebc3f0ed58b85e58942eafb0
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/sensor-hal-tm2.spec

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