From 4e238f574ecd23831c984375d8d202bd3b5a01ba Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 22 Mar 2017 18:32:09 +0900 Subject: [PATCH] packaging: update packaging file to install license file via %license macro Change-Id: I4468b7e201aaf2f1ac1f9ae7d0c4bfb6cf2aea99 Signed-off-by: Sung-Jin Park --- packaging/e-mod-tizen-processmgr.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/e-mod-tizen-processmgr.spec b/packaging/e-mod-tizen-processmgr.spec index 3563670..8f0f807 100644 --- a/packaging/e-mod-tizen-processmgr.spec +++ b/packaging/e-mod-tizen-processmgr.spec @@ -40,10 +40,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} @@ -52,5 +48,5 @@ find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm %files %defattr(-,root,root,-) +%license COPYING %{_libdir}/enlightenment/modules/e-mod-tizen-processmgr -%{TZ_SYS_RO_SHARE}/license/%{name} -- 2.7.4