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

noreply at tizen.org noreply at tizen.org
Thu Aug 15 01:30:26 GMT 2013


Hi,
Patrick McCarty have made the following changes to sys-assert in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #8164

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


Message:
Submitter: Patrick McCarty <patrick.mccarty at linux.intel.com>
Comments: Revert to the default manifest; fix package update handling; fix rpmlint error
Git project: platform/core/system/sys-assert
Tag: submit/tizen/20130815.013229
Commit: ee0439aa62b8e860535bab68af71f461eb8dd1fa packaging: Fix the build on x86_64; resolve rpmlint error

State:   new        2013-08-14T18:27:07 tizenrobot
Comment: <no comment>
changes files:
--------------
--- sys-assert.changes
+++ sys-assert.changes
@@ -0,0 +1,10 @@
+* Wed Aug 14 2013 Patrick McCarty <patrick.mccarty at linux.intel.com> 981320d
+- packaging: Fix the build on x86_64; resolve rpmlint error
+
+* Thu Aug 8 2013 Geoffroy Van Cutsem <geoffroy.vancutsem at intel.com> 8dad32b
+- Enhance %post script to handle upgrade vs. first installation gracefully (TIVI-1530)
+- Replace hard-coded path by macros in a %post and %files sections
+
+* Wed Jul 17 2013 Michael Leibowitz <michael.leibowitz at intel.com> fa6232a
+- Revert to the default floor manifest
+

new:
----
  sys-assert.manifest

spec files:
-----------
--- sys-assert.spec
+++ sys-assert.spec
@@ -2,10 +2,11 @@
 Summary:    System Assert
 Version:    0.3.3
 Release:    5
-VCS:        platform/core/system/sys-assert#submit/tizen/20130628.202745-0-gec13d54d1a28cbe8ebfd6006a987870261d3dc2e
-Group:      System/Debug
+VCS:        platform/core/system/sys-assert#submit/tizen/20130815.013229-0-gee0439aa62b8e860535bab68af71f461eb8dd1fa
+Group:      System/Other
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
+Source1001:	%{name}.manifest
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  cmake
 
@@ -14,6 +15,7 @@
 
 %prep
 %setup -q
+cp %{SOURCE1001} .
 
 %build
 export CFLAGS+=" -fPIC"
@@ -31,10 +33,12 @@
 %post -p <lua>
 --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"))
+    if arg[2] == 1 then
+        local f = assert(io.open("%{_sysconfdir}/ld.so.preload", "a"))
     local t = f:write("%{_libdir}/libsys-assert.so")
     f:close()
-    posix.chmod("/etc/ld.so.preload", 644)
+        posix.chmod("%{_sysconfdir}/ld.so.preload", 644)
+    end
 end
 
 
@@ -44,7 +48,7 @@
 #
 
 %files
-%manifest sys-assert.manifest
+%manifest %{name}.manifest
 %attr(775,root,crash) /opt/share/crash
 %attr(775,root,crash) /opt/share/crash/info
 %license LICENSE.APLv2

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

++++++ sys-assert-0.3.3.tar.gz
--- packaging/sys-assert.changes
+++ packaging/sys-assert.changes
@@ -1,3 +1,13 @@
+* Wed Aug 14 2013 Patrick McCarty <patrick.mccarty at linux.intel.com> 981320d
+- packaging: Fix the build on x86_64; resolve rpmlint error
+
+* Thu Aug 8 2013 Geoffroy Van Cutsem <geoffroy.vancutsem at intel.com> 8dad32b
+- Enhance %post script to handle upgrade vs. first installation gracefully (TIVI-1530)
+- Replace hard-coded path by macros in a %post and %files sections
+
+* Wed Jul 17 2013 Michael Leibowitz <michael.leibowitz at intel.com> fa6232a

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


More information about the Tizen-submit mailing list