Cleanup spec 09/4309/1 accepted/tizen/20130627.014001 submit/tizen/20130627.013116
authorRusty Lynch <rusty.lynch@intel.com>
Thu, 27 Jun 2013 01:28:44 +0000 (18:28 -0700)
committerRusty Lynch <rusty.lynch@intel.com>
Thu, 27 Jun 2013 01:30:59 +0000 (18:30 -0700)
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

packaging/ail.changes [new file with mode: 0644]
packaging/ail.spec

diff --git a/packaging/ail.changes b/packaging/ail.changes
new file mode 100644 (file)
index 0000000..e93a5c0
--- /dev/null
@@ -0,0 +1,3 @@
+* Wed Jun 26 2013 Rusty Lynch <rusty.lynch@intel.com> accepted/tizen/20130520.100858@843033e
+- Cleanup spec
+
index b28d29e..ce2c568 100755 (executable)
@@ -39,9 +39,13 @@ make %{?jobs:-j%jobs}
 %install
 %make_install
 
+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
+vconftool set -t string db/menu_widget/language "US" -f
 
 CHDBGID="6010"
 
@@ -60,18 +64,19 @@ update_DAC_for_db_file()
                 echo "Failed to change the perms of $@"
         fi
 }
-mkdir -p /opt/dbspace/
 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*
 
 %postun
+rm -f /opt/dbspace/.app_info.db*
 
 %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/*