[SMACK] remove rule file
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 6 May 2013 07:38:25 +0000 (16:38 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 6 May 2013 07:38:25 +0000 (16:38 +0900)
Change-Id: I9a3030eda051226582987290fa0aa23f57687838

Makefile.am
isf.manifest
isf.rule [deleted file]
packaging/isf.spec

index 235962d..f10ac34 100644 (file)
@@ -56,9 +56,6 @@ endif
 pkgconfig_DATA          = isf.pc scim.pc \
                          $(GTK_UTILS_PKGCONFIG)
 
-smackdir = /etc/smack/accesses2.d/
-smack_DATA = isf.rule
-
 ugxmldir = /usr/share/packages/
 ugxml_DATA = ug-isfsetting-efl.xml
 
index 17dcacb..cae73d3 100755 (executable)
@@ -1,6 +1,17 @@
 <manifest>
        <define>
                <domain name="isf"/>
+               <request>
+                       <smack request="system::vconf" type="arwxt"/>
+                       <smack request="system::homedir" type="arwxt"/>
+                       <smack request="xorg" type="rw"/>
+                       <smack request="system::use_internet" type="r"/>
+                       <smack request="e17" type="r"/>
+                       <smack request="device::app_logging" type="w"/>
+                       <smack request="svi-data" type="rx"/>
+                       <smack request="sound_server" type="rw"/>
+                       <smack request="sys-assert::core" type="arwxt"/>
+               </request>
        </define>
        <assign>
                <filesystem path="/usr/lib/ecore/immodules/libisf-imf-module.so" label="_"/>
diff --git a/isf.rule b/isf.rule
deleted file mode 100755 (executable)
index a3fd5f5..0000000
--- a/isf.rule
+++ /dev/null
@@ -1,9 +0,0 @@
-isf system::vconf arwxt
-isf system::homedir arwxt
-isf xorg w
-isf system::use_internet r
-isf e17 r
-isf device::app_logging w
-isf svi-data rx
-isf sound_server rw
-isf sys-assert::core arwxt
index e5e7af1..8ed437a 100755 (executable)
@@ -4,7 +4,7 @@
 Name:       isf
 Summary:    Input Service Framework
 Version:    2.4.6506
-Release:    1
+Release:    2
 Group:      System Environment/Libraries
 License:    LGPL
 Source0:    %{name}-%{version}.tar.gz
@@ -87,7 +87,6 @@ mkdir -p /opt/apps/scim/lib/scim-1.0/1.4.0/IMEngine
 
 %files
 %manifest %{name}.manifest
-/etc/smack/accesses2.d/%{name}.rule
 %defattr(-,root,root,-)
 %{_libdir}/systemd/user/core-efl.target.wants/scim.service
 %{_libdir}/systemd/user/scim.service