Modification about smack label of db file belong to process.
[platform/framework/web/wrt-security.git] / packaging / wrt-security.spec
index 9588fcd..3791e60 100644 (file)
@@ -61,7 +61,9 @@ export LDFLAGS+="-Wl,--rpath=%{_libdir}"
 
 %cmake . -DDPL_LOG="ON" \
         -DVERSION=%{version} \
-        -DCMAKE_BUILD_TYPE=%{?build_type:%build_type}
+        -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
+       -DTZ_SYS_ACE_CONF=%{TZ_SYS_ACE_CONF} \
+       -DTZ_SYS_SHARE=%{TZ_SYS_SHARE}
 make %{?jobs:-j%jobs}
 
 
@@ -106,6 +108,8 @@ else
     fi
 fi
 
+chsmack -a 'User' /opt/dbspace/.ace.db*
+
 /sbin/ldconfig
 echo "[WRT] wrt-security postinst done ..."