Add signing
authorHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 18 Jun 2013 01:21:44 +0000 (10:21 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Tue, 18 Jun 2013 04:32:59 +0000 (13:32 +0900)
Change-Id: I6267dc62de8c9258b9102f0ec520bd8880218426
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
packaging/osp-channel-service.spec

index 0540a2b..6334545 100755 (executable)
@@ -19,6 +19,7 @@ BuildRequires:        pkgconfig(openssl)
 BuildRequires:  pkgconfig(capi-appfw-app-manager)
 BuildRequires:  pkgconfig(capi-appfw-package-manager)
 BuildRequires:  osp-appfw-internal-devel
+BuildRequires:  hash-signer
 
 # runtime requires
 Requires: osp-appfw 
@@ -50,11 +51,14 @@ mkdir -p %{buildroot}/usr/share/license
 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license/%{name}
 
 %make_install
+%define tizen_sign 1
+%define tizen_sign_base /usr/apps/cp7ipabg4k
+%define tizen_sign_level public
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
 
 %post
-
 /bin/rm -fr /opt/apps/cp7ipabg4k
-
 /usr/etc/package-manager/backend/tpk -i /usr/apps/cp7ipabg4k
 
 #%postun -p /sbin/ldconfig