RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.
Change-Id: I283bebfb8f8a6f3eb92c08c4955ea09fcbec9ca8
BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(capi-system-info)
-%define upgrade_script_path /usr/share/upgrade/scripts
-
%description
[Shortcut] AddToHome feature supporting library for menu/home screen developers.
%make_install
mkdir -p %{buildroot}%{TZ_SYS_DB}
-mkdir -p %{buildroot}%{upgrade_script_path}
-cp -f scripts/507.shortcut_upgrade.sh %{buildroot}%{upgrade_script_path}
-
%post
/sbin/ldconfig
%defattr(-,root,root,-)
%{_libdir}/libshortcut.so.*
%{_sysconfdir}/package-manager/parserlib/*
-%{upgrade_script_path}/507.shortcut_upgrade.sh
%files devel
%manifest %{name}.manifest
+++ /dev/null
-#!/bin/sh
-
-#------------------------------------------#
-# shortcut upgrade (2.4 -> 3.0) #
-#------------------------------------------#
-
-# Macro
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-DB_DIR=/opt/dbspace
-DB_SHORTCUT=$DB_DIR/.shortcut_service.db
-
-chown app_fw:app_fw $DB_SHORTCUT
-chown app_fw:app_fw $DB_SHORTCUT-journal
-
-chsmack -a System $DB_SHORTCUT
-chsmack -a System $DB_SHORTCUT-journal
-
-chmod 644 $DB_SHORTCUT
-chmod 644 $DB_SHORTCUT-journal
\ No newline at end of file