[Tizen-submit] 9449: Changes to Tizen/osp-json

noreply at tizen.org noreply at tizen.org
Fri Aug 30 18:47:45 GMT 2013


Hi,
Anas Nashif have made the following changes to osp-json in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #9449

  submit:       Tizen:build/osp-json(cleanup) -> Tizen


Message:
Submitter: Anas Nashif <anas.nashif at intel.com>
Comments: Cleanup spec file
Git project: platform/framework/native/json
Tag: submit/tizen/20130830.185029
Commit: 2eaba6df58d3413cc05324fe6c4e231595a34878 cleanup spec and drop debug package

State:   new        2013-08-30T11:44:18 tizenrobot
Comment: <no comment>
spec files:
-----------
--- osp-json.spec
+++ osp-json.spec
@@ -1,39 +1,26 @@
-%define debug_package %{nil}
-%define __strip /bin/true
-
 Name:		osp-json
-Summary:	osp json library
 Version:	1.2.1.0
 Release:	2
-VCS:     platform/framework/native/json#submit/tizen/20130517.045532-0-gfd82164
+VCS:            platform/framework/native/json#submit/tizen/20130830.185029-0-g2eaba6df58d3413cc05324fe6c4e231595a34878
+License:        Apache-2.0
+Summary:        OSP JSON Library
 Group:		System/Libraries
-License:	TO_BE/FILLED_IN
 Source0:	%{name}-%{version}.tar.gz
 BuildRequires:  cmake
-BuildRequires:  pkgconfig(osp-appfw)
 BuildRequires:  osp-appfw-internal-devel
-
-# runtime requires
+BuildRequires:  pkgconfig(osp-appfw)
 Requires: osp-appfw 
 
 %description
-osp json library
+OSP json library
 
 %package devel
 Summary:    osp json library (Development)
-Group:      TO_BE/FILLED_IN
-Requires:   %{name} = %{version}-%{release}
+Requires:       %{name} = %{version}
 
 %description devel
 osp json library (DEV)
 
-%package debug
-Summary:    osp json library (Development)
-Group:      TO_BE/FILLED_IN
-Requires:   %{name} = %{version}-%{release}
-
-%description debug
-osp json library (DEV)
 
 %prep
 %setup -q
@@ -41,19 +28,14 @@
 %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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_ARMEL_" %cmake .  -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %endif
 
-# Call make instruction with smp support
-make %{?jobs:-j%jobs}
+make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cat %{_builddir}/%{name}-%{version}/LICENSE.APLv2.0 >> %{buildroot}/usr/share/license/%{name}
-
 %make_install
 
 %post -p /sbin/ldconfig
@@ -62,12 +44,9 @@
 
 %files
 %manifest osp-json.manifest
-/usr/share/license/%{name}
+%license LICENSE.APLv2.0
 %{_libdir}/osp/libosp-json.so*
 
 %files devel
 %{_includedir}/osp/*.h
 %{_libdir}/pkgconfig/osp-json.pc
-
-%files debug

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


More information about the Tizen-submit mailing list