efl: use tizen_profile_name build macro instead of TIZEN_PRODUCT_TV 67/181067/2
authorJongmin Lee <jm105.lee@samsung.com>
Fri, 11 May 2018 08:04:31 +0000 (17:04 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Mon, 11 Jun 2018 02:02:51 +0000 (02:02 +0000)
replacing TIZEN_PRODUCT_TV build macro into tizen_profile_name build macro
since TIZEN_PRODUCT_TV build macro is deprecated.

@tizen_fix

Change-Id: I86b32e28083b235d999f172826a4c20bdf898759

packaging/efl.spec

index 102e1ea..299bd92 100644 (file)
@@ -1171,7 +1171,7 @@ cp %{SOURCE1001} .
 
 %build
 
-%if "%{TIZEN_PRODUCT_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
         export CFLAGS+=" -DTIZEN_PROFILE_TV"
 %endif