Remove model-build-feature usage 66/92866/3
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 19 Oct 2016 07:28:04 +0000 (07:28 +0000)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 29 Dec 2016 04:55:36 +0000 (13:55 +0900)
- This is for Tizen 4.0 development. If you are too busy for
Tizen 3.0 release and this patch appears to be invasive,
you may delay merging/SR-ing this commit until 3.0 branching out.

- The clause depending on "model_build_feature_formfactor" is
dead; no one uses it:

elementary$ grep -r "TIZEN_PROFILE_WEARABLE_C1" *
packaging/elementary.spec:           export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE_C1"
elementary$

ps. patch reworded to avoid gerrit bug.

Change-Id: I377f3b889239749ce1ce04da19568fb85f59d480
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/elementary.spec

index d1c01d8..3af6c9a 100644 (file)
@@ -103,9 +103,6 @@ cp %{SOURCE1001} .
     %if "%{profile}" == "wearable"
         cp %{_builddir}/%{buildsubdir}/src/mobile_lib/* %{_builddir}/%{buildsubdir}/src/lib
         export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE"
-        %if "%{?model_build_feature_formfactor}" == "circle"
-           export CFLAGS+=" -DTIZEN_PROFILE_WEARABLE_C1"
-        %endif
     %endif
 %endif