From d5ab1233d181e3dd07a3e7c5ef257492ea2f47a1 Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 22 Mar 2017 17:38:35 +0900 Subject: [PATCH] packaging: update packaging file to install license file via %license macro Change-Id: Idaf81d6ded6490e056625e34c37d8df90b78e59d Signed-off-by: Sung-Jin Park --- packaging/e-mod-tizen-keyrouter.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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} -- 2.34.1