Fix syntax error in spec 63/46263/4 accepted/tizen/mobile/20150827.050704 accepted/tizen/tv/20150827.050722 accepted/tizen/wearable/20150827.050739 submit/tizen/20150827.025000
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 18 Aug 2015 14:11:25 +0000 (23:11 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 19 Aug 2015 13:00:10 +0000 (06:00 -0700)
Change-Id: If684d53a40a465a7d19a1b2d4633455975205e20
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
packaging/privilege-checker.spec

index 87dd6af..9c4d837 100644 (file)
@@ -56,11 +56,15 @@ The Privilege Manager API provides functions to verify privilege information of
 
 %if "%{?profile}" == "tv"
     __PROFILE_TYPE="TV"
-%else if "%{?profile}" == "wearable"
+%else
+%if "%{?profile}" == "wearable"
     __PROFILE_TYPE="WEARABLE"
-%else if "%{?profile}" == "mobile"
+%else
+%if "%{?profile}" == "mobile"
     __PROFILE_TYPE="MOBILE"
 %endif
+%endif
+%endif
 
 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"