diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-01-13 14:30:35 +0900 |
---|---|---|
committer | MyungJoo Ham <myungjoo.ham@samsung.com> | 2017-01-13 14:30:35 +0900 |
commit | ecdac071032e09f42493a50339c3e93d6381734a (patch) | |
tree | 9844a88533002a61058253d47e3e53136c1dcdab | |
parent | 1f22dae15fb7dec7e64b5a695a5ba80926079dd2 (diff) | |
download | ttrace-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-x | packaging/ttrace.spec | 2 |
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 |