fix profile name check logic by expanding all options 15/63315/1 submit/tizen/20160323.070241
authorMyoungJune Park <mj2004.park@samsung.com>
Wed, 23 Mar 2016 07:01:31 +0000 (16:01 +0900)
committerMyoungJune Park <mj2004.park@samsung.com>
Wed, 23 Mar 2016 07:01:31 +0000 (16:01 +0900)
Change-Id: I8f786a38f78b0d49751af215e98a3132c26c2e25

packaging/vconf-internal-keys.spec

index d43dc04..8e87d37 100755 (executable)
@@ -31,21 +31,7 @@ Vconf internal key header files (devel)
 
 %build
 
-%if "%{profile}" == "mobile"
-echo "MOBILE-----------------------------------------------------------------------"
-make model=mobile
-%endif
-
-%if "%{profile}" == "wearable"
-echo "WEARABLE---------------------------------------------------------------------"
-make model=wearable
-%endif
-
-%if "%{profile}" == "tv"
-echo "TV---------------------------------------------------------------------------"
-make model=tv
-%endif
-
+make model=%{profile}
 
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DCMAKE_LIBDIR=%{_libdir}