Fixed Tizen Profile Build Flag as per Tizen 3.0 95/46895/2 accepted/tizen/mobile/20150828.011438 accepted/tizen/tv/20150828.011444 accepted/tizen/wearable/20150828.011454 submit/tizen/20150827.063541
authorSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 Aug 2015 04:36:39 +0000 (13:36 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Thu, 27 Aug 2015 04:41:05 +0000 (13:41 +0900)
Change-Id: I68c8951a77b542eb72b1ec90941fdee4b2dae1e9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
packaging/connman.spec

index 9abc7a3216d671c288185dda2be1a7aa51c6bffd..fd50b806679316a2304996ef2a6cc46e3d8f96e8 100755 (executable)
@@ -50,7 +50,7 @@ Header files and development files for connman.
 
 %build
 CFLAGS+=" -DTIZEN_EXT -lsmack -Werror"
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
 CFLAGS+=" -DTIZEN_TV_EXT"
 %endif
 
@@ -83,7 +83,7 @@ mkdir -p %{buildroot}%{_libdir}/systemd/system/
 mkdir -p %{buildroot}%{_unitdir}
 %endif
 
-%if "%{?tizen_profile_name}" == "tv"
+%if "%{profile}" == "tv"
 cp src/connman_tv.service %{buildroot}%{_libdir}/systemd/system/connman.service
 %else
 cp src/connman.service %{buildroot}%{_libdir}/systemd/system/connman.service