[Tizen-submit] 3127: New package Tizen:2.1:Main/sys-assert

noreply at tizen.org noreply at tizen.org
Wed Apr 24 23:32:45 GMT 2013


Hi,
Adding new package sys-assert in project Tizen:2.1:Main. Please review and accept ASAP.

Justification for this new package:

Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/sys-assert
Tag: submit/tizen_2.1/20130424.233307
Commit: 7c0dfc4 prevent to using the tainted data

Thank You,
Jinkun Jang

[This message was auto-generated]

---

Request: #3127

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


Message:
Submitter: Jinkun Jang <jinkun.jang at samsung.com>
Comments: submit to obs
Git project: framework/system/sys-assert
Tag: submit/tizen_2.1/20130424.233307
Commit: 7c0dfc4 prevent to using the tainted data

State:   new        2013-04-24T16:03:24 tizenrobot
Comment: <no comment>
new:
----
  sys-assert-0.3.3.tar.gz
  sys-assert.spec

spec files:
-----------

++++++ new spec file:
--- sys-assert.spec
+++ sys-assert.spec
@@ -0,0 +1,60 @@
+Name:       sys-assert
+Summary:    libsys-assert (shared object).
+Version:    0.3.3
+Release:    5
+VCS:        framework/system/sys-assert#2.1_release-0-g7c0dfc4
+Group:      Framework/system
+License:    Apache License, Version 2.0
+Source0:    %{name}-%{version}.tar.gz
+
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  cmake
+Requires(post): coreutils
+
+%description
+libsys-assert (shared object).
+
+%prep
+%setup -q
+
+%build
+export CFLAGS+=" -fPIC"
+%ifarch %{arm}
+    export CFLAGS+=" -DTARGET"
+%endif
+
+%cmake .
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE.APLv2 %{buildroot}/usr/share/license/%{name}
+
+%post
+/sbin/ldconfig
+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
+fi
+
+if [ ! -d /.build ]; then
+	echo "/usr/lib/libsys-assert.so" >> /etc/ld.so.preload
+	chmod 644 /etc/ld.so.preload
+fi
+
+%files
+%manifest sys-assert.manifest
+%{_bindir}/coredumpctrl.sh
+%{_libdir}/libsys-assert.so
+/opt/etc/.debugmode
+/usr/share/license/%{name}
+/usr/lib/sysctl.d/sys-assert.conf

other changes:
--------------

++++++ sys-assert-0.3.3.tar.gz (new)


More information about the Tizen-submit mailing list