tizen: Use 1/0 for booleans
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 21 Sep 2016 16:59:02 +0000 (18:59 +0200)
committerZiran Sun <ziran.sun@samsung.com>
Mon, 26 Sep 2016 08:42:52 +0000 (08:42 +0000)
To prevent ambuiguity of low/up/case.

Bug: https://jira.iotivity.org/browse/IOT-1295
Change-Id: Ic918e0c95f13462cab85ade3828e635f47ee7484
Origin: https://gerrit.iotivity.org/gerrit/#/c/12097/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/12145
Reviewed-by: Ziran Sun <ziran.sun@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashwini Kumar <k.ashwini@samsung.com>
tools/tizen/iotivity.spec

index 02931f6..f375b05 100644 (file)
@@ -36,10 +36,10 @@ Requires(post): /sbin/ldconfig
 
 %{!?TARGET_TRANSPORT: %define TARGET_TRANSPORT IP}
 %{!?SECURED: %define SECURED 1}
-%{!?LOGGING: %define LOGGING True}
+%{!?LOGGING: %define LOGGING 1}
 %{!?ROUTING: %define ROUTING EP}
-%{!?WITH_TCP: %define WITH_TCP true}
-%{!?WITH_PROXY: %define WITH_PROXY False}
+%{!?WITH_TCP: %define WITH_TCP 1}
+%{!?WITH_PROXY: %define WITH_PROXY 0}
 %{!?ES_TARGET_ENROLLEE: %define ES_TARGET_ENROLLEE tizen}
 %{!?VERBOSE: %define VERBOSE 1}