Fixed Tizen Profile Build Flag as per Tizen 3.0 93/46893/2 accepted/tizen/mobile/20150828.011317 accepted/tizen/tv/20150828.011326 accepted/tizen/wearable/20150828.011346 submit/tizen/20150827.063406
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 Aug 2015 04:31:41 +0000 (13:31 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 Aug 2015 04:40:32 +0000 (13:40 +0900)
Change-Id: I3e4dab77245195301468419732ea7f0410066ed3
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/capi-network-wifi.spec

index 68345d9..eba56bb 100644 (file)
@@ -1,6 +1,6 @@
 Name:          capi-network-wifi
 Summary:       Network Wi-Fi library in TIZEN C API
-Version:       1.0.56
+Version:       1.0.57
 Release:       1
 Group:         System/Network
 License:       Apache-2.0
@@ -15,7 +15,7 @@ BuildRequires:        pkgconfig(capi-system-info)
 Requires(post):                /sbin/ldconfig
 Requires(postun):      /sbin/ldconfig
 
-%if "%{?tizen_profile_name}" == "wearable"
+%if "%{profile}" == "wearable"
 BuildRequires:  pkgconfig(capi-appfw-application)
 %endif
 
@@ -42,13 +42,13 @@ cmake -DCMAKE_INSTALL_PREFIX=/usr -DFULLVER=%{version} -DMAJORVER=${MAJORVER} \
 %if 0%{?model_build_feature_network_dsds} == 1
        -DTIZEN_DUALSIM_ENABLE=1 \
 %endif
-%if "%{?tizen_profile_name}" == "wearable"
+%if "%{profile}" == "wearable"
        -DTIZEN_WEARABLE=1 \
 %else
-%if "%{?tizen_profile_name}" == "mobile"
+%if "%{profile}" == "mobile"
        -DTIZEN_MOBILE=1 \
 %else
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
        -DTIZEN_TV=1 \
 %endif
 %endif