Modify macro for tv profile
[platform/upstream/curl.git] / packaging / curl.spec
index 2a11e0f..075e2c3 100644 (file)
@@ -69,7 +69,7 @@ cp %{SOURCE1001} .
 
 export CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT"
 CFLAGS+=" -fstack-protector-strong -Wl,-z,relro -D_FORTIFY_SOURCE=2 -fPIE -pie"
-%if "%{TIZEN_PROFILE_TV}" == "1"
+%if "%{tizen_profile_name}" == "tv"
 CFLAGS+=" -DTIZEN_TV_EXT"
 %reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \
 %else