Fix the build script typos and nonconventional so symlink locations 99/123299/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:12:45 +0000 (16:12 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:12:45 +0000 (16:12 +0900)
Change-Id: I2cb6e86251baffd1d46ae8ccc20b8be42da3fc4d
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-common.spec

index 698a90d..2e626ee 100644 (file)
@@ -12,7 +12,7 @@ INCLUDE_DIRECTORIES(
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT")
-SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-section -Wl,--print-gc-section")
+SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -fPIC -Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections")
 
 SET(VERSION ${FULLVER})
 SET(PREFIX ${CMAKE_INSTALL_PREFIX})
index 9579006..bce4657 100644 (file)
@@ -48,7 +48,7 @@ make %{?_smp_mflags}
 
 %files
 %manifest packaging/%{name}.manifest
-%{_libdir}/*.so*
+%{_libdir}/*.so.*
 %license LICENSE
 
 %package devel
@@ -61,4 +61,5 @@ Tizen Context-Service Internal Shared Library (Development)
 
 %files devel
 %{_includedir}/context-service/*/*.h
+%{_libdir}/*.so
 %{_libdir}/pkgconfig/*.pc