summaryrefslogtreecommitdiff
path: root/packaging/system-plugin-slp.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/system-plugin-slp.spec')
-rwxr-xr-xpackaging/system-plugin-slp.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/system-plugin-slp.spec b/packaging/system-plugin-slp.spec
index e8cebb2..f9f03dd 100755
--- a/packaging/system-plugin-slp.spec
+++ b/packaging/system-plugin-slp.spec
@@ -39,6 +39,9 @@ ln -s ../resize2fs-root.service %{buildroot}/%{_libdir}/systemd/system/local-fs.
mkdir -p %{buildroot}/lib/modules
+mkdir -p %{buildroot}/usr/share/license
+cp -f LICENSE %{buildroot}/usr/share/license/%{name}
+
%files
/bin/with-dev-root-do
/etc/fstab
@@ -56,3 +59,4 @@ mkdir -p %{buildroot}/lib/modules
/usr/lib/systemd/system/local-fs.target.wants/*.mount
/usr/lib/systemd/system/local-fs.target.wants/resize2fs-root.service
/lib/modules
+/usr/share/license/%{name}