Add smack manifest
authorSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 2 Nov 2012 12:10:48 +0000 (21:10 +0900)
committerSeungYeup Kim <sy2004.kim@samsung.com>
Fri, 2 Nov 2012 12:10:48 +0000 (21:10 +0900)
Install license info into /usr/share/license

libsqlfs.manifest [new file with mode: 0755]
packaging/libsqlfs.spec [changed mode: 0644->0755]
sqlfs-mount

diff --git a/libsqlfs.manifest b/libsqlfs.manifest
new file mode 100755 (executable)
index 0000000..1912ea4
--- /dev/null
@@ -0,0 +1,8 @@
+<manifest>
+       <define>
+               <domain name="sqlfs"/>
+       </define>
+       <request>
+               <domain name="sqlfs"/>
+       </request>
+</manifest>
old mode 100644 (file)
new mode 100755 (executable)
index cb6ed59..08bc7e6
@@ -1,7 +1,7 @@
 Name:       libsqlfs
 Summary:    FUSE module for filesystem on top of an SQLite db
 Version:    1.2
-Release:    8
+Release:    9
 Group:      TO_BE/FILLED_IN
 License:    LGPLv2
 Source0:    libsqlfs-%{version}.tar.gz
@@ -53,12 +53,16 @@ install -c sqlfs-mount %{buildroot}/etc/rc.d/init.d
 ln -s ../init.d/sqlfs-mount %{buildroot}/etc/rc.d/rc3.d/S03sqlfs-mount
 ln -s ../init.d/sqlfs-mount %{buildroot}/etc/rc.d/rc4.d/S03sqlfs-mount
 
+mkdir -p %{buildroot}/usr/share/license
+install COPYING %{buildroot}/usr/share/license/%{name}
 %files
-%_bindir/sqlfs_txn_cmd
-%_bindir/libsqlfs_mount
+%manifest libsqlfs.manifest
 %_sysconfdir/rc.d/init.d/sqlfs-mount
 %_sysconfdir/rc.d/rc3.d/S03sqlfs-mount
 %_sysconfdir/rc.d/rc4.d/S03sqlfs-mount
+%_bindir/sqlfs_txn_cmd
+%_bindir/libsqlfs_mount
+/usr/share/license/%{name}
 
 %changelog
 * Thu Jul 12 2012 - Hyungdeuk Kim <hd3.kim@samsung.com>
index 617035c..da7498b 100755 (executable)
@@ -13,4 +13,4 @@ else
 fi
 
 #smack label requested by kd0228.kim
-/bin/chsmack -a '*' /opt/var/kdb/db
+chsmack -a '*' /opt/var/kdb/db