SHA256
1
0
forked from pool/caddy

Accepting request 1163784 from home:bmwiedemann:branches:server:http

Fix --no-check build

OBS-URL: https://build.opensuse.org/request/show/1163784
OBS-URL: https://build.opensuse.org/package/show/server:http/caddy?expand=0&rev=46
This commit is contained in:
Jeff Kowalczyk 2024-04-01 13:01:38 +00:00 committed by Git OBS Bridge
parent 75bea2c98f
commit 0decdf3021
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Mar 31 12:39:10 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Fix --no-check build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 6 13:22:22 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com> Tue Feb 6 13:22:22 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>

View File

@ -66,8 +66,6 @@ go build ./cmd/%{name}
# execute the binary as a basic check # execute the binary as a basic check
./%{name} --help ./%{name} --help
%sysusers_generate_pre %{SOURCE7} %{name} %{name}.conf
%install %install
install -d %{buildroot}/%{_sbindir} install -d %{buildroot}/%{_sbindir}
install -D -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name} install -D -p -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
@ -90,6 +88,8 @@ install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/%{name}/index.html
install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_datadir}/bash-completion/completions/%{name} install -D -p -m 0644 %{SOURCE5} %{buildroot}%{_datadir}/bash-completion/completions/%{name}
install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_datadir}/zsh/site-functions/_%{name} install -D -p -m 0644 %{SOURCE6} %{buildroot}%{_datadir}/zsh/site-functions/_%{name}
%sysusers_generate_pre %{SOURCE7} %{name} %{name}.conf
%pre -f %{name}.pre %pre -f %{name}.pre
%service_add_pre %{name}.service %service_add_pre %{name}.service