diff options
author | Ickhee Woo <ickhee.woo@samsung.com> | 2016-09-12 11:49:01 +0900 |
---|---|---|
committer | Ickhee Woo <ickhee.woo@samsung.com> | 2016-09-12 14:11:35 +0900 |
commit | 3c9638d8da93cb898f413a939fb7da4a9c6aaeaa (patch) | |
tree | 18a6a43bb82615ca2dc173099433cd4f655bf738 | |
parent | 045ff80b8f63425546d07d04b71a2da54471505e (diff) | |
download | sync-manager-3c9638d8da93cb898f413a939fb7da4a9c6aaeaa.tar.gz sync-manager-3c9638d8da93cb898f413a939fb7da4a9c6aaeaa.tar.bz2 sync-manager-3c9638d8da93cb898f413a939fb7da4a9c6aaeaa.zip |
remove unnecessary profile dependencies from build spec
- including patch for removing upgrade script error
Change-Id: Ic2a199071d7d42b34faf8f6ad867177c65676c2d
Signed-off-by: Ickhee Woo <ickhee.woo@samsung.com>
-rw-r--r-- | packaging/sync-manager.spec | 7 | ||||
-rwxr-xr-x | scripts/sync-manager-upgrade.sh | 18 |
2 files changed, 8 insertions, 17 deletions
diff --git a/packaging/sync-manager.spec b/packaging/sync-manager.spec index e6879ec..7006604 100644 --- a/packaging/sync-manager.spec +++ b/packaging/sync-manager.spec @@ -1,5 +1,5 @@ Name: sync-service -Version: 0.1.6 +Version: 0.1.7 Release: 1 License: Apache-2.0 Summary: Sync manager daemon @@ -37,11 +37,6 @@ BuildRequires: pkgconfig(capi-content-media-content) BuildRequires: pkgconfig(libtzplatform-config) -%if "%{?profile}" == "tv" -ExcludeArch: %{arm} %ix86 x86_64 -%endif - - %description sync manager service and sync framework which manages sync of registered applications diff --git a/scripts/sync-manager-upgrade.sh b/scripts/sync-manager-upgrade.sh index e6bbc88..9600890 100755 --- a/scripts/sync-manager-upgrade.sh +++ b/scripts/sync-manager-upgrade.sh @@ -8,8 +8,6 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin # 2.4 SYNC_DATA_DIR_24=/opt/usr/data/sync-manager -SYNC_JOBS_LIST=syncjobs.xml -SYNC_ADAPTER_LIST=syncadapters.xml # 3.0 SYNC_DATA_DIR_30=/opt/usr/home/owner/data/sync-manager @@ -18,16 +16,14 @@ mkdir -p $SYNC_DATA_DIR_30 chmod 755 $SYNC_DATA_DIR_30 -mv $SYNC_DATA_DIR_24/SYNC_JOBS_LIST $SYNC_DATA_DIR_30/ -mv $SYNC_DATA_DIR_24/SYNC_ADAPTERS_LIST $SYNC_DATA_DIR_30/ +mv $SYNC_DATA_DIR_24/syncjobs.xml $SYNC_DATA_DIR_30/ +mv $SYNC_DATA_DIR_24/syncadapters.xml $SYNC_DATA_DIR_30/ -chown owner:users $SYNC_DATA_DIR_30/$SYNC_JOBS_LIST -chown owner:users $SYNC_DATA_DIR_30/$SYNC_ADAPTERS_LIST +chown owner:users $SYNC_DATA_DIR_30/syncjobs.xml +chown owner:users $SYNC_DATA_DIR_30/syncadapters.xml -chmod 644 $SYNC_DATA_DIR_30/$SYNC_JOBS_LIST -chmod 644 $SYNC_DATA_DIR_30/$SYNC_ADAPTERS_LIST - -chsmack -a User:Home $SYNC_DATA_DIR_30/$SYNC_JOBS_LIST -chsmack -a User:Home $SYNC_DATA_DIR_30/$SYNC_ADAPTERS_LIST +chmod 644 $SYNC_DATA_DIR_30/syncjobs.xml +chmod 644 $SYNC_DATA_DIR_30/syncadapters.xml rm -rf $SYNC_DATA_DIR_24 + |