Exclude /usr/bin/net-config.wearable from net-config rpm
[platform/core/connectivity/net-config.git] / packaging / net-config.spec
index 0f046bf..cb63c69 100755 (executable)
@@ -194,6 +194,7 @@ ln -sf %{_unitdir}/net-config.service %{_sysconfdir}/systemd/default-extra-depen
 %files
 %manifest net-config.manifest
 %attr(500,network_fw,network_fw) %{_bindir}/*
+%exclude %{_bindir}/net-config.wearable
 %attr(644,network_fw,network_fw) %{_sysconfdir}/resolv.conf
 %attr(644,network_fw,network_fw) %{TZ_SYS_ETC}/resolv.conf
 %attr(644,root,root) %{_datadir}/dbus-1/system-services/*
@@ -233,7 +234,7 @@ pushd %{_bindir}
 mv net-config.wearable net-config
 
 %files profile_wearable
-%attr(644,root,root) %{_bindir}/net-config.wearable
+%attr(500,network_fw,network_fw) %{_bindir}/net-config.wearable
 %attr(644,network_fw,network_fw) /usr/system/RestoreDir/softreset/network_softreset.sh
 
 #### plugin ####