aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/rpm/meshbay-node.spec
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/rpm/meshbay-node.spec')
-rw-r--r--packaging/rpm/meshbay-node.spec4
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/rpm/meshbay-node.spec b/packaging/rpm/meshbay-node.spec
index 89f3a0a..18d432e 100644
--- a/packaging/rpm/meshbay-node.spec
+++ b/packaging/rpm/meshbay-node.spec
@@ -2,7 +2,7 @@ Name: meshbay-node
Version: __VERSION__
Release: 1%{?dist}
Summary: MeshBay Node — local file host, streaming server, and group daemon
-License: AGPLv3+
+License: AGPL-3.0-or-later
URL: https://meshbay.org
AutoReqProv: no
@@ -29,6 +29,7 @@ Runs as a systemd user service.
%install
cp -a %{_staging_root}/* %{buildroot}/
+install -Dm644 -t %{buildroot}%{_licensedir}/%{name} %{_repo_root}/LICENSE
%post
if [ -d /run/systemd/system ]; then
@@ -90,6 +91,7 @@ if [ "$1" -eq 0 ]; then
fi
%files
+%license %{_licensedir}/%{name}
/opt/meshbay-node
/opt/meshbay-common/venv/lib/python*/site-packages/meshbay_node/
/opt/meshbay-common/venv/lib/python*/site-packages/meshbay_node-*.dist-info/