summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2017-04-03 13:35:55 +0900
committerSung-Jin Park <sj76.park@samsung.com>2017-04-03 13:35:55 +0900
commit253c7a0b952dd53135827a9fcef35dfa362be65d (patch)
tree6be4954c0a3509606fe68d7bb356789983f265bc
parentae1c7ecfc971330a8433e1a9e9663c6f4d66c72b (diff)
downloadxkb-tizen-data-tizen.tar.gz
xkb-tizen-data-tizen.tar.bz2
xkb-tizen-data-tizen.zip
packaging: update packaging file to install license file via %license macrotizen
Change-Id: I78ceec72c71d34a391cb53f8b6ac55c46a4497c1 Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
-rw-r--r--packaging/xkb-tizen-data.spec6
1 files changed, 1 insertions, 5 deletions
diff --git a/packaging/xkb-tizen-data.spec b/packaging/xkb-tizen-data.spec
index e4bf698..0af175f 100644
--- a/packaging/xkb-tizen-data.spec
+++ b/packaging/xkb-tizen-data.spec
@@ -31,17 +31,13 @@ rm -rf %{buildroot}
%__cp -f xkb/tizen_key_layout.txt %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt.mobile
%__cp -f xkb/xkb.rule %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule.mobile
-# for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
%pre
%postun
%files
%manifest %{name}.manifest
+%license COPYING
%defattr(-,root,root,-)
-%{TZ_SYS_RO_SHARE}/license/%{name}
%{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt.mobile
%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule.mobile