diff options
author | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-04-15 18:07:38 +0900 |
---|---|---|
committer | Eunji, Lee <eunjieji.lee@samsung.com> | 2016-04-15 18:07:38 +0900 |
commit | c4008bc7cde52ba326d3efaf7d4b7d49515af1fa (patch) | |
tree | adf424e64393a680dad05812b134a900d85287af /packaging | |
parent | dfb608375a5feba9f5d1c0d35bd0e705a923787c (diff) | |
parent | 754738f63dc8f638ca67964c669fd517a943acec (diff) | |
download | ttrace-c4008bc7cde52ba326d3efaf7d4b7d49515af1fa.tar.gz ttrace-c4008bc7cde52ba326d3efaf7d4b7d49515af1fa.tar.bz2 ttrace-c4008bc7cde52ba326d3efaf7d4b7d49515af1fa.zip |
Merge branch 'master' into tizensubmit/tizen/20160415.090925accepted/tizen/wearable/20160418.012222accepted/tizen/tv/20160418.012236accepted/tizen/mobile/20160418.012255accepted/tizen/ivi/20160418.012243accepted/tizen/common/20160415.162644
Diffstat (limited to 'packaging')
-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 |