From 1b6fd854d2121c3a9dd101e90eb38450f8447220 Mon Sep 17 00:00:00 2001 From: MinJeong Kim Date: Tue, 6 Jan 2015 16:44:33 +0900 Subject: [PATCH] Packaging with license file Change-Id: I34aa352e64475977367e2821188aae936b5a1f9b Signed-off-by: MinJeong Kim --- packaging/e-mod-tizen-wm-policy.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packaging/e-mod-tizen-wm-policy.spec b/packaging/e-mod-tizen-wm-policy.spec index 0f7cfed..0d3a02a 100644 --- a/packaging/e-mod-tizen-wm-policy.spec +++ b/packaging/e-mod-tizen-wm-policy.spec @@ -24,10 +24,16 @@ The Enlightenment WM Policy Module for Tizen make %{?_smp_mflags} %install +# for license notification +mkdir -p %{buildroot}/usr/share/license +cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/usr/share/license/%{name} + +# install %make_install %files %defattr(-,root,root,-) %{_libdir}/enlightenment/modules/e-mod-tizen-wm-policy +/usr/share/license/%{name} %define _unpackaged_files_terminate_build 0 -- 2.7.4