diff options
Diffstat (limited to 'packaging/rpm/meshbay-hub.spec')
| -rw-r--r-- | packaging/rpm/meshbay-hub.spec | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packaging/rpm/meshbay-hub.spec b/packaging/rpm/meshbay-hub.spec index ffd991a..141f6e6 100644 --- a/packaging/rpm/meshbay-hub.spec +++ b/packaging/rpm/meshbay-hub.spec @@ -2,7 +2,7 @@ Name: meshbay-hub Version: __VERSION__ Release: 1%{?dist} Summary: MeshBay Hub — identity authority and group registry server -License: AGPLv3+ +License: AGPL-3.0-or-later URL: https://meshbay.org AutoReqProv: no @@ -21,6 +21,7 @@ Runs as a systemd service behind Caddy for HTTPS. %install cp -a %{_staging_root}/* %{buildroot}/ +install -Dm644 -t %{buildroot}%{_licensedir}/%{name} %{_repo_root}/LICENSE %pre getent group meshbay >/dev/null || groupadd -r meshbay @@ -51,6 +52,7 @@ fi %systemd_postun_with_restart meshbay-hub.service %files +%license %{_licensedir}/%{name} /opt/meshbay-hub /opt/meshbay-common/venv/lib/python*/site-packages/meshbay_hub/ /opt/meshbay-common/venv/lib/python*/site-packages/meshbay_hub-*.dist-info/ |