Add license file into rpm package tizen_2.2 2.2.1_release submit/tizen_2.2/20131029.075716
authorJae-young Hwang <j-zero.hwang@samsung.com>
Wed, 25 Sep 2013 08:29:16 +0000 (17:29 +0900)
committerJae-young Hwang <j-zero.hwang@samsung.com>
Wed, 25 Sep 2013 08:29:16 +0000 (17:29 +0900)
License file must be included in Tizen SDK release binary
because Tizen SDK license is deleted.

Change-Id: Ibff6698039311c406d6bfaf51a76236ac64cb323
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
packaging/util-linux.spec

index bbf4d99..f789354 100644 (file)
@@ -191,6 +191,10 @@ do
        done;
 done
 
+# license
+mkdir -p %{buildroot}/usr/share/license
+cp COPYING %{buildroot}/usr/share/license/%{name}
+
 %post
 # only for minimal buildroots without /var/log
 [ -d /var/log ] || /bin/mkdir -p /var/log
@@ -213,6 +217,9 @@ done
 
 %docs_package
 
+%files
+/usr/share/license/%{name}
+
 %files  -f util-linux.files
 %manifest util-linux.manifest
 %defattr(-,root,root)