Remove caps option in spec file. 31/138631/1
authorjin-gyu.kim <jin-gyu.kim@samsung.com>
Thu, 13 Jul 2017 05:06:04 +0000 (14:06 +0900)
committerjin-gyu.kim <jin-gyu.kim@samsung.com>
Thu, 13 Jul 2017 05:06:11 +0000 (14:06 +0900)
All capabilities need to be managed by security-config service.
Therefore, remove %caps option in spec file.

Change-Id: Icb6f620e2ebed561323f1ec427e5843bb3d4b3e8

packaging/nether.spec

index c22384c238142c190d16d256f8fd687fe21fea77..16e3898ef04df85f81c33a8aad8d91c4383f6b0d 100755 (executable)
@@ -16,7 +16,7 @@ This is a network privilege enforcing service.
 %files
 %license LICENSE
 %defattr(644,root,root,755)
-%caps(cap_net_admin=ei) %attr(755,root,root) %{_bindir}/nether
+%attr(755,root,root) %{_bindir}/nether
 %dir %{_sysconfdir}/nether
 %config %{_sysconfdir}/nether/file.policy
 %config %{_sysconfdir}/nether/nether.rules