Remove Profile Build Dependency (trivial m/w) 82/97082/3
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 11 Nov 2016 06:19:47 +0000 (15:19 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 12 Jan 2017 04:06:58 +0000 (20:06 -0800)
- This is for Tizen 4.0

- The profile macro in spec file is dangerous;
Tizen 4.0 Configurability/Building-Blocks prohibits the usage like this.

 In this package, they have been useless as well.

softap$ grep -r "TIZEN_WEARABLE" *
packaging/capi-network-softap.spec: -DTIZEN_WEARABLE=1 \
softap$ grep -r "TIZEN_MOBILE" *
packaging/capi-network-softap.spec: -DTIZEN_MOBILE=1 \
softap$

Change-Id: I1ea3faeef0973ab2320c363ba16a95a99b1afac6
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/capi-network-softap.spec

index 7b0ef00edd3e77ff125dd3ce81e27f006f737456..f9e779ab9f52eedaed30c52fa404f52e389b3374 100644 (file)
@@ -37,13 +37,6 @@ export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 
 %cmake -DCMAKE_BUILD_TYPE="Private" \
-%if "%{?profile}" == "wearable"
-       -DTIZEN_WEARABLE=1 \
-%else
-%if "%{?profile}" == "mobile"
-       -DTIZEN_MOBILE=1 \
-%endif
-%endif
 %ifarch %{arm}
        -DCMAKE_BUILD_TYPE="Private" -DARCH=arm \
 %else