modify smack rule to install web application 2.1b_release accepted/tizen_2.1/20130425.034724 submit/tizen_2.1/20130424.232601
authorKyungwooNoh <kw1004.noh@samsung.com>
Fri, 19 Apr 2013 07:12:04 +0000 (16:12 +0900)
committerKyungwooNoh <kw1004.noh@samsung.com>
Fri, 19 Apr 2013 07:12:04 +0000 (16:12 +0900)
Change-Id: I0e9586014229a3c73dcd24631d8078c0e85fbd79
Signed-off-by: KyungwooNoh <kw1004.noh@samsung.com>
osp-security-service.manifest [changed mode: 0644->0755]
packaging/osp-security-service.spec

old mode 100644 (file)
new mode 100755 (executable)
index fa4133a..44be6fb
@@ -1,6 +1,9 @@
 <manifest>
        <define>
                <domain name="q7097a278m"/>
+               <request>
+                       <smack request="_" type="rxt"/> 
+               </request>
        </define>
        <request>
                <domain name="q7097a278m"/>
index 802e90d..d014bef 100755 (executable)
@@ -50,7 +50,11 @@ cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license
 /bin/rm -fr /opt/apps/q7097a278m
 /usr/etc/package-manager/backend/tpk -i /usr/apps/q7097a278m
 
-#%postun -p /sbin/ldconfig
+if [ -f /usr/lib/rpm-plugins/msm.so ]
+then   
+       chsmack -t /opt/usr/share/certs
+       chsmack -a "_" /opt/usr/share/certs
+fi
 
 %files
 %manifest osp-security-service.manifest