Fix the build script typos and nonconventional so symlink packaging 05/123305/1
authorMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:24:42 +0000 (16:24 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Wed, 5 Apr 2017 07:24:42 +0000 (16:24 +0900)
Change-Id: I306f34fb196667fc7d68f5b755fa86054f804236
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
CMakeLists.txt
packaging/context-app-history.spec

index e2216ca..378650e 100644 (file)
@@ -13,7 +13,7 @@ INCLUDE_DIRECTORIES(
 
 ADD_DEFINITIONS(-O2 -Wall -fPIC -fdata-sections -ffunction-sections -fvisibility=hidden)
 ADD_DEFINITIONS(-DLOG_TAG="CONTEXT-APP-HIST")
-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 0ce4843..0c731e6 100644 (file)
@@ -76,8 +76,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
 
 
@@ -86,12 +86,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