[Tizen-submit] 15431: Changes to Tizen/osp-security-service

noreply at tizen.org noreply at tizen.org
Sat Oct 5 08:33:24 GMT 2013


Hi,
Hyunwoo Kim have made the following changes to osp-security-service in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #15431

  submit:       Tizen:build/osp-security-service(cleanup) -> Tizen


Message:
Submitter: Hyunwoo Kim <hwlove.kim at samsung.com>
Comments: SR
Git project: platform/framework/native/security-service
Tag: submit/tizen/20131005.083404
Commit: a63751449586c338a9a3976a1bbe50bd1c48ccda Split CXXFLAGS of the spec file for -D_SECURE_LOG

State:   new        2013-10-05T08:31:28 tizenrobot
Comment: <no comment>
old:
----
  osp-security-service-1.2.1.0.tar.gz

new:
----
  osp-security-service-1.2.2.0.tar.gz

spec files:
-----------
--- osp-security-service.spec
+++ osp-security-service.spec
@@ -1,8 +1,8 @@
 Name:		osp-security-service
 Summary:	osp security service
-Version:	1.2.1.0
-Release:	2
-VCS:     platform/framework/native/security-service#submit/tizen/20130517.045548-0-g08f7518
+Version:	1.2.2.0
+Release:	1
+VCS:     platform/framework/native/security-service#submit/tizen/20131005.083404-0-ga63751449586c338a9a3976a1bbe50bd1c48ccda
 Group:		TO_BE/FILLED_IN
 License:	TO_BE/FILLED_IN
 Source0:	%{name}-%{version}.tar.gz
@@ -13,8 +13,16 @@
 BuildRequires:  pkgconfig(pkgmgr)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(osp-appfw)
+
+BuildRequires:  pkgconfig(vconf)
+BuildRequires:  pkgconfig(vconf-internal-keys)
+
 BuildRequires:  osp-appfw-internal-devel
-BuildRequires:  libcryptsvc-devel
+BuildRequires:  hash-signer
+
+# smack domain requires
+Requires(post):	org.tizen.setting
+Requires(post):	cert-svc
 
 # runtime requires
 Requires: osp-appfw 
@@ -31,12 +39,24 @@
 
 %build 
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
+
 %ifarch %{ix86}
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+	ARCH=x86
+	CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_"
+	%if 0%{?simulator}
+		CXXFLAGS="$CXXFLAGS -D_OSP_EMUL_"
+	%endif
 %else
-CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
+	ARCH=arm
+	CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_"
 %endif
 
+%if 0%{?tizen_build_binary_release_type_eng}
+	CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
+%endif
+
+cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH}
+
 # Call make instruction with smp support
 make %{?jobs:-j%jobs}
 
@@ -46,6 +66,13 @@
 cp %{_builddir}/%{name}-%{version}/LICENSE.APLv2  %{buildroot}/usr/share/license/%{name}
 
 %make_install
+###### for package signing step ######
+PKG_ID=q7097a278m
+%define tizen_sign 1
+%define tizen_sign_base /usr/apps/${PKG_ID}
+%define tizen_sign_level public
+%define tizen_author_sign 1
+%define tizen_dist_sign 1
 
 %post
 /bin/rm -fr /opt/apps/q7097a278m

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

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


More information about the Tizen-submit mailing list