From 390f331423904134c6da07245d28a66f53095e94 Mon Sep 17 00:00:00 2001 From: "so.yu" Date: Thu, 28 Mar 2013 19:43:40 +0900 Subject: [PATCH] Fix installation command on the spec file Change-Id: Icdd9089de7817203f95899cec6d036eb54c47337 Signed-off-by: so.yu --- packaging/apps.CertificateSelector.spec | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/packaging/apps.CertificateSelector.spec b/packaging/apps.CertificateSelector.spec index 5f02a90..aa1617b 100644 --- a/packaging/apps.CertificateSelector.spec +++ b/packaging/apps.CertificateSelector.spec @@ -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,-) -- 2.7.4