Remove unused config in spec file 92/166092/1
authortaesub kim <taesub.kim@samsung.com>
Sun, 7 Jan 2018 23:25:17 +0000 (08:25 +0900)
committertaesub kim <taesub.kim@samsung.com>
Sun, 7 Jan 2018 23:25:26 +0000 (08:25 +0900)
Change-Id: I9520ef4d9eb0cf461423fb1acfe7beb3197c8927
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
packaging/net-config.spec

index a57b96a..585014b 100755 (executable)
@@ -64,18 +64,6 @@ TIZEN Network Configuration service extension for telephony FW.
 %prep
 %setup -q
 
-# NOTE: the following macros are undefined.
-# PLEASE DO NOT USE model_build_features in the future with Tizen 4.0+.
-#{?model_build_feature_wlan_concurrent_mode}
-#{?model_build_feature_wlan_p2p_disable}
-#{?model_build_feature_network_tethering_disable}
-#{?model_build_feature_wlan_wearable}
-# In case, we have commercializing team using such unwelcomed
-# macros in their productin build, we are keeping those.
-# However, it is recommended to remove all if/endif with model_build_feature
-
-# NOTE: Are we really going to make "mobile" == "SPRD"?
-
 %build
 # Build for wearable
 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -98,9 +86,6 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
        -DTIZEN_WLAN_PASSPOINT=1 \
        -DTIZEN_WLAN_USE_P2P_INTERFACE=1 \
        -DTIZEN_DEBUG_ENABLE=1 \
-%if 0%{?model_build_feature_wlan_concurrent_mode}
-       -DWLAN_CONCURRENT_MODE=1 \
-%endif
        -DTIZEN_WEARABLE=0 \
        -DTIZEN_CAPTIVE_PORTAL=0 \
        -DLIB_PATH=%{_lib} \
@@ -206,9 +191,6 @@ ln -sf %{_unitdir}/net-config.service %{_sysconfdir}/systemd/default-extra-depen
 %license LICENSE
 %attr(500,root,root) /opt/etc/dump.d/module.d/network_dump.sh
 %attr(500,network_fw,network_fw) /opt/var/lib/net-config/network_dump.sh
-%if 0%{?model_build_feature_wlan_wearable} == 1
-%attr(700,network_fw,network_fw) /usr/system/RestoreDir/softreset/network_softreset.sh
-%endif
 
 #### tv profile ####
 %post profile_tv