From: SooChan Lim Date: Wed, 22 Mar 2017 06:09:24 +0000 (+0900) Subject: use %license macro to copy the COPYING file. X-Git-Tag: tizen_4.0.IoT.p1_release X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Ftizen_4.0.IoT.p1_release;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-eom.git use %license macro to copy the COPYING file. Change-Id: I7428a421fb634e9ab8038bc989b7ef62ae7c3c27 --- diff --git a/packaging/e-mod-tizen-eom.spec b/packaging/e-mod-tizen-eom.spec index 699c23f..f2b7a25 100644 --- a/packaging/e-mod-tizen-eom.spec +++ b/packaging/e-mod-tizen-eom.spec @@ -48,10 +48,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} @@ -62,4 +58,4 @@ find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.a | xargs rm %files %defattr(-,root,root,-) %{_libdir}/enlightenment/modules/e-mod-tizen-eom -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING