Prepare for Tizen 4.0 Build 44/114844/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 13 Jan 2017 05:38:13 +0000 (14:38 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 15 Feb 2017 08:24:36 +0000 (17:24 +0900)
I've assumed that Tizen 4.0 code is going to be more similar with 3.0
than 2.0.

Please do not rely on string == compare for version check.

Change-Id: I826b0e599b6b510e49543ef9e66a6976b5e27511
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/com.samsung.dali-demo.spec

index fd7c0d2fb4056712ac2eddf3097fa02345ca452e..b76d63efe0e29de780d6398560bff83b7d23dc28 100755 (executable)
@@ -22,7 +22,7 @@ BuildRequires:  pkgconfig(dali-core)
 BuildRequires:  pkgconfig(dali-toolkit)
 
 #need libtzplatform-config for directory if tizen version is 3.x
-%if "%{tizen_version_major}" == "3"
+%if 0%{?tizen_version_major} >= 3
 BuildRequires:  pkgconfig(libtzplatform-config)
 %endif