summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyungJoo Ham <myungjoo.ham@samsung.com>2017-01-13 14:30:35 +0900
committerMyungJoo Ham <myungjoo.ham@samsung.com>2017-01-13 14:30:35 +0900
commitecdac071032e09f42493a50339c3e93d6381734a (patch)
tree9844a88533002a61058253d47e3e53136c1dcdab
parent1f22dae15fb7dec7e64b5a695a5ba80926079dd2 (diff)
downloadttrace-ecdac071032e09f42493a50339c3e93d6381734a.tar.gz
ttrace-ecdac071032e09f42493a50339c3e93d6381734a.tar.bz2
ttrace-ecdac071032e09f42493a50339c3e93d6381734a.zip
Prepare for Tizen 4.0 Build
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: I7465a0b1cd26de939f60190cf8e2227aa1e9e763 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rwxr-xr-xpackaging/ttrace.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index 0e805be..9fdb4d4 100755
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -31,7 +31,7 @@ BuildRequires: cmake
%endif
%define TTRACE_TIZEN_VERSION_MAJOR 2
-%if "%{?tizen_version_major}" == "3"
+%if 0%{?tizen_version_major} >= 3
%define TTRACE_TIZEN_VERSION_MAJOR 3
%endif