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})
%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
%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