Add RHEL release information to Go version output

Resolves: RHEL-19493
This commit is contained in:
Alejandro Sáez 2023-11-30 14:00:13 +01:00
parent 7109b38dc3
commit 327b3e2c7d

View File

@ -99,7 +99,7 @@
Name: golang
Version: %{version}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: The Go Programming Language
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
License: BSD and Public Domain
@ -265,6 +265,8 @@ popd
%autopatch -p1
sed -i '1s/$/ (%{?rhel:Red Hat} %{version}-%{release})/' VERSION
cp %{SOURCE2} ./src/runtime/
%build
@ -526,6 +528,9 @@ cd ..
%files -n go-toolset
%changelog
* Thu Nov 30 2023 Alejandro Sáez <asm@redhat.com> - 1.21.4-2
- Add release information
* Tue Nov 14 2023 Alejandro Sáez <asm@redhat.com> - 1.21.4-1
- Rebase to Go 1.21.4
- Resolves: RHEL-11871