summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSungyeon Woo <s.woo@samsung.com>2014-08-11 06:27:36 (GMT)
committerSungyeon Woo <s.woo@samsung.com>2014-08-11 06:27:36 (GMT)
commit889822427c2e5c19ebd3b51ebd94b650a79ae88c (patch)
treef644a5bd43910fcd65ff338666e70aacafa0fb8d
parent9cddd897518319ef59834dcb99702cb9d7a74811 (diff)
downloaddefault-fonts-fc-sdk-889822427c2e5c19ebd3b51ebd94b650a79ae88c.zip
default-fonts-fc-sdk-889822427c2e5c19ebd3b51ebd94b650a79ae88c.tar.gz
default-fonts-fc-sdk-889822427c2e5c19ebd3b51ebd94b650a79ae88c.tar.bz2
modified smack label
Change-Id: Ief35c9896786c4c3074dec319edb4431c7344112 Signed-off-by: Sungyeon Woo <s.woo@samsung.com>
-rw-r--r--packaging/default-fonts-fc-sdk.manifest15
-rw-r--r--packaging/default-fonts-fc-sdk.spec2
2 files changed, 4 insertions, 13 deletions
diff --git a/packaging/default-fonts-fc-sdk.manifest b/packaging/default-fonts-fc-sdk.manifest
index 042c40b..7bdc212 100644
--- a/packaging/default-fonts-fc-sdk.manifest
+++ b/packaging/default-fonts-fc-sdk.manifest
@@ -1,14 +1,5 @@
<manifest>
- <define>
- <domain name="default-fonts-fc-sdk" policy="restricted" plist="settings"/>
- <provide>
- <label name="default-fonts-fc-sdk::config"/>
- </provide>
- </define>
- <request>
- <domain name="_"/>
- </request>
- <assign>
- <filesystem path="/opt/etc/fonts/conf.avail/99-slp.conf" label="default-fonts-fc-sdk::config"/>
- </assign>
+ <request>
+ <domain name="_"/>
+ </request>
</manifest>
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
index 70369ad..f53629c 100644
--- a/packaging/default-fonts-fc-sdk.spec
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -30,7 +30,7 @@ cd %{buildroot}/usr/etc/fonts/conf.d/
ln -s ../../../../opt/etc/fonts/conf.avail/$FONT_CONF_FILE %{buildroot}/usr/etc/fonts/conf.d/$FONT_CONF_FILE
%post
-chown 5000:5000 /usr/opt/etc/fonts/conf.avail/99-slp.conf
+chown root:app /usr/opt/etc/fonts/conf.avail/99-slp.conf
chmod 664 /usr/opt/etc/fonts/conf.avail/99-slp.conf
/etc/opt/init/default-fonts-fc-sdk.init.sh
chsmack -a '*' /opt/etc/fonts/conf.avail/99-slp.conf