Fix for TV product build macro 78/176778/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.013938 accepted/tizen/unified/20180424.165714 submit/tizen/20180424.040057 submit/tizen_5.0/20181101.000002
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 23 Apr 2018 10:17:07 +0000 (19:17 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 23 Apr 2018 10:17:31 +0000 (19:17 +0900)
[Version] 0.2.2
[Issue Type] Build

Change-Id: I1aa09dbc9b96af1d19d70166777928fd09f49014

packaging/capi-media-wav-player.spec

index 0cf730c..e443d2b 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       capi-media-wav-player
 Summary:    A wav player library in Tizen C API
-Version:    0.2.1
+Version:    0.2.2
 Release:    0
 Group:      Multimedia/API
 License:    Apache-2.0
@@ -30,7 +30,7 @@ cp %{SOURCE1001} .
 %build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
     -DTIZEN_FEATURE_TESTSUITE=On
 %else
     -DTIZEN_FEATURE_TESTSUITE=Off
@@ -48,7 +48,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %manifest %{name}.manifest
 %license LICENSE.APLv2
 %{_libdir}/libcapi-media-wav-player.so.*
-%if "%{TIZEN_PRODUCT_TV}" != "1"
+%if "%{tizen_profile_name}" != "tv"
 %{_bindir}/wav_player_test
 %endif