Fix the build script typos and nonconventional so symlink packaging 09/123309/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:31:09 +0000 (16:31 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:31:09 +0000 (16:31 +0900)
Change-Id: Ib52caf7a86fa8079918253426f5d382a96da8e81
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-sensor-recorder.spec

index 76b8541..946d2c7 100644 (file)
@@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES(
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT-SENSOR")
-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 c1dd8d4..223ebe8 100644 (file)
@@ -77,8 +77,8 @@ echo "You need to reinstall %{name}-dummy to keep using the APIs after uninstall
 
 %files
 %manifest packaging/%{name}.manifest
-%{_libdir}/lib%{name}-client-genuine.so*
-%{_libdir}/lib%{name}-server-genuine.so*
+%{_libdir}/lib%{name}-client-genuine.so.*
+%{_libdir}/lib%{name}-server-genuine.so.*
 %license LICENSE
 
 
@@ -87,12 +87,14 @@ echo "You need to reinstall %{name}-dummy to keep using the APIs after uninstall
 
 %files dummy
 %manifest packaging/%{name}.manifest
-%{_libdir}/lib%{name}-client.so*
-%{_libdir}/lib%{name}-server.so*
+%{_libdir}/lib%{name}-client.so.*
+%{_libdir}/lib%{name}-server.so.*
 %license LICENSE
 
 
 %files devel
 %{_includedir}/context-service/*.h
 %{_includedir}/context-service/*/*.h
+%{_libdir}/lib%{name}-client.so
+%{_libdir}/lib%{name}-server.so
 %{_libdir}/pkgconfig/*.pc