fix soversion
authorYoung Ik Cho <youngik.cho@samsung.com>
Thu, 18 Jul 2013 05:17:24 +0000 (14:17 +0900)
committerYoung Ik Cho <youngik.cho@samsung.com>
Thu, 18 Jul 2013 05:21:06 +0000 (14:21 +0900)
Change-Id: I2c1b3893d827097017e87d2a99c0491c9beb25f2
Signed-off-by: Young Ik Cho <youngik.cho@samsung.com>
CMakeLists.txt
packaging/osp-env-config.spec

index 315d1cf..628bedf 100644 (file)
@@ -20,13 +20,6 @@ SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined -
 
 TARGET_LINK_LIBRARIES(${this_target} "-lvconf -ldlog")
 
-SET_TARGET_PROPERTIES(${this_target}
-       PROPERTIES
-       VERSION ${FULLVER}
-       SOVERSION ${MAJORVER}
-       CLEAN_DIRECT_OUTPUT 1
-       )
-
 INSTALL(TARGETS ${this_target} DESTINATION ${LIB_INSTALL_DIR}
                                PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ                      
                     GROUP_EXECUTE GROUP_READ
index bc2e1d4..ecb6552 100755 (executable)
@@ -3,7 +3,7 @@ Summary:        osp application environment cofiguration serivce
 Version:       1.2.2.0
 Release:       2
 Group:         System/Libraries
-License:       Apache-2.0 or Flora
+License:       Apache-2.0
 Source0:       %{name}-%{version}.tar.gz
 BuildRequires:  cmake
 BuildRequires:  pkgconfig(dlog)
@@ -17,12 +17,12 @@ osp application environment cofiguration serivce
 %prep
 %setup -q
 
-%build 
+%build
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %ifarch %{ix86} x86_64
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_ -D_SECURE_LOG" %cmake .
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_ -D_SECURE_LOG" %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_OSP_ARMEL_ -D_SECURE_LOG" %cmake .
+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_ -D_SECURE_LOG" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
 %endif
 
 # Call make instruction with smp support