From 9878a4df83e3e3ce742d1ef15465fd3ea664453b Mon Sep 17 00:00:00 2001 From: Sung-Jin Park Date: Wed, 22 Mar 2017 18:28:16 +0900 Subject: [PATCH] packaging: update packaging file to install license file via %license macro Change-Id: I692641824a9bcd83c68e2371baedf9ad2378ebf0 Signed-off-by: Sung-Jin Park --- packaging/e-mod-tizen-effect.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packaging/e-mod-tizen-effect.spec b/packaging/e-mod-tizen-effect.spec index 11cefa6..b402e19 100644 --- a/packaging/e-mod-tizen-effect.spec +++ b/packaging/e-mod-tizen-effect.spec @@ -38,10 +38,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,7 +47,7 @@ find %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm %files %defattr(-,root,root,-) +%license COPYING %{_libdir}/enlightenment/modules/e-mod-tizen-effect %{_datadir}/enlightenment/data/themes -%{TZ_SYS_RO_SHARE}/license/%{name} -- 2.7.4