summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2017-08-23 11:55:35 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2017-08-23 11:55:35 +0900
commit354ee3efc52bf626577f30177cc63a160516bb36 (patch)
tree13bb26a6b07aa721a5c69c684182d9b61522bed9
parentdc1ad6fefd5fa47b96445232f01223ae629b9d97 (diff)
downloadw-clock-viewer-354ee3efc52bf626577f30177cc63a160516bb36.tar.gz
w-clock-viewer-354ee3efc52bf626577f30177cc63a160516bb36.tar.bz2
w-clock-viewer-354ee3efc52bf626577f30177cc63a160516bb36.zip
Change-Id: Ibe9a6b6df8aec134f10f99e08f2360228f91feb5
-rw-r--r--clock-viewer/CMakeLists.txt1
-rw-r--r--packaging/org.tizen.w-clock-viewer.spec4
2 files changed, 1 insertions, 4 deletions
diff --git a/clock-viewer/CMakeLists.txt b/clock-viewer/CMakeLists.txt
index 80b7e20..b5b0617 100644
--- a/clock-viewer/CMakeLists.txt
+++ b/clock-viewer/CMakeLists.txt
@@ -89,7 +89,6 @@ ENDIF()
# Install
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
-INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/LICENSE DESTINATION /usr/share/license RENAME ${PACKAGE_NAME})
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PACKAGE_NAME}.xml.in ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml)
INSTALL(FILES ${CMAKE_BINARY_DIR}/${PACKAGE_NAME}.xml DESTINATION /usr/share/packages)
diff --git a/packaging/org.tizen.w-clock-viewer.spec b/packaging/org.tizen.w-clock-viewer.spec
index 75f55f7..8a3d725 100644
--- a/packaging/org.tizen.w-clock-viewer.spec
+++ b/packaging/org.tizen.w-clock-viewer.spec
@@ -54,8 +54,6 @@ make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/usr/share/license
-
%define tizen_sign 1
%define tizen_sign_base /usr/apps/%{name}
%define tizen_sign_level platform
@@ -76,9 +74,9 @@ vconftool set -t int "memory/clock_viewer/clockdraw" 0 -i -g $INHOUSE_ID -f -s $
%files
%manifest clock-viewer/%{name}.manifest
%defattr(-,root,root,-)
-/usr/share/license/%{name}
/usr/share/packages/%{name}.xml
%{PREFIX}/*.xml
%{PREFIX}/bin/*
%{PREFIX}/res/*
%{PREFIX}/shared/*
+%license LICENSE