%postun -n libdeviced -p /sbin/ldconfig
+%post tools
+chsmack -a 'System::Tools' %{_bindir}/device_board_set_boot_success
+chsmack -a 'System::Tools' %{_bindir}/device_board_clear_boot_mode
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_boot_mode
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_current_partition
+chsmack -a 'System::Tools' %{_bindir}/device_board_switch_partition
+chsmack -a 'System::Tools' %{_bindir}/device_board_set_partition_ab_cloned
+chsmack -a 'System::Tools' %{_bindir}/device_board_clear_partition_ab_cloned
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_partition_ab_cloned
+chsmack -a 'System::Tools' %{_bindir}/device_board_set_partition_status
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_partition_status
+chsmack -a 'System::Tools' %{_bindir}/device_board_set_upgrade_progress_status
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_upgrade_progress_status
+chsmack -a 'System::Tools' %{_bindir}/device_board_set_upgrade_state
+chsmack -a 'System::Tools' %{_bindir}/device_board_get_upgrade_state
+
%post plugin-profile-mobile
mv %{_sysconfdir}/deviced/display-profile-mobile.conf %{_sysconfdir}/deviced/display.conf
mv %{_sysconfdir}/deviced/power-profile-mobile.conf %{_sysconfdir}/deviced/power.conf