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

noreply at tizen.org noreply at tizen.org
Wed Oct 2 07:54:18 GMT 2013


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

Thank You,

[This message was auto-generated]

---

Request: #15306

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


Message:
Submitter: Hoseon LEE <hoseon46.lee at samsung.com>
Comments: Rebase wrt-commons
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20131002.075415
Commit: bb3051d4e393aa7e071e66ddd2551b8cb0d445c0 Merge remote-tracking branch 'remotes/rsa/tizen_2.2' into tizen

State:   new        2013-10-02T07:52:42 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/20131002.075415-0-gbb3051d4e393aa7e071e66ddd2551b8cb0d445c0
 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,14 +45,30 @@
     %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
-%cmake . -DVERSION=%{version} \
+%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
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name}
 %make_install
 
 
@@ -120,6 +131,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 ..."
 


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


More information about the Tizen-submit mailing list