summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)