ln -s %{_bindir}/wgt-backend %{buildroot}%{_sysconfdir}/package-manager/backend/wgt
%post -n wgt-installer-tests
-/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-installer-ut/smoke-test
-/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner=eip %{_bindir}/wgt-installer-ut/smoke-test-helper
+/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/smoke-test
+/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/smoke-test-helper
+/usr/sbin/setcap cap_chown,cap_dac_override,cap_fowner,cap_mac_override=eip %{_bindir}/wgt-installer-ut/extensive-smoke-test
%files
%manifest wgt-backend.manifest
<domain name="_" />
</request>
<assign>
- <filesystem path="/usr/bin/wgt-installer-ut/smoke-test" exec_label="System" />
- <filesystem path="/usr/bin/wgt-installer-ut/smoke-test-helper" exec_label="System" />
- <filesystem path="/usr/bin/wgt-installer-ut/extensive-smoke-test" exec_label="System" />
+ <filesystem path="/usr/bin/wgt-installer-ut/smoke-test" exec_label="System::Privileged" />
+ <filesystem path="/usr/bin/wgt-installer-ut/smoke-test-helper" exec_label="System::Privileged" />
+ <filesystem path="/usr/bin/wgt-installer-ut/extensive-smoke-test" exec_label="System::Privileged" />
</assign>
</manifest>