summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJae-young Hwang <j-zero.hwang@samsung.com>2013-09-25 17:29:16 +0900
committerJae-young Hwang <j-zero.hwang@samsung.com>2013-09-25 17:29:16 +0900
commit477598b8911e46f93da151966cf490083e5b80bc (patch)
tree9ae4e65c2140457be1ac9c7a29df623195a2ec3e
parentd5fafaf1389241e6c692d466b1907b550aa96375 (diff)
downloadutil-linux-477598b8911e46f93da151966cf490083e5b80bc.tar.gz
util-linux-477598b8911e46f93da151966cf490083e5b80bc.tar.bz2
util-linux-477598b8911e46f93da151966cf490083e5b80bc.zip
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>
-rw-r--r--packaging/util-linux.spec7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/util-linux.spec b/packaging/util-linux.spec
index bbf4d99..f789354 100644
--- a/packaging/util-linux.spec
+++ b/packaging/util-linux.spec
@@ -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)