summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSung-Jin Park <sj76.park@samsung.com>2017-04-03 13:33:42 +0900
committerSung-Jin Park <sj76.park@samsung.com>2017-04-03 13:33:42 +0900
commit2b14dea885c99c6df643d4fc931bd8ce89494df5 (patch)
treee1f8f4cd8e3584ec1e5868c40c9801e19f725d22
parent1dbc9cacb7a51790199612494e9a685542fb341f (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: I77a703b44388e0eeab59c5248612a32313e6077b 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 43e78b4..dd1f06f 100644
--- a/packaging/xkb-tizen-data.spec
+++ b/packaging/xkb-tizen-data.spec
@@ -62,10 +62,6 @@ rm -rf %{buildroot}
## tizen symbols
%__cp -f new_symbols.txt %{buildroot}/%{TZ_SYS_RO_SHARE}/X11/xkb/new_symbols.txt
-# for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
%pre
if [ -e "%{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt" ]; then
rm %{TZ_SYS_RO_SHARE}/X11/xkb/tizen_key_layout.txt
@@ -119,8 +115,8 @@ fi
%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*
%{TZ_SYS_RO_SHARE}/X11/xkb/xkb.rule*
%{TZ_SYS_RO_SHARE}/X11/xkb/new_symbols.txt