Add license file into rpm package tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.062927
authorJae-young Hwang <j-zero.hwang@samsung.com>
Mon, 23 Sep 2013 11:05:17 +0000 (20:05 +0900)
committerJae-young Hwang <j-zero.hwang@samsung.com>
Mon, 23 Sep 2013 11:05:17 +0000 (20:05 +0900)
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 <j-zero.hwang@samsung.com>
packaging/udhcp.spec

index 61a2e3b..a63ecfc 100644 (file)
@@ -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