From: SooChan Lim Date: Wed, 22 Mar 2017 07:13:05 +0000 (+0900) Subject: use %license macro to copy the COPYING file. X-Git-Tag: submit/tizen/20170323.101716~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e56dc7fe08b6582fa5041c80196879aab43646d;p=platform%2Fcore%2Fuifw%2Flibtdm.git use %license macro to copy the COPYING file. Change-Id: I66b44ad1d92bf2db69cd7215ae16d5eca309e46e --- diff --git a/packaging/libtdm.spec b/packaging/libtdm.spec index 80d8ac55..7debb4c9 100644 --- a/packaging/libtdm.spec +++ b/packaging/libtdm.spec @@ -79,8 +79,6 @@ make -C ut check %install rm -rf %{buildroot} -mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license -cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} %make_install %__mkdir_p %{buildroot}%{_unitdir} @@ -109,7 +107,7 @@ rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path %files %manifest %{name}.manifest %defattr(-,root,root,-) -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING %{_libdir}/libtdm.so.* %attr(750,root,root) %{_bindir}/tdm-monitor %{_unitdir}/tdm-socket.path @@ -136,7 +134,7 @@ rm -f %{_unitdir_user}/basic.target.wants/tdm-socket-user.path %files client %manifest %{name}.manifest %defattr(-,root,root,-) -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING %{_libdir}/libtdm-client.so.* %files client-devel