use %license macro to copy the COPYING file.
[platform/core/uifw/e-mod-tizen-eom.git] / packaging / e-mod-tizen-eom.spec
index 699c23f..f2b7a25 100644 (file)
@@ -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