[Tizen-submit] 6327: Changes to Tizen/libaccounts-svc

noreply at tizen.org noreply at tizen.org
Wed May 29 15:38:13 GMT 2013


Hi,
Xavier Roche have made the following changes to libaccounts-svc in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #6327

  submit:       Tizen:build/libaccounts-svc(cleanup) -> Tizen


Message:
Submitter: Xavier Roche <xavrock.os at gmail.com>
Comments: Fix hardcoded library path for 64 bit compatibility
Git project: platform/core/pim/libaccounts-svc
Tag: submit/tizen/20130529.145820
Commit: 0c27fd1 Changes : Fix hardcoded library path for 64 bit compatibility

State:   new        2013-05-29T08:37:36 tizenrobot
Comment: <no comment>
changes files:
--------------

++++++ new changes file:
--- libaccounts-svc.changes
+++ libaccounts-svc.changes
@@ -0,0 +1,3 @@
+* Wed May 29 2013 Xavier Roche <xavrock.os at gmail.com> accepted/tizen/20130520.101203 at 2011f9c
+- Fix hardcoded library path for 64 bit compatibility
+

new:
----
  libaccounts-svc.changes

spec files:
-----------
--- libaccounts-svc.spec
+++ libaccounts-svc.spec
@@ -3,7 +3,7 @@
 Summary:    Account DB library
 Version:    0.2.52
 Release:    1
-VCS:        platform/core/pim/libaccounts-svc#submit/tizen/20130517.045119-0-gcce70d6
+VCS:        platform/core/pim/libaccounts-svc#submit/tizen/20130529.145820-0-g0c27fd193bb28b91acca43be3780e97e7a4c707e
 Group:      TO_BE/FILLED_IN
 License:    Apache-2.0
 Source0:    libaccounts-svc-%{version}.tar.gz
@@ -37,7 +37,7 @@
 
 %build
 export CFLAGS="${CFLAGS} -fPIC -fvisibility=hidden"
-cmake . -DCMAKE_INSTALL_PREFIX=/usr
+%cmake .
 
 make %{?jobs:-j%jobs}
 
@@ -45,7 +45,7 @@
 rm -rf %{buildroot}
 %make_install
 
-rm -rf %{buildroot}/usr/lib/accounts-svc
+rm -rf %{buildroot}%{_libdir}/accounts-svc
 
 %post
 /sbin/ldconfig
@@ -83,7 +83,7 @@
 vconftool set -t string db/account/msg '' -g 6514
 
 #smack labeling
-if [ -f /usr/lib/rpm-plugins/msm.so ]
+if [ -f %{_libdir}/rpm-plugins/msm.so ]
 then
 	chsmack -a 'libaccounts-svc::db' /opt/dbspace/.account.db-journal
 	chsmack -a 'libaccounts-svc::db' /opt/dbspace/.account.db

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

++++++ libaccounts-svc-0.2.52.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -3,7 +3,6 @@
 
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
 SET(EXEC_PREFIX "\${prefix}")
-SET(LIBDIR "\${prefix}/lib")
 SET(INCLUDEDIR "\${prefix}/include ")
 SET(VERSION_MAJOR 0)
 SET(VERSION "${VERSION_MAJOR}.2.52")
@@ -66,9 +65,9 @@
 
 CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc @ONLY)
 
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib/accounts-svc)
-INSTALL(TARGETS ${PROJECT_NAME} DESTINATION lib)
-INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION lib/pkgconfig)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR}/accounts-svc)
+INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${LIB_INSTALL_DIR})
+INSTALL(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
 
 INSTALL(TARGETS account-xml-verify DESTINATION bin)
 
--- accounts-svc.pc.in
+++ accounts-svc.pc.in
@@ -2,7 +2,7 @@

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


More information about the Tizen-submit mailing list