[Tizen-submit] 15732: Changes to Tizen:IVI/wrt-commons

noreply at tizen.org noreply at tizen.org
Thu Oct 10 11:20:38 GMT 2013


Hi,
Hoseon LEE have made the following changes to wrt-commons in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15732

  submit:       Tizen:IVI:build/wrt-commons(cleanup) -> Tizen:IVI


Message:
Submitter: Hoseon LEE <hoseon46.lee at samsung.com>
Comments: Submit for latest codes
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20131010.112027
Commit: 05f1e242a1915179ba9987bc24d51b4c20678172 Fix Build/Packaging Errors

State:   new        2013-10-10T11:19:11 tizenrobot
Comment: <no comment>
changes files:
--------------

old:
----
  wrt-commons-0.2.119.tar.gz

new:
----
  wrt-commons-0.2.153.tar.gz

spec files:
-----------
--- wrt-commons.spec
+++ wrt-commons.spec
@@ -1,8 +1,8 @@
 Name:       wrt-commons
 Summary:    Wrt common library
-Version:    0.2.119
+Version:    0.2.153
 Release:    1
-VCS:        platform/framework/web/wrt-commons#submit/tizen/20130912.090839-0-gfc9500cc915282026b320acfa4842f1513ae56bc
+VCS:        platform/framework/web/wrt-commons#submit/tizen/20131010.112027-0-g05f1e242a1915179ba9987bc24d51b4c20678172
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -23,12 +23,7 @@
 BuildRequires:  pkgconfig(openssl)
 BuildRequires:  pkgconfig(libiri)
 BuildRequires:  pkgconfig(libidn)
-BuildRequires:  pkgconfig(cryptsvc)
-BuildRequires:  pkgconfig(dukgenerator)
 BuildRequires:  pkgconfig(minizip)
-BuildRequires:  libcryptsvc-devel
-BuildRequires:  dukgenerator
-Requires: libcryptsvc
 
 %description
 Wrt common library
@@ -50,11 +45,25 @@
     %define with_tests 1
 %endif
 
+%define with_child 0
+%if "%{WITH_CHILD}" == "ON" || "%{WITH_CHILD}" == "Y" || "%{WITH_CHILD}" == "YES" || "%{WITH_CHILD}" == "TRUE" || "%{WITH_CHILD}" == "1"
+    %define with_child 1
+%endif
+
 %build
+%if 0%{?tizen_build_binary_release_type_eng}
+export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
+export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
+%endif
+
+export LDFLAGS+="-Wl,--rpath=%{_libdir} -Wl,--hash-style=both -Wl,--as-needed"
+
 %cmake . -DVERSION=%{version} \
         -DDPL_LOG="OFF"      \
         -DCMAKE_BUILD_TYPE=%{?build_type:%build_type} \
-        %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS}
+        %{?WITH_TESTS:-DWITH_TESTS=%WITH_TESTS} \
+        %{?WITH_CHILD:-DWITH_CHILD=%WITH_CHILD}
 make %{?jobs:-j%jobs}
 
 %install
@@ -120,6 +129,12 @@
 fi
 
 # Set Smack label for db files
+chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db
+chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db-journal
+chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db
+chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db-journal
+chsmack -a 'wrt-commons::db_wrt_i18n' /opt/usr/dbspace/.wrt_i18n.db
+chsmack -a 'wrt-commons::db_wrt_i18n' /opt/usr/dbspace/.wrt_i18n.db-journal
 
 echo "[WRT] wrt-commons postinst done ..."
 

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

++++++ wrt-commons-0.2.119.tar.gz -> wrt-commons-0.2.153.tar.gz
--- CMakeLists.txt
+++ CMakeLists.txt

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


More information about the Tizen-submit mailing list