Merge remote-tracking branch 'origin/f31' into epel7

Rebase to go1.13.6
This commit is contained in:
Jakub Čajka 2020-02-03 12:41:54 +01:00
commit b61393bfb6
No known key found for this signature in database
GPG Key ID: 48DAAF91F61E4F5D
3 changed files with 26 additions and 23 deletions

2
.gitignore vendored
View File

@ -89,3 +89,5 @@
/go1.13.1.src.tar.gz /go1.13.1.src.tar.gz
/go1.13.3.src.tar.gz /go1.13.3.src.tar.gz
/go1.13.4.src.tar.gz /go1.13.4.src.tar.gz
/go1.13.5.src.tar.gz
/go1.13.6.src.tar.gz

View File

@ -99,10 +99,10 @@
%endif %endif
%global go_api 1.13 %global go_api 1.13
%global go_version 1.13.4 %global go_version 1.13.6
Name: golang Name: golang
Version: 1.13.4 Version: 1.13.6
Release: 1%{?dist} Release: 1%{?dist}
Summary: The Go Programming Language Summary: The Go Programming Language
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain # source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
@ -269,6 +269,8 @@ BuildArch: noarch
%package bin %package bin
Summary: Golang core compiler tools Summary: Golang core compiler tools
# Some distributions refer to this package by this name
Provides: %{name}-go = %{version}-%{release}
Requires: go = %{version}-%{release} Requires: go = %{version}-%{release}
# Pre-go1.5, all arches had to be bootstrapped individually, before usable, and # Pre-go1.5, all arches had to be bootstrapped individually, before usable, and
# env variables to compile for the target os-arch. # env variables to compile for the target os-arch.
@ -305,7 +307,7 @@ Requires(preun): %{_sbindir}/update-alternatives
# This is an odd issue, still looking for a better fix. # This is an odd issue, still looking for a better fix.
Requires: glibc Requires: glibc
Requires: gcc Requires: gcc
Requires: git, subversion, mercurial Requires: git, subversion, mercurial
%description bin %description bin
%{summary} %{summary}
@ -338,11 +340,7 @@ Requires: %{name} = %{version}-%{release}
%endif %endif
%prep %prep
%setup -q -n go %autosetup -p1 -n go
%patch1 -p1
%patch2 -p1
%patch3 -p1
cp %{SOURCE1} ./src/runtime/ cp %{SOURCE1} ./src/runtime/
@ -545,7 +543,8 @@ fi
%files %files
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS %license LICENSE PATENTS
%doc AUTHORS CONTRIBUTORS
# VERSION has to be present in the GOROOT, for `go install std` to work # VERSION has to be present in the GOROOT, for `go install std` to work
%doc %{goroot}/VERSION %doc %{goroot}/VERSION
%dir %{goroot}/doc %dir %{goroot}/doc
@ -553,13 +552,10 @@ fi
# go files # go files
%dir %{goroot} %dir %{goroot}
%exclude %{goroot}/bin/ %{goroot}/api/
%exclude %{goroot}/pkg/ %{goroot}/lib/time/
%exclude %{goroot}/src/ %{goroot}/favicon.ico
%exclude %{goroot}/doc/ %{goroot}/robots.txt
%exclude %{goroot}/misc/
%exclude %{goroot}/test/
%{goroot}/*
# ensure directory ownership, so they are cleaned up if empty # ensure directory ownership, so they are cleaned up if empty
%dir %{gopath} %dir %{gopath}
@ -587,25 +583,30 @@ fi
%files -f go-src.list src %files -f go-src.list src
%files -f go-docs.list docs %files docs -f go-docs.list
%files -f go-misc.list misc %files misc -f go-misc.list
%files -f go-tests.list tests %files tests -f go-tests.list
%files -f go-pkg.list bin %files bin -f go-pkg.list
%{_bindir}/go %{_bindir}/go
%{_bindir}/gofmt %{_bindir}/gofmt
%{goroot}/bin/linux_%{gohostarch}/go
%{goroot}/bin/linux_%{gohostarch}/gofmt
%if %{shared} %if %{shared}
%files -f go-shared.list shared %files shared -f go-shared.list
%endif %endif
%if %{race} %if %{race}
%files -f go-race.list race %files race -f go-race.list
%endif %endif
%changelog %changelog
* Mon Feb 03 2020 Jakub Čajka <jcajka@redhat.com> - 1.13.6-1
- Rebase to go1.13.6
* Wed Nov 13 2019 Jakub Čajka <jcajka@redhat.com> - 1.13.4-1 * Wed Nov 13 2019 Jakub Čajka <jcajka@redhat.com> - 1.13.4-1
- Rebase to go1.13.4 - Rebase to go1.13.4

View File

@ -1 +1 @@
SHA512 (go1.13.4.src.tar.gz) = e8155cdceca2ebefd386feef98223bbdc92d9316f7188d4ba701cf43a723b75a9bf67a1eb92ac80987b7a113a2fb6981ef235292bec7dd3964805b7c33abdbb1 SHA512 (go1.13.6.src.tar.gz) = dffb6e06eea0b1541901dfbed8d28e8cc1eac3184dc40a19ed3637737df796a67a2e7170b228e1003d36b14e6f0f13bb8be9d2a702834a9c06228d1821659528