Use %license macro in spec file 90/122690/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170403.190547 accepted/tizen/ivi/20170403.131616 accepted/tizen/mobile/20170403.131451 accepted/tizen/tv/20170403.131518 accepted/tizen/unified/20170403.131641 accepted/tizen/wearable/20170403.131539 submit/tizen/20170403.090528 tizen_4.0.m1_release
authorWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:07:58 +0000 (16:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 3 Apr 2017 07:07:58 +0000 (16:07 +0900)
Change-Id: Idcbbaf1931e487937d5d98bd9651798a1dde5455

CMakeLists.txt
packaging/telephony-daemon.spec

index 1a1e1ee..619362c 100644 (file)
@@ -60,7 +60,6 @@ TARGET_LINK_LIBRARIES(${PROJECT_NAME} ${pkgs_LDFLAGS} "-ldl")
 
 # install
 INSTALL(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME telephony-daemon)
 IF (TIZEN_PROFILE_TV OR TIZEN_PROFILE_IVI)
        INSTALL(FILES ${CMAKE_SOURCE_DIR}/packaging/telephony-daemon-on-demand.service DESTINATION ${UNITDIR} RENAME telephony-daemon.service)
 ELSE (TIZEN_PROFILE_TV OR TIZEN_PROFILE_IVI)
index 71475fd..720a69a 100644 (file)
@@ -1,6 +1,6 @@
 %define major 1
 %define minor 4
-%define patchlevel 2
+%define patchlevel 3
 
 Name:           telephony-daemon
 Version:        %{major}.%{minor}.%{patchlevel}
@@ -117,17 +117,20 @@ mv %{_unitdir}/telephony-daemon.service %{_unitdir}/telephony-daemon.service.tv.
 %files
 %manifest telephony-daemon.manifest
 %defattr(644,root,root,-)
-%{_datadir}/license/telephony-daemon
+%license LICENSE
 
 %files profile_common
 %caps(cap_net_admin=eip) %attr(755,root,root) %{_bindir}/telephony-daemon
 %{_unitdir}/multi-user.target.wants/telephony-daemon.service
 %{_unitdir}/telephony-daemon.service
+%license LICENSE
 
 %files profile_tv
 %caps(cap_net_admin=eip) %attr(755,root,root) %{_bindir}/telephony-daemon.tv
 %{_unitdir}/telephony-daemon.service.tv.ivi
+%license LICENSE
 
 %files profile_ivi
 %caps(cap_net_admin=eip) %attr(755,root,root) %{_bindir}/telephony-daemon.ivi
 %{_unitdir}/telephony-daemon.service.tv.ivi
+%license LICENSE