[Tizen-submit] 6043: Changes to Tizen/sys-assert

noreply at tizen.org noreply at tizen.org
Mon May 20 11:34:40 GMT 2013

Prajwal Mohan have made the following changes to sys-assert in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #6043

  submit:       Tizen:build/sys-assert(cleanup) -> Tizen

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.045233
Git project: platform/core/system/sys-assert
Tag: submit/tizen/20130517.045233
Commit: 7c0dfc4 prevent to using the tainted data

State:   accepted   2013-05-16T22:34:42 pkarurmo
Comment: Reviewed Ok

History: new        2013-05-16T21:49:52 tizenrobot


spec files:
--- sys-assert.spec
+++ sys-assert.spec
@@ -1,17 +1,15 @@
-#sbs-git:slp/pkgs/s/sys-assert sys-assert 0.3.0 8c6fe2f2b76743849583c95c96073692877ab541
 Name:       sys-assert
 Summary:    libsys-assert (shared object).
-Version:    0.3.1
-Release:    0
-VCS:        platform/core/system/sys-assert#submit/tizen/20130517.015837-0-g98d5fa1
-Group:      TBD
-License:    LGPL
+Version:    0.3.3
+Release:    5
+VCS:        platform/core/system/sys-assert#submit/tizen/20130517.045233-0-g7c0dfc4
+Group:      Framework/system
+License:    Apache License, Version 2.0
 Source0:    %{name}-%{version}.tar.gz
 BuildRequires:  pkgconfig(glib-2.0)
-BuildRequires:  pkgconfig(dlog)
 BuildRequires:  cmake
-BuildRequires:  edje-tools
+Requires(post): coreutils
 libsys-assert (shared object).
@@ -25,35 +23,38 @@
     export CFLAGS+=" -DTARGET"
-make %{?jobs:-j%jobs}
+%cmake .
+make %{?_smp_mflags}
 rm -rf %{buildroot}
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
-mkdir -p /opt/bs/core
-chown 0:5000 /opt/bs/core
-chmod 775 /opt/bs/core
-mkdir -p /opt/share/hidden_storage/SLP_debug
-chown 0:5000 /opt/share/hidden_storage
-chmod 775 /opt/share/hidden_storage
-chown 0:5000 /opt/share/hidden_storage/SLP_debug
-chmod 775 /opt/share/hidden_storage/SLP_debug
-chmod +x /etc/opt/init/sys-assert.init.sh
+mkdir -p /opt/share/crash/info
+chown root:crash /opt/share/crash/info
+chmod 775 /opt/share/crash/info
+chown root:crash /opt/share/crash
+chmod 775 /opt/share/crash
+if [ -f %{_libdir}/rpm-plugins/msm.so ]; then
+	find /opt/share/crash -print0 | xargs -0 chsmack -a 'sys-assert::core'
+	find /opt/share/crash -type d -print0 | xargs -0 chsmack -t
+if [ ! -d /.build ]; then
+	echo "/usr/lib/libsys-assert.so" >> /etc/ld.so.preload
+	chmod 644 /etc/ld.so.preload

Please refer to OBS webUI for more details about this SR.

More information about the Tizen-submit mailing list