diff --git a/lk-jwt-service.spec b/lk-jwt-service.spec index 0acb84e..ddb7ac2 100644 --- a/lk-jwt-service.spec +++ b/lk-jwt-service.spec @@ -23,23 +23,23 @@ MatrixRTC Authorization Service: issues LiveKit JWTs for MatrixRTC clients. %setup -a1 %build -go build -trimpath -buildmode=pie -mod=vendor -o %{name} . +go build -trimpath -buildmode=pie -mod=vendor -o %name . %check go test -mod=vendor ./... %install -install -Dpm0755 %name %{buildroot}%{_bindir}/%name -install -dpm0755 %{buildroot}%{_libdir}/systemd/system -install -Dpm0644 %SOURCE2 %{buildroot}%{_sysconfdir}/systemd/system/%name.service -install -dpm0755 %{buildroot}%{_sysconfdir}/%name -install -Dpm0644 %SOURCE3 %{buildroot}%{_sysconfdir}/%name/%name.env.example +install -Dpm0755 %name %buildroot%_bindir/%name +install -dpm0755 %buildroot%_unitdir +install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service +install -dpm0755 %buildroot%_sysconfdir/%name +install -Dpm0644 %SOURCE3 %buildroot%_sysconfdir/%name/%name.env.example %files %doc README.md LICENSE LICENSE-COMMERCIAL -%{_bindir}/%{name} -%{_sysconfdir}/systemd/system/%name.service -%{_sysconfdir}/%name/%name.env.example +%_bindir/%name +%_unitdir/%name.service +%_sysconfdir/%name/%name.env.example %changelog * Mon Feb 23 2026 Romenskiy Arseniy 0.4.1-alt1