fixed service unit dir
This commit is contained in:
parent
8184f9ab0b
commit
ea21426c37
1 changed files with 9 additions and 9 deletions
|
|
@ -23,23 +23,23 @@ MatrixRTC Authorization Service: issues LiveKit JWTs for MatrixRTC clients.
|
||||||
%setup -a1
|
%setup -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go build -trimpath -buildmode=pie -mod=vendor -o %{name} .
|
go build -trimpath -buildmode=pie -mod=vendor -o %name .
|
||||||
|
|
||||||
%check
|
%check
|
||||||
go test -mod=vendor ./...
|
go test -mod=vendor ./...
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -Dpm0755 %name %{buildroot}%{_bindir}/%name
|
install -Dpm0755 %name %buildroot%_bindir/%name
|
||||||
install -dpm0755 %{buildroot}%{_libdir}/systemd/system
|
install -dpm0755 %buildroot%_unitdir
|
||||||
install -Dpm0644 %SOURCE2 %{buildroot}%{_sysconfdir}/systemd/system/%name.service
|
install -Dpm0644 %SOURCE2 %buildroot%_unitdir/%name.service
|
||||||
install -dpm0755 %{buildroot}%{_sysconfdir}/%name
|
install -dpm0755 %buildroot%_sysconfdir/%name
|
||||||
install -Dpm0644 %SOURCE3 %{buildroot}%{_sysconfdir}/%name/%name.env.example
|
install -Dpm0644 %SOURCE3 %buildroot%_sysconfdir/%name/%name.env.example
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md LICENSE LICENSE-COMMERCIAL
|
%doc README.md LICENSE LICENSE-COMMERCIAL
|
||||||
%{_bindir}/%{name}
|
%_bindir/%name
|
||||||
%{_sysconfdir}/systemd/system/%name.service
|
%_unitdir/%name.service
|
||||||
%{_sysconfdir}/%name/%name.env.example
|
%_sysconfdir/%name/%name.env.example
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Feb 23 2026 Romenskiy Arseniy <romenskiy@altlinux.ru> 0.4.1-alt1
|
* Mon Feb 23 2026 Romenskiy Arseniy <romenskiy@altlinux.ru> 0.4.1-alt1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue