From 9e592ea7510baaf95d6533f1a17540e043ffa9ba Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 22 Mar 2017 15:09:24 +0900 Subject: [PATCH] use %license macro to copy the COPYING file. Change-Id: I7428a421fb634e9ab8038bc989b7ef62ae7c3c27 --- packaging/e-mod-tizen-eom.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.7.4