packaging: update packaging file to install license file via %license macro 64/122564/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170404.142829 accepted/tizen/ivi/20170404.060923 accepted/tizen/mobile/20170404.060902 accepted/tizen/tv/20170404.060913 accepted/tizen/unified/20170404.060934 accepted/tizen/wearable/20170404.060918 submit/tizen/20170404.012140
authorSung-Jin Park <sj76.park@samsung.com>
Mon, 3 Apr 2017 04:13:01 +0000 (13:13 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Mon, 3 Apr 2017 04:13:01 +0000 (13:13 +0900)
Change-Id: Idfc5d697506b78d8fa4c05d2e28d709e4665cf45
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
packaging/xkeyboard-config.spec

index 0c24670..d445f9b 100644 (file)
@@ -86,11 +86,6 @@ install -m 0700 make_keycodes.sh %{buildroot}%{_bindir}/
 install -m 0700 remove_unused_files.sh %{buildroot}%{_bindir}/
 install -m 0700 remove_symbols.sh %{buildroot}%{_bindir}/
 
-#for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
-
 # DO the optimization at RPM install, not at build
 %post
 mkdir -p /tmp/xkeyboard-config-install
@@ -124,10 +119,10 @@ popd
 
 %files -f %{name}.lang
 %manifest %{name}.manifest
+%license COPYING
 %defattr(-,root,root)
 %doc AUTHORS README docs/HOWTO.* docs/README.*
 %dir %{_localstatedir}/lib/xkb/compiled
-%{TZ_SYS_RO_SHARE}/license/%{name}
 %{_datadir}/pkgconfig/*.pc
 %{_datadir}/X11/xkb/
 %{_bindir}/cache