summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <s89.jang@samsung.com>2015-12-23 13:39:54 +0900
committerSangyoon Jang <s89.jang@samsung.com>2016-01-05 09:58:01 +0900
commit50c09d28fbe1b37f15558307b12a97ff3a9d30bb (patch)
treed0dc69f31260f283e4e44a08aab2997454761d50
parent611e60eef993d63c747c7ef516e9cf5c9ee010d2 (diff)
downloadwidget-service-50c09d28fbe1b37f15558307b12a97ff3a9d30bb.tar.gz
widget-service-50c09d28fbe1b37f15558307b12a97ff3a9d30bb.tar.bz2
widget-service-50c09d28fbe1b37f15558307b12a97ff3a9d30bb.zip
Install license file using %license field
Change-Id: I86954794f4b89030bee86874f3665f11f6bfc615 Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
-rw-r--r--CMakeLists.txt2
-rw-r--r--packaging/libwidget_service.spec3
2 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04d74d5..b4bf037 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -120,8 +120,6 @@ INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wayland-drm/include/widget_wayland-drm
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/wayland-drm/include/widget_wayland-drm-server-protocol.h DESTINATION include/${PROJECT_NAME})
ENDIF (WAYLAND_SUPPORT)
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME "lib${PROJECT_NAME}")
-
ADD_SUBDIRECTORY(parser)
# End of a file
diff --git a/packaging/libwidget_service.spec b/packaging/libwidget_service.spec
index f288eec..73f37f8 100644
--- a/packaging/libwidget_service.spec
+++ b/packaging/libwidget_service.spec
@@ -90,7 +90,6 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}%{_datarootdir}/license
mkdir -p %{buildroot}%{TZ_SYS_DB}
mkdir -p %{buildroot}%{_sysconfdir}/skel/.applications/dbspace
@@ -108,8 +107,8 @@ chsmack -a "User::Home" %{_sysconfdir}/skel/.applications/dbspace/.widget.db
%files -n %{name}
%manifest %{name}.manifest
%defattr(-,root,root,-)
+%license LICENSE
%{_libdir}/libwidget_service.so*
-%{_datarootdir}/license/libwidget_service
%{_sysconfdir}/package-manager/parserlib/libwidget-application.so
%{_sysconfdir}/skel/.applications/dbspace/.widget.db
%{TZ_SYS_DB}/.widget.db