diff options
Diffstat (limited to 'golang.spec')
-rw-r--r-- | golang.spec | 194 |
1 files changed, 15 insertions, 179 deletions
diff --git a/golang.spec b/golang.spec index 54f338b..c7e3cff 100644 --- a/golang.spec +++ b/golang.spec @@ -2,8 +2,8 @@ %global _binaries_in_noarch_packages_terminate_build 0 %global golibdir %{_libdir}/golang %global goroot /usr/lib/%{name} -%global go_api 1.24 -%global go_version 1.24 +%global go_api 1.22 +%global go_version 1.22 %global __spec_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot /usr/lib/rpm/brp-compress %global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$ %global __strip /bin/true @@ -67,8 +67,8 @@ %endif Name: golang -Version: 1.24.2 -Release: 36 +Version: 1.22.12 +Release: 1 Summary: The Go Programming Language License: BSD and Public Domain URL: https://golang.org/ @@ -77,7 +77,7 @@ Source0: https://dl.google.com/go/go%{version}.src.tar.gz %if !%{golang_bootstrap} BuildRequires: gcc-go >= 5 %else -BuildRequires: golang >= 1.22.6 +BuildRequires: golang %endif BuildRequires: hostname # for tests @@ -125,15 +125,15 @@ Obsoletes: %{name}-vim < 1.4 Obsoletes: emacs-%{name} < 1.4 Requires: %{vendor}-rpm-config -Patch1000: 1000-all-implement-plugin-build-mode-for-riscv64.patch -Patch1001: 1001-cmd-link-cmd-internal-add-R_GOT_PCREL_ITYPE_RELOC-fo.patch -Patch1002: 1002-cmd-compile-don-t-merge-symbols-on-riscv64-when-dyna.patch -Patch1003: 1003-CVE-2025-22874-crypto-x509-decouple-key-usage-and-po.patch -Patch1004: 1004-CVE-2025-4673-net-http-strip-sensitive-proxy-headers.patch -Patch1005: 1005-CVE-2025-47907-avoid-closing-rows.patch -Patch1006: 1006-CVE-2025-4674-disable-support-for-multiple-vcs-in-one-module.patch +#Patch1000: 1000-all-implement-plugin-build-mode-for-riscv64.patch +#Patch1001: 1001-cmd-link-cmd-internal-add-R_GOT_PCREL_ITYPE_RELOC-fo.patch +#Patch1002: 1002-cmd-compile-don-t-merge-symbols-on-riscv64-when-dyna.patch +#Patch1003: 1003-CVE-2025-22874-crypto-x509-decouple-key-usage-and-po.patch +#Patch1004: 1004-CVE-2025-4673-net-http-strip-sensitive-proxy-headers.patch +#Patch1005: 1005-CVE-2025-47907-avoid-closing-rows.patch +#Patch1006: 1006-CVE-2025-4674-disable-support-for-multiple-vcs-in-one-module.patch -Patch9001: 0001-fix-asan_test-test-case-failure.patch +#Patch9001: 0001-fix-asan_test-test-case-failure.patch ExclusiveArch: %{golang_arches} @@ -372,169 +372,5 @@ fi %files devel -f go-tests.list -f go-misc.list -f go-src.list %changelog -* Fri Aug 22 2025 yujingbo <yujingbo@kylinos.cn> - 1.24.2-36 -- Type:CVE -- CVE:CVE-2025-4674 -- SUG:NA -- DESC:fix CVE-2025-4674 - -* Tue Aug 12 2025 weidong <weidong@uniontech.com> - 1.24.2-35 -- Type:CVE -- CVE:CVE-2025-47907 -- SUG:NA -- DESC:fix CVE-2025-47907 - -* Fri Jun 20 2025 wujichao <wujichao1@huawei.com> - 1.24.2-34 -- Type:CVE -- CVE:CVE-2025-22874,CVE-2025-4673 -- SUG:NA -- DESC:fix CVE-2025-22874,CVE-2025-4673 - -* Thu Apr 17 2025 Suyun <ziyu.oerv@isrc.iscas.ac.cn> - 1.24.2-33 -- Update to 1.24.2 - -* Mon Apr 07 2025 Suyun <ziyu.oerv@isrc.iscas.ac.cn> - 1.23.7-33 -- Increase GO_TEST_TIMEOUT_SCALE to fix tests on riscv64 - -* Tue Mar 25 2025 Suyun <ziyu.oerv@isrc.iscas.ac.cn> - 1.23.7-32 -- Update to 1.23.7 -- Backport several patches for riscv64 - -* Fri Mar 14 2025 changtao <changtao@kylinos.cn> - 1.21.4-32 -- Type:CVE -- CVE:CVE-2025-22870 -- SUG:NA -- DESC:fix CVE-2025-22870 - -* Wed Feb 19 2025 hanchao <hanchao63@huawei.com> - 1.21.4-31 -- Type:CVE -- CVE:CVE-2024-45336,CVE-2024-45341 -- SUG:NA -- DESC:fix CVE-2024-45336,CVE-2024-45341 - -* Sun Jan 26 2025 Vanient <xiadanni1@huawei.com> - 1.21.4-30 -- Type:bugfix -- CVE:NA -- SUG:NA -- DESC: allow update of system stack bounds on callback from C thread - -* Thu Jan 16 2025 wangshuo <wangshuo@kylinos.cn> - 1.21.4-29 -- Type:bugfix -- ID:NA -- SUG:NA -- DESC:crypto/tls: fix Config.Time in tests using expired certificates - -* Fri Dec 06 2024 Vanient <xiadanni1@huawei.com> - 1.21.4-28 -- Type:bugfix -- CVE:NA -- SUG:NA -- DESC:add race annotations in IncNonDefault - -* Thu Dec 05 2024 hewenliang <314264452@qq.com> - 1.21.4-27 -- Type:bugfix -- CVE:NA -- SUG:NA -- DESC:put ReadMemStats debug assertions behind a double-check mode - -* Mon Nov 18 2024 Vanient <xiadanni1@huawei.com> - 1.21.4-26 -- runtime: add the disablethp GODEBUG setting - -* Tue Nov 5 2024 wangshuo <wangshuo@kylinos.cn> - 1.21.4-25 -- Type:CVE -- CVE:CVE-2024-34158 -- SUG:NA -- DESC:fix CVE-2024-34158 - -* Mon Nov 04 2024 wangshuo <wangshuo@kylinops.cn> - 1.21.4-24 -- Type:CVE -- CVE:CVE-2024-34156 -- SUG:NA -- DESC:fix CVE-2024-34156 -- optimize the names of the first two patch files - -* Thu Oct 10 2024 EulerOSWander <314264452@qq.com> - 1.21.4-23 -- runtime/pprof: fix generics functions names - -*Sat Oct 5 2024 Yu Peng <yupeng@kylinos.cn> - 1.21.4-22 -- fix CVE-2024-34155 - -* Thu Sep 19 2024 Vanient <xiadanni1@huawei.com> - 1.21.4-21 -- cmd/compile: fix escape analysis of string min/max - -* Thu Aug 1 2024 EulerOSWander <314264452@qq.com> - 1.21.4-20 -- cmd/compile: fix findIndVar so it does not match disjointed loop headers - -* Thu Aug 1 2024 EulerOSWander <314264452@qq.com> - 1.21.4-19 -- runtime: call enableMetadataHugePages and its callees on the systemstack - -* Thu Aug 1 2024 EulerOSWander <314264452@qq.com> - 1.21.4-18 -- internal/poll:add SPLICE_F_NONBLOCK flag for splice to avoid insonsistency with O_NONBLOCK - -* Mon Jul 30 2024 jingxiaolu <lujingxiao@huawei.com> - 1.21.4-17 -- cmd/compile: ensure pointer arithmetic happens after the nil check - -* Mon Jul 30 2024 jingxiaolu <lujingxiao@huawei.com> - 1.21.4-16 -- cmd/compile: handle constant pointer offsets in dead store elimination - -* Mon Jul 29 2024 EulerOSWander <314264452@qq.com> - 1.21.4-15 -- fix send correct lastStreamID in stream-caused GOAWAY - -* Wed Jul 03 2024 kywqs <weiqingsong@kylinos.cn.com> - 1.21.4-14 -- fix CVE-2024-24791 - -* Sun Jun 23 2024 hanchao <hanchao63@huawei.com> - 1.21.4-13 -- Type:CVE -- CVE:CVE-2023-39326,CVE-2024-24789 -- SUG:NA -- DESC:fix CVE-2023-39326,CVE-2024-24789 - -* Fri Jun 21 2024 EulerOSWander <314264452@qq.com> - 1.21.4-12 -- fix CVE-2023-45285 - -* Thu Jun 13 2024 Zhao Mengmeng <zhaomengmeng@kylinos.cn> - 1.21.4-11 -- fix CVE-2024-24790 - -* Tue Jun 11 2024 chenguoqi <chenguoqi@loongson.cn> - 1.21.4-10 -- Fix missing go.env file - -* Thu May 23 2024 <314264452@qq.com> - 1.21.4-9 -- fix CVE-2024-24787 - -* Thu Apr 18 2024 Huang Yang <huangyang@loongson.cn> - 1.21.4-8 -- enable external_linker and cgo on loongarch64 - -* Tue Apr 16 2024 hanchao <hanchao63@huawei.com> - 1.21.4-7 -- fix CVE-2023-45288 - -* Thu Mar 28 2024 hanchao <hanchao63@huawei.com> - 1.21.4-6 -- fix CVE-2024-24784 - -* Thu Mar 28 2024 hanchao <hanchao63@huawei.com> - 1.21.4-5 -- enabling the patches - -* Tue Mar 26 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.21.4-4 -- fix build error for loongarch64 - -* Fri Mar 15 2024 hanchao <hanchao63@huawei.com> - 1.21.4-3 -- fix CVE-2024-24783,CVE-2024-24785,CVE-2023-45290,CVE-2023-45289 - -* Wed Dec 13 2023 jiahua.yu <jiahua.yu@shingroup.cn> - 1.21.4-2 -- init support for arch ppc64le - -* Tue Dec 5 2023 hanchao <hanchao63@huawei.com> - 1.21.4-1 -- upgrade to 1.21.4 - -* Thu Aug 24 2023 wanglimin <wanglimin@xfusion.com> - 1.20.7-2 -- permit invalid host header for docker - -* Mon Aug 7 2023 Funda Wang <fundawang@yeah.net> - 1.20.7-1 -- New version 1.20.7 - -* Sun Jul 30 2023 Funda Wang <fundawang@yeah.net> - 1.20.5-3 -- Use local proxy and sumdb for speed up - -* Tue Jul 11 2023 hanchao <sunchendong@xfusion.com> - 1.20.5-2 -- fix CVE-2023-29406 - -* Wed Jun 21 2023 hanchao <hanchao63@huawei.com> - 1.20.5-1 -- upgrade to 1.20.5 +* Fri Aug 29 2025 tzing_t <tzing0013@gmail.com> - 1.22.12-1 +- Update to version 1.22.12 |