change .spec file : %_repository is changed to model_build_feature_formfactor by... 32/88632/1 accepted/tizen/common/20160921.161513 accepted/tizen/mobile/20160921.081148 accepted/tizen/tv/20160921.081140 accepted/tizen/wearable/20160921.081144 submit/tizen/20160921.005005
authorchangjoo.lee <changjoo.lee@samsung.com>
Tue, 20 Sep 2016 05:18:13 +0000 (14:18 +0900)
committerchangjoo.lee <changjoo.lee@samsung.com>
Tue, 20 Sep 2016 05:18:33 +0000 (14:18 +0900)
Change-Id: I62651cc761009ef7f74cc77b7fcf1249ad2f840f
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
packaging/system-servant.spec

index 91f6251..18aa305 100755 (executable)
 
 %if "%{?profile}" == "wearable"
 %define PROFILE wearable
-%if "%_repository" == "target-circle" || "%_repository" == "emulator-circle"
-       %define FORMFACTOR circle
-%else
-       %define FORMFACTOR rectangle
-%endif
 #Main applicaitons
 %define powerkey_popup on
 %define overheat_popup off
@@ -101,6 +96,13 @@ BuildRequires:  pkgconfig(capi-media-sound-manager)
 BuildRequires:  pkgconfig(capi-media-wav-player)
 BuildRequires:  pkgconfig(capi-appfw-application)
 BuildRequires:  pkgconfig(capi-appfw-app-manager)
+BuildRequires:  model-build-features
+
+%if "%{?model_build_feature_formfactor}" == "circle"
+       %define FORMFACTOR circle
+%else
+       %define FORMFACTOR rectangle
+%endif
 
 %if %{with x}
 BuildRequires:  pkgconfig(ecore-x)