diff options
author | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-04-15 14:34:32 +0900 |
---|---|---|
committer | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-04-15 14:34:32 +0900 |
commit | 754738f63dc8f638ca67964c669fd517a943acec (patch) | |
tree | adf424e64393a680dad05812b134a900d85287af /packaging/ttrace.spec | |
parent | f4a2543a0a4663953fd84aaf448a9d2d41236c90 (diff) | |
download | ttrace-754738f63dc8f638ca67964c669fd517a943acec.tar.gz ttrace-754738f63dc8f638ca67964c669fd517a943acec.tar.bz2 ttrace-754738f63dc8f638ca67964c669fd517a943acec.zip |
change group name to support latest tizen 3.0
Change-Id: I28ac6943b4eca24924cff0f5d8f2c57302a5df99
Diffstat (limited to 'packaging/ttrace.spec')
-rwxr-xr-x | packaging/ttrace.spec | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec index 1dc0259..b401717 100755 --- a/packaging/ttrace.spec +++ b/packaging/ttrace.spec @@ -29,6 +29,11 @@ BuildRequires: cmake %endif %endif +%define TTRACE_TIZEN_VERSION_MAJOR 2 +%if "%{?tizen_version_major}" == "3" +%define TTRACE_TIZEN_VERSION_MAJOR 3 +%endif + %description T-trace library @@ -47,7 +52,7 @@ T-trace library devel export CFLAGS="$CFLAGS -g -Wall -std=gnu99" export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie" %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \ - -DTTRACE_PROFILE=%{TTRACE_PROFILE} + -DTTRACE_PROFILE=%{TTRACE_PROFILE} -DTTRACE_TIZEN_VERSION_MAJOR=%{TTRACE_TIZEN_VERSION_MAJOR} make %{?jobs:-j%jobs} %install |