Add License file into rpm package tizen_2.2 2.2.1_release submit/tizen_2.2/20131107.055418
authorSangjung Woo <sangjung.woo@samsung.com>
Mon, 23 Sep 2013 02:43:27 +0000 (11:43 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Mon, 23 Sep 2013 02:43:27 +0000 (11:43 +0900)
This work adds the License file into the RPM package due to Joohyeon
Yun's(juhyeon.yun) request.

Change-Id: If3bf49c5a3dba90fcf9936a78b2c75a7fb63a2ea
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
packaging/busybox.spec

index 7118c90..62f6055 100755 (executable)
@@ -654,6 +654,10 @@ do
        done;
 done
 
+#License flie
+mkdir -p %{buildroot}/usr/share/license
+cp LICENSE %{buildroot}/usr/share/license/%{name} 
+
 %files
 %defattr(-,root,root,-)
 %manifest %{name}.manifest
@@ -795,6 +799,10 @@ done
 /usr/lib/systemd/system/multi-user.target.wants/syslog.service
 /usr/lib/systemd/system/multi-user.target.wants/klog.service
 
+#License
+/usr/share/license/%{name}
+
+
 %files docs
 %doc LICENSE docs/busybox.net/*.html