From: Sung-Jin Park Date: Wed, 22 Mar 2017 08:38:35 +0000 (+0900) Subject: packaging: update packaging file to install license file via %license macro X-Git-Tag: submit/tizen/20170329.085850~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F99%2F120299%2F1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-keyrouter.git packaging: update packaging file to install license file via %license macro Change-Id: Idaf81d6ded6490e056625e34c37d8df90b78e59d Signed-off-by: Sung-Jin Park --- diff --git a/packaging/e-mod-tizen-keyrouter.spec b/packaging/e-mod-tizen-keyrouter.spec index 6a5218f..d30cff6 100644 --- a/packaging/e-mod-tizen-keyrouter.spec +++ b/packaging/e-mod-tizen-keyrouter.spec @@ -39,10 +39,6 @@ make %install rm -rf %{buildroot} -# for license notification -mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license -cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} - # install make install DESTDIR=%{buildroot} @@ -51,5 +47,5 @@ find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm %files %defattr(-,root,root,-) +%license COPYING %{_libdir}/enlightenment/modules/e-mod-tizen-keyrouter -%{TZ_SYS_RO_SHARE}/license/%{name}