Add go-toolset subpackage to ensure golang and go-toolset are published together

Resolves: rhbz#2117248
This commit is contained in:
Carl George 2022-10-04 15:23:47 -05:00
parent 144ef74a0e
commit 7d468ec54a

View File

@ -102,7 +102,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
@ -240,6 +240,16 @@ Requires: %{name} = %{version}-%{release}
%{summary}
%endif
%package -n go-toolset
Summary: Package that installs go-toolset
Requires: %{name} = %{version}-%{release}
%ifarch x86_64
Requires: delve
%endif
%description -n go-toolset
This is the main package for go-toolset.
%prep
%setup -q -n go-go%{version}
@ -520,7 +530,13 @@ cd ..
%files -f go-shared.list shared
%endif
%files -n go-toolset
%changelog
* Fri Jun 09 2023 Carl George <carl@redhat.com> - 1.20.4-2
- Add go-toolset subpackage to ensure golang and go-toolset are published together
- Resolves: rhbz#2117248
* Mon May 29 2023 Alejandro Sáez <asm@redhat.com> - 1.20.4-1
- Rebase to Go 1.20.4
- Resolves: rhbz#2204477