Update to Go 1.21.10
Resolves: RHEL-36993
This commit is contained in:
parent
ac2304cf1d
commit
67cacfdf55
2
.gitignore
vendored
2
.gitignore
vendored
@ -16,3 +16,5 @@ SOURCES/go1.19.4.tar.gz
|
|||||||
/go1.21.7-1-openssl-fips.tar.gz
|
/go1.21.7-1-openssl-fips.tar.gz
|
||||||
/go1.21.9.tar.gz
|
/go1.21.9.tar.gz
|
||||||
/go1.21.9-1-openssl-fips.tar.gz
|
/go1.21.9-1-openssl-fips.tar.gz
|
||||||
|
/go1.21.10.tar.gz
|
||||||
|
/go1.21.10-1-openssl-fips.tar.gz
|
||||||
|
16
golang.spec
16
golang.spec
@ -92,7 +92,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global go_api 1.21
|
%global go_api 1.21
|
||||||
%global version 1.21.9
|
%global version 1.21.10
|
||||||
%global pkg_release 1
|
%global pkg_release 1
|
||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
@ -145,7 +145,6 @@ Patch1939923: skip_test_rhbz1939923.patch
|
|||||||
|
|
||||||
Patch2: disable_static_tests_part1.patch
|
Patch2: disable_static_tests_part1.patch
|
||||||
Patch3: disable_static_tests_part2.patch
|
Patch3: disable_static_tests_part2.patch
|
||||||
Patch4: skip-test-overlong-message.patch
|
|
||||||
Patch5: modify_go.env.patch
|
Patch5: modify_go.env.patch
|
||||||
|
|
||||||
# Having documentation separate was broken
|
# Having documentation separate was broken
|
||||||
@ -243,9 +242,12 @@ Requires: %{name} = %{version}-%{release}
|
|||||||
pushd ..
|
pushd ..
|
||||||
tar -xf %{SOURCE1}
|
tar -xf %{SOURCE1}
|
||||||
popd
|
popd
|
||||||
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/000-initial-setup.patch
|
patch_dir="../go-go%{version}-%{pkg_release}-openssl-fips/patches"
|
||||||
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/001-initial-openssl-for-fips.patch
|
# Add --no-backup-if-mismatch option to avoid creating .orig temp files
|
||||||
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/002-strict-fips-runtime-detection.patch
|
for p in "$patch_dir"/*.patch; do
|
||||||
|
echo "Applying $p"
|
||||||
|
patch -p1 --no-backup-if-mismatch < $p
|
||||||
|
done
|
||||||
|
|
||||||
# Configure crypto tests
|
# Configure crypto tests
|
||||||
pushd ../go-go%{version}-%{pkg_release}-openssl-fips
|
pushd ../go-go%{version}-%{pkg_release}-openssl-fips
|
||||||
@ -518,6 +520,10 @@ cd ..
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 23 2024 David Benoit <dbenoit@redhat.com> - 1.21.10
|
||||||
|
- Update to Go 1.21.10
|
||||||
|
- Resolves: RHEL-36993
|
||||||
|
|
||||||
* Fri Apr 12 2024 David Benoit <dbenoit@redhat.com> - 1.21.9-1
|
* Fri Apr 12 2024 David Benoit <dbenoit@redhat.com> - 1.21.9-1
|
||||||
- Fix CVE-2023-45288
|
- Fix CVE-2023-45288
|
||||||
- Resolves: RHEL-31915
|
- Resolves: RHEL-31915
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (go1.21.9.tar.gz) = b254b8117141162ee9fd603b12df30d543da0eb43227505f4a6fab97593eb1411ff8908f6d5dbc7ab814f8f315ecdf8cf6c86c1d4571a23302a0fc700a160782
|
SHA512 (go1.21.10.tar.gz) = 029d5fceef24d6044c86d97605c066cf7ba632c984e33efe2eed1ea569ac2cd90d6a8d94622a827412a85be055668189fe66b9309669fcdddb46fdd3ffaef09b
|
||||||
SHA512 (go1.21.9-1-openssl-fips.tar.gz) = db406db14b3987c625c4daceabf85ca862710f397df326fe2b169a9012414d962215692b39122334bcab2b8807655c3b80cd97859c31c329892ee073b410bd08
|
SHA512 (go1.21.10-1-openssl-fips.tar.gz) = 3bc8390ddaddbff79c323a400a2615fd89f4a3e73858a4c5f2cd1988c129e8a5beb64f7f38e6271dd9bc209dc800f41c6a01e5fcee47192448bcfc58e69c5030
|
||||||
|
Loading…
Reference in New Issue
Block a user