Fix the build script typos and nonconventional so symlink packaging 08/123308/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:30:00 +0000 (16:30 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:30:00 +0000 (16:30 +0900)
Change-Id: I229e8def4c57d8875bd76d9f817826cde43ddccc
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-job-scheduler.spec

index 9028ac3..933c3e3 100644 (file)
@@ -12,7 +12,7 @@ INCLUDE_DIRECTORIES(
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT-SCHED")
-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 4163898..ebf6154 100644 (file)
@@ -80,8 +80,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
 
 
@@ -90,12 +90,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