Change build macro for Tizen TV
[platform/upstream/curl.git] / packaging / curl.spec
index ee677b2..2465047 100644 (file)
@@ -61,7 +61,7 @@ cp %{SOURCE1001} .
 
 export CPPFLAGS="-DHAVE_PK11_CREATEGENERICOBJECT"
 
-%if "%{profile}" == "tv"
+%if "%{TIZEN_PROFILE_TV}" == "1"
 CFLAGS+=" -DTIZEN_TV_EXT"
 %reconfigure --without-nss --without-gnutls --with-openssl --disable-ipv6 \
 %else