Skip to content

Commit 16b5863

Browse files
andy-vmandy.peng
andauthored
update golang build requires (open-edge-platform#754)
Co-authored-by: andy.peng <andypeng@pglgull002.png.intel.com>
1 parent a44aa81 commit 16b5863

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

SPECS/caddy/caddy.spec

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Summary: Web server with automatic HTTPS
44
Name: caddy
55
Version: 2.9.1
6-
Release: 18%{?dist}
6+
Release: 19%{?dist}
77
Distribution: Edge Microvisor Toolkit
88
Vendor: Intel Corporation
99
# main source code is Apache-2.0
@@ -36,8 +36,7 @@ Patch7: CVE-2025-61729.patch
3636
Patch8: CVE-2025-47913.patch
3737
Patch9: CVE-2025-47914.patch
3838
# https://github.com/caddyserver/caddy/commit/2028da4e74cd41f0f7f94222c6599da1a371d4b8
39-
BuildRequires: golang >= 1.24.4
40-
BuildRequires: golang < 1.25
39+
BuildRequires: golang >= 1.25.5
4140
# dario.cat/mergo : BSD-3-Clause
4241
Provides: bundled(golang(dario.cat/mergo)) = 1.0.1
4342
# filippo.io/edwards25519 : BSD-3-Clause
@@ -340,6 +339,7 @@ mkdir -p src/$(dirname %{goipath})
340339
ln -s $PWD src/%{goipath}
341340

342341
%build
342+
export GOEXPERIMENT=nosystemcrypto
343343
export GO111MODULE=off
344344
export GOPATH=$PWD
345345
CGO_ENABLED=0 go build -trimpath -gcflags=-l -ldflags="-X %{goipath}.CustomVersion=v%{version}" -o bin/caddy %{goipath}/cmd/caddy
@@ -457,6 +457,9 @@ fi
457457
%{_datadir}/fish/vendor_completions.d/caddy.fish
458458

459459
%changelog
460+
* Fri Feb 13 2026 Andy <andy.peng@intel.com> - 2.9.1-19
461+
- Update BuildRequires for golang
462+
460463
* Fri Jan 23 2026 Shalini Singhal <shalinix.singhal@intel.com> - 2.9.1-18
461464
- Include patch for CVE-2025-47913, CVE-2025-41914
462465

0 commit comments

Comments
 (0)