Fix installation command on the spec file
authorso.yu <so.yu@samsung.com>
Thu, 28 Mar 2013 10:43:40 +0000 (19:43 +0900)
committerso.yu <so.yu@samsung.com>
Thu, 28 Mar 2013 12:03:00 +0000 (21:03 +0900)
Change-Id: Icdd9089de7817203f95899cec6d036eb54c47337
Signed-off-by: so.yu <so.yu@samsung.com>
packaging/apps.CertificateSelector.spec

index 5f02a90..aa1617b 100644 (file)
@@ -1,7 +1,7 @@
 Name:                  apps.CertificateSelector
 Summary:               The app-control of the certificate manager
 Version:               1.2.1.0
-Release:               2
+Release:               3
 Group:                 TO_BE/FILLED_IN
 License:               Apache License, Version 2.0
 Source0:               %{name}-%{version}.tar.gz
@@ -39,14 +39,8 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.Apache-2.0 %{buildroot}/usr/share/lic
 %make_install
 
 %post
-/sbin/ldconfig
-PKG_ID=hyCsE05ySM
-pkgcmd -q -i -t tpk -p /usr/apps/${PKG_ID}
-
-%postun
-/sbin/ldconfig
-PKG_ID=hyCsE05ySM
-pkgcmd -q -u -t tpk -n ${PKG_ID}
+/bin/rm -fr /opt/apps/hyCsE05ySM
+/usr/etc/package-manager/backend/tpk -i /usr/apps/hyCsE05ySM
 
 %files
 %defattr(-,root,root,-)