Skip to content

Commit

Permalink
golang: support v1.22 and v1.23 (#10654)
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Falak R Wani <[email protected]>
  • Loading branch information
mfrw authored Nov 1, 2024
1 parent 6836510 commit d1598f3
Show file tree
Hide file tree
Showing 14 changed files with 437 additions and 26 deletions.
2 changes: 1 addition & 1 deletion LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions LICENSES-AND-NOTICES/SPECS/data/licenses.json
Original file line number Diff line number Diff line change
Expand Up @@ -2713,6 +2713,7 @@
"gnutls",
"gobject-introspection",
"golang",
"golang-1.22",
"gperf",
"gperftools",
"gpgme",
Expand Down
7 changes: 5 additions & 2 deletions SPECS/containerd/containerd.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Summary: Industry-standard container runtime
Name: containerd
Version: 1.7.13
Release: 3%{?dist}
Release: 4%{?dist}
License: ASL 2.0
Group: Tools/Container
URL: https://www.containerd.io
Expand All @@ -22,7 +22,7 @@ Patch3: CVE-2023-47108.patch
%{?systemd_requires}

BuildRequires: git
BuildRequires: golang
BuildRequires: golang < 1.23
BuildRequires: go-md2man
BuildRequires: make
BuildRequires: systemd-rpm-macros
Expand Down Expand Up @@ -87,6 +87,9 @@ fi
%dir /opt/containerd/lib

%changelog
* Tue Oct 15 2024 Muhammad Falak <[email protected]> - 1.7.13-4
- Pin golang version to <= 1.22

* Wed Jun 26 2024 Nicolas Guibourge <[email protected]> - 1.7.13-3
- Address CVE-2023-44487 and CVE-2023-47108

Expand Down
7 changes: 5 additions & 2 deletions SPECS/gh/gh.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: GitHub official command line tool
Name: gh
Version: 2.43.1
Release: 1%{?dist}
Release: 2%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand All @@ -28,7 +28,7 @@ Source0: https://github.com/cli/cli/archive/refs/tags/v%{version}.tar.gz#
# - For the value of "--mtime" use the date "2021-04-26 00:00Z" to simplify future updates.
Source1: %{name}-%{version}-vendor.tar.gz

BuildRequires: golang >= 1.21.1
BuildRequires: golang < 1.23
BuildRequires: git
Requires: git
%global debug_package %{nil}
Expand Down Expand Up @@ -70,6 +70,9 @@ make test
%{_datadir}/zsh/site-functions/_gh

%changelog
* Tue Oct 15 2024 Muhammad Falak <[email protected]> - 2.43.1-2
- Pin golang version to <= 1.22

* Mon Feb 26 2024 Neha Agarwal <[email protected]> - 2.43.1-1
- Update to v2.43.1

Expand Down
8 changes: 8 additions & 0 deletions SPECS/golang/golang-1.22.signatures.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Signatures": {
"go.20230802.5.src.tar.gz": "56b9e0e0c3c13ca95d5efa6de4e7d49a9d190eca77919beff99d33cd3fa74e95",
"go.20240206.2.src.tar.gz": "7982e0011aa9ab95fd0530404060410af4ba57326d26818690f334fdcb6451cd",
"go1.22.7-20240925.5.src.tar.gz": "6577057080f0d61f9b7b1c5e3a029c8a24f8c4b38a91a497115ecd259bd987ab",
"go1.4-bootstrap-20171003.tar.gz": "f4ff5b5eb3a3cae1c993723f3eab519c5bae18866b5e5f96fe1102f0cb5c3e52"
}
}
Loading

0 comments on commit d1598f3

Please sign in to comment.