From 43dd4bb46431912c5db8717c79cda2421ef91007 Mon Sep 17 00:00:00 2001 From: Jae-young Hwang Date: Mon, 23 Sep 2013 20:05:17 +0900 Subject: [PATCH] Add license file into rpm package License file must be included in Tizen SDK release binary because Tizen SDK license is deleted. Change-Id: I9215f9f3bc4ad38f22824567e4dc032f80b2e57c Signed-off-by: Jae-young Hwang --- packaging/udhcp.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packaging/udhcp.spec b/packaging/udhcp.spec index 61a2e3b..a63ecfc 100644 --- a/packaging/udhcp.spec +++ b/packaging/udhcp.spec @@ -61,6 +61,9 @@ cp %{SOURCE1001} . %{make_install} SBINDIR=%{buildroot}/%{_sbindir} mv %{buildroot}/sbin/udhcpc %{buildroot}/%{_bindir} mv %{buildroot}/%{_sbindir}/udhcpd %{buildroot}/%{_bindir} +# license +mkdir -p %{buildroot}/usr/share/license +cp COPYING %{buildroot}/usr/share/license/%{name} %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -72,5 +75,6 @@ mv %{buildroot}/%{_sbindir}/udhcpd %{buildroot}/%{_bindir} %doc %{_mandir}/man?/* %dir %{_datadir}/udhcpc %{_datadir}/udhcpc/* +/usr/share/license/%{name} %changelog -- 2.7.4