From ec13d54d1a28cbe8ebfd6006a987870261d3dc2e Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 28 Jun 2013 14:33:00 -0400 Subject: [PATCH] Do not split libsys-assert Signed-off-by: Anas Nashif --- packaging/sys-assert.changes | 3 +++ packaging/sys-assert.spec | 16 +--------------- 2 files changed, 4 insertions(+), 15 deletions(-) diff --git a/packaging/sys-assert.changes b/packaging/sys-assert.changes index 3bfad5e..fd641fe 100644 --- a/packaging/sys-assert.changes +++ b/packaging/sys-assert.changes @@ -1,3 +1,6 @@ +* Fri Jun 28 2013 Anas Nashif accepted/tizen/20130628.202129@fc36a2f +- Do not split libsys-assert + * Fri Jun 28 2013 Anas Nashif accepted/tizen/20130611.123358@59a542a - Cleanup spec - - Use lua instead of shell for %post to minimize dependencies diff --git a/packaging/sys-assert.spec b/packaging/sys-assert.spec index 9f08f3b..609db4d 100644 --- a/packaging/sys-assert.spec +++ b/packaging/sys-assert.spec @@ -11,13 +11,6 @@ BuildRequires: cmake %description System Assert. -%package -n libsys-assert -Summary: System Assert Library -%description -n libsys-assert -System Assert Library. - -This package provides the library for %name. - %prep %setup -q @@ -38,7 +31,7 @@ mkdir -p %{buildroot}/opt/share/crash/info --Do not run this script inside the build environemt, it will cause issues. if posix.stat("/.build") == nil then local f = assert(io.open("/etc/ld.so.preload", "a")) - local t = f:write("%{_libdir}/libsys-assert.so\n") + local t = f:write("%{_libdir}/libsys-assert.so") f:close() posix.chmod("/etc/ld.so.preload", 644) end @@ -49,11 +42,6 @@ end #that tries to preload that lib # -%post -n libsys-assert -p /sbin/ldconfig - -%postun -n libsys-assert -p /sbin/ldconfig - - %files %manifest sys-assert.manifest %attr(775,root,crash) /opt/share/crash @@ -62,7 +50,5 @@ end %{_bindir}/coredumpctrl.sh /opt/etc/.debugmode /usr/lib/sysctl.d/sys-assert.conf - -%files -n libsys-assert %{_libdir}/libsys-assert.so -- 2.7.4