Fix the build script typos and nonconventional so symlink packaging 07/123307/2
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:26:30 +0000 (16:26 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:28:06 +0000 (16:28 +0900)
Change-Id: Ib214509b414ff868c44b41595beb9383e07d17ad
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-store.spec

index 8dbfdf0..ecf914f 100644 (file)
@@ -12,7 +12,7 @@ INCLUDE_DIRECTORIES(
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT-STORE")
-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 87f390d..daa3159 100644 (file)
@@ -78,8 +78,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.*
 %{TZ_SYS_DATA}/%{name}/*.sql
 %license LICENSE
 
@@ -89,12 +89,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