Prepare for Tizen 4.0 Build 31/114831/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 13 Jan 2017 05:35:08 +0000 (14:35 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Wed, 15 Feb 2017 07:46:46 +0000 (16:46 +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: I12eeef7463c50e1be811bb28aac0cf81bb6c5698
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/dali.spec

index 8412079..e4bd53b 100644 (file)
@@ -12,7 +12,7 @@ Requires(postun): /sbin/ldconfig
 BuildRequires:  pkgconfig
 BuildRequires:  gawk
 
-%if "%{tizen_version_major}" == "3"
+%if 0%{?tizen_version_major} >= 3
 BuildRequires:  pkgconfig(libtzplatform-config)
 %endif