fixed env file mentions to use noreplace
This commit is contained in:
parent
ea21426c37
commit
fe558b3f35
3 changed files with 4 additions and 15 deletions
|
|
@ -11,7 +11,7 @@ VCS: https://github.com/element-hq/lk-jwt-service
|
|||
Source: %name-%version.tar
|
||||
Source1: %name-development-%version.tar
|
||||
Source2: %name.service
|
||||
Source3: %name.env.example
|
||||
Source3: %name.env
|
||||
|
||||
BuildRequires: golang >= 1.23
|
||||
Requires: ca-certificates
|
||||
|
|
@ -33,13 +33,13 @@ 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
|
||||
install -Dpm0644 %SOURCE3 %buildroot%_sysconfdir/%name/%name.env
|
||||
|
||||
%files
|
||||
%doc README.md LICENSE LICENSE-COMMERCIAL
|
||||
%_bindir/%name
|
||||
%_unitdir/%name.service
|
||||
%_sysconfdir/%name/%name.env.example
|
||||
%config(noreplace) %_sysconfdir/%name/%name.env
|
||||
|
||||
%changelog
|
||||
* Mon Feb 23 2026 Romenskiy Arseniy <romenskiy@altlinux.ru> 0.4.1-alt1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue