From 0decdf30211db03bf0d532035c11fbcc75aa3ea7c41f864063158ed7bd328a0c Mon Sep 17 00:00:00 2001 From: Jeff Kowalczyk Date: Mon, 1 Apr 2024 13:01:38 +0000 Subject: [PATCH] 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 --- caddy.changes | 5 +++++ caddy.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/caddy.changes b/caddy.changes index 7947dbc..e40da4a 100644 --- a/caddy.changes +++ b/caddy.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Mar 31 12:39:10 UTC 2024 - Bernhard Wiedemann + +- Fix --no-check build + ------------------------------------------------------------------- Tue Feb 6 13:22:22 UTC 2024 - Jeff Kowalczyk diff --git a/caddy.spec b/caddy.spec index a9ca918..7709ae6 100644 --- a/caddy.spec +++ b/caddy.spec @@ -66,8 +66,6 @@ go build ./cmd/%{name} # execute the binary as a basic check ./%{name} --help -%sysusers_generate_pre %{SOURCE7} %{name} %{name}.conf - %install install -d %{buildroot}/%{_sbindir} 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 %{SOURCE6} %{buildroot}%{_datadir}/zsh/site-functions/_%{name} +%sysusers_generate_pre %{SOURCE7} %{name} %{name}.conf + %pre -f %{name}.pre %service_add_pre %{name}.service