Fixed resource leak in __read_hostapd_config()
[platform/core/connectivity/wifi-mesh-manager.git] / packaging / wifi-mesh-manager.spec
index 5bf70b6..3a5e2c8 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:          wifi-mesh-manager
 Summary:       Wi-Fi mesh network daemon
-Version:       0.0.1
+Version:       0.0.2
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
@@ -68,14 +68,11 @@ cp wmeshd.service %{buildroot}%{_unitdir}/wmeshd.service
 %post
 chmod 755 %{_sbindir}/wmesh.sh
 
-# For configuration files
-mkdir -p %TZ_SYS_VAR/lib/wmesh
-
 %files
 %manifest wmeshd.manifest
 %license LICENSE
 %defattr(-,root,root,-)
-%caps(cap_net_raw,cap_net_admin=eip) %attr(750,system,system) %{_bindir}/wmeshd
+%caps(cap_net_raw,cap_net_admin=ei) %attr(750,network_fw,network_fw) %{_bindir}/wmeshd
 %if %{CHECK_WMESH_PRIVILEGE} == "True"
 %config %{_sysconfdir}/dbus-1/system.d/wmeshd.conf
 %endif