summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorpr.jung <pr.jung@samsung.com>2015-09-04 12:05:43 +0900
committerpr.jung <pr.jung@samsung.com>2015-09-04 12:09:08 +0900
commite244e9bcdeb198826ad1bba92e74ee2c44c25062 (patch)
treee01c7cda91b11c669433b81f9d42fe829563b3da /packaging
parent87618b7a06a258a8e1deb96a2981efa15a1d5bb2 (diff)
downloaddeviced-e244e9bcdeb198826ad1bba92e74ee2c44c25062.tar.gz
deviced-e244e9bcdeb198826ad1bba92e74ee2c44c25062.tar.bz2
deviced-e244e9bcdeb198826ad1bba92e74ee2c44c25062.zip
Before, it didn't check whethere it is null or not, now it checks. Before checking architecture on spec file has some problem, so it build as emulator. So now it checkes whether it has emulator option on or not. Change-Id: If086212e8071adea36611bb7037660782c7af3b3 Signed-off-by: pr.jung <pr.jung@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/deviced.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/packaging/deviced.spec b/packaging/deviced.spec
index edfb01fe..5cf9c1de 100644
--- a/packaging/deviced.spec
+++ b/packaging/deviced.spec
@@ -2,6 +2,7 @@
#These options are DEACTIVATED by default.
%bcond_with x
%bcond_with wayland
+%bcond_with emulator
# display, extcon, power, usb are always enable
%define battery_module off
@@ -202,10 +203,10 @@ Haptic Device manager library for device control (devel)
%prep
%setup -q
-%ifarch %{arm}
-%define ARCH arm
-%else
+%if %{with emulator}
%define ARCH emulator
+%else
+%define ARCH arm
%endif
%define DPMS none