add signing for osp-app-service
authorYoung Ik Cho <youngik.cho@samsung.com>
Thu, 20 Jun 2013 04:57:37 +0000 (13:57 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Thu, 20 Jun 2013 04:57:37 +0000 (13:57 +0900)
Change-Id: Iaefe5da339c088b8fe6a58f88f4d895238ad0639
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
inc/FApp_CommunicationDispatcher.h
packaging/osp-app-service.spec
plugins/nfc-condition-handler/NfcConditionHandler.cpp
src/FApp_ConditionManagerService.cpp

index 1154b95..529997a 100644 (file)
@@ -59,7 +59,7 @@ namespace Tizen { namespace App {
 class _CommunicationDispatcher
        : public Tizen::Io::_IIpcServerEventListener
        , public _IAppEventListener
-       , public Tizen::Base::Runtime::IEventListener
+       , virtual public Tizen::Base::Runtime::IEventListener
 {
 private:
        _CommunicationDispatcher(void);
index 88a1070..3455179 100644 (file)
@@ -1,13 +1,14 @@
 Name:          osp-app-service
 Summary:       osp application service
 Version:       1.2.2.0
-Release:       1
+Release:       2
 Group:         System/Libraries
 License:       Apache-2.0 or Flora
 Source0:       %{name}-%{version}.tar.gz
 Source1:       osp-app-service.service
 Source3:       osp-tmpdir-setup.service
 BuildRequires: cmake
+BuildRequires: hash-signer
 BuildRequires: pkgconfig(glib-2.0)
 BuildRequires: pkgconfig(chromium)
 BuildRequires: pkgconfig(capi-system-media-key)
@@ -101,6 +102,11 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.Flora  %{buildroot}/usr/share/license
 cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2 >> %{buildroot}/usr/share/license/%{name}
 
 %make_install
+%define tizen_sign 1
+%define tizen_sign_base /usr/apps/aospd00043
+%define tizen_sign_level platform
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
 
 mkdir -p %{buildroot}/etc/rc.d/init.d
 cp -R %{_builddir}/%{name}-%{version}/etc/rc.d/init.d/* %{buildroot}/etc/rc.d/init.d
index 472598e..a2f6911 100644 (file)
@@ -294,7 +294,7 @@ private:
 
                String originalCondition(pConditionValue);
                String aulFormatCondition;
-               char* pTranslatedCondition = null;
+               //char* pTranslatedCondition = null;
 
                result r = E_SUCCESS;
                bool isOk = true;
index 1ddbf3e..60a47d3 100644 (file)
@@ -70,7 +70,7 @@ _ConditionManagerService::~_ConditionManagerService()
        SysLog(NID_APP, "Enter");
        result r = E_SUCCESS;
 
-       _ConditionHandler* pHandler = null;
+       //_ConditionHandler* pHandler = null;
        for (int i =0; i < __handlers.GetCount(); i ++)
        {
                _ConditionHandler* pHandler = null;