summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorso.yu <so.yu@samsung.com>2013-06-18 23:02:55 +0900
committerso.yu <so.yu@samsung.com>2013-06-18 23:12:52 +0900
commit654ca6bda1236f318f4858441a164f3e7e1973ac (patch)
tree07e66a9d033340a8b140d9e0d82e29b5f7c151b1
parent7f010b44f95bed3f5911fde1f3ff0f1d20347508 (diff)
downloadcertificate-selector-654ca6bda1236f318f4858441a164f3e7e1973ac.tar.gz
certificate-selector-654ca6bda1236f318f4858441a164f3e7e1973ac.tar.bz2
certificate-selector-654ca6bda1236f318f4858441a164f3e7e1973ac.zip
Apply a smack rule
Change-Id: Ic5840cedc568339dbb02768f92a03a9de79bf24a Signed-off-by: so.yu <so.yu@samsung.com>
-rw-r--r--apps.CertificateSelector.manifest14
-rw-r--r--packaging/apps.CertificateSelector.spec6
2 files changed, 19 insertions, 1 deletions
diff --git a/apps.CertificateSelector.manifest b/apps.CertificateSelector.manifest
new file mode 100644
index 0000000..42fde9e
--- /dev/null
+++ b/apps.CertificateSelector.manifest
@@ -0,0 +1,14 @@
+<manifest>
+ <define>
+ <domain name="hyCsE05ySM"/>
+ <request>
+ <smack request="q7097a278m::usercert" type="rx"/>
+ </request>
+ </define>
+ <request>
+ <domain name="hyCsE05ySM"/>
+ </request>
+ <assign>
+ <filesystem path="/usr/share/license/apps.CertificateSelector" label="_"/>
+ </assign>
+</manifest>
diff --git a/packaging/apps.CertificateSelector.spec b/packaging/apps.CertificateSelector.spec
index cfd44de..bd58121 100644
--- a/packaging/apps.CertificateSelector.spec
+++ b/packaging/apps.CertificateSelector.spec
@@ -11,8 +11,11 @@ BuildRequires: osp-appfw-internal-devel
BuildRequires: pkgconfig(osp-uifw)
BuildRequires: hash-signer
+# smack domain requires
+Requires(post): osp-security-service
+
+# runtime requires
Requires: chromium
-Requires: osp-security-service
Requires: pkgmgr
%description
@@ -51,6 +54,7 @@ PKG_ID=hyCsE05ySM
/usr/etc/package-manager/backend/tpk -i /usr/apps/hyCsE05ySM
%files
+%manifest apps.CertificateSelector.manifest
%defattr(-,root,root,-)
/usr/share/license/%{name}
/usr/apps/*