The package should be creating an applications directory and also
initializing the application locale. Taking the opportunity to also
remove the bogus smack label and fixup the post script some
Change-Id: I9a732ec14e474d844d810488d09e605f764d4755
--- /dev/null
+* Wed Jun 26 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130520.100858@843033e
+- Cleanup spec
+
+mkdir -p %{buildroot}/opt/dbspace/
+mkdir -p %{buildroot}/opt/share/applications/
+
%post
vconftool set -t string db/ail/ail_info "0" -f
vconftool set -t string db/menuscreen/desktop "0" -f
%post
vconftool set -t string db/ail/ail_info "0" -f
vconftool set -t string db/menuscreen/desktop "0" -f
+vconftool set -t string db/menu_widget/language "US" -f
echo "Failed to change the perms of $@"
fi
}
echo "Failed to change the perms of $@"
fi
}
ail_initdb
update_DAC_for_db_file /opt/dbspace/.app_info.db
update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
ail_initdb
update_DAC_for_db_file /opt/dbspace/.app_info.db
update_DAC_for_db_file /opt/dbspace/.app_info.db-journal
-chsmack -a 'ail::db' /opt/dbspace/.app_info.db*
+rm -f /opt/dbspace/.app_info.db*
%files
%manifest ail.manifest
%{_libdir}/libail.so.0
%{_libdir}/libail.so.0.1.0
%files
%manifest ail.manifest
%{_libdir}/libail.so.0
%{_libdir}/libail.so.0.1.0
+/opt/dbspace
+/opt/share/applications
/usr/bin/ail_initdb
/usr/share/install-info/*
/usr/bin/ail_initdb
/usr/share/install-info/*