projects
/
tools
/
ttrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f22dae
)
Prepare for Tizen 4.0 Build
41/110141/1
author
MyungJoo Ham
<myungjoo.ham@samsung.com>
Fri, 13 Jan 2017 05:30:35 +0000
(14:30 +0900)
committer
MyungJoo Ham
<myungjoo.ham@samsung.com>
Fri, 13 Jan 2017 05:30:35 +0000
(14:30 +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: I7465a0b1cd26de939f60190cf8e2227aa1e9e763
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/ttrace.spec
patch
|
blob
|
history
diff --git
a/packaging/ttrace.spec
b/packaging/ttrace.spec
index 0e805be96f1f6934a281820c43b4dc128458475d..9fdb4d4cdafbe3007dc6f7027aae4ceacc32b70b 100755
(executable)
--- 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