|
|
c56eb06 |
# build ids are not currently generated:
|
|
|
c56eb06 |
# https://code.google.com/p/go/issues/detail?id=5238
|
|
|
c56eb06 |
#
|
|
|
c56eb06 |
# also, debuginfo extraction currently fails with
|
|
|
c56eb06 |
# "Failed to write file: invalid section alignment"
|
|
|
c56eb06 |
%global debug_package %{nil}
|
|
|
c56eb06 |
|
|
|
cc50719 |
# we are shipping the full contents of src in the data subpackage, which
|
|
|
cc50719 |
# contains binary-like things (ELF data for tests, etc)
|
|
|
cc50719 |
%global _binaries_in_noarch_packages_terminate_build 0
|
|
|
cc50719 |
|
|
|
cc50719 |
# Do not check any files in doc or src for requires
|
|
Vincent Batts |
be393a2 |
%global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$
|
|
|
cc50719 |
|
|
|
03e9b35 |
# Don't alter timestamps of especially the .a files (or else go will rebuild later)
|
|
|
03e9b35 |
# Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata
|
|
|
03e9b35 |
%global __strip /bin/true
|
|
|
03e9b35 |
|
|
Adam Miller |
b77f6c7 |
# rpmbuild magic to keep from having meta dependency on libc.so.6
|
|
Adam Miller |
b77f6c7 |
%define _use_internal_dependency_generator 0
|
|
Adam Miller |
b77f6c7 |
%define __find_requires %{nil}
|
|
Adam Miller |
b77f6c7 |
%global __spec_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot \
|
|
Adam Miller |
b77f6c7 |
/usr/lib/rpm/brp-compress
|
|
Adam Miller |
b77f6c7 |
|
|
|
d36359a |
%global golibdir %{_libdir}/golang
|
|
|
d36359a |
|
|
|
c524af8 |
# Golang build options.
|
|
|
c524af8 |
|
|
|
d40cd88 |
# Build golang using external/internal(close to cgo disabled) linking.
|
|
|
d36359a |
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x
|
|
|
c524af8 |
%global external_linker 1
|
|
|
c524af8 |
%else
|
|
|
c524af8 |
%global external_linker 0
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
|
|
|
c524af8 |
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
|
|
|
d36359a |
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64 s390x
|
|
|
c524af8 |
%global cgo_enabled 1
|
|
|
c524af8 |
%else
|
|
|
c524af8 |
%global cgo_enabled 0
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
|
|
|
c524af8 |
# Use golang/gcc-go as bootstrap compiler
|
|
|
1344685 |
%ifarch %{golang_arches}
|
|
|
1344685 |
%global golang_bootstrap 1
|
|
|
1344685 |
%else
|
|
|
d83d513 |
%global golang_bootstrap 0
|
|
|
1344685 |
%endif
|
|
|
c524af8 |
|
|
|
d40cd88 |
# Controls what ever we fail on failed tests
|
|
|
1bf7308 |
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64le
|
|
|
c524af8 |
%global fail_on_tests 1
|
|
|
c524af8 |
%else
|
|
|
c524af8 |
%global fail_on_tests 0
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
|
|
|
c524af8 |
# Build golang shared objects for stdlib
|
|
|
d40cd88 |
%ifarch %{ix86} x86_64 ppc64le %{arm} aarch64
|
|
|
c524af8 |
%global shared 1
|
|
|
c524af8 |
%else
|
|
|
c524af8 |
%global shared 0
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
|
|
|
b881112 |
# Pre build std lib with -race enabled
|
|
|
b881112 |
%ifarch x86_64
|
|
|
b881112 |
%global race 1
|
|
|
b881112 |
%else
|
|
|
b881112 |
%global race 0
|
|
|
b881112 |
%endif
|
|
|
b881112 |
|
|
|
c524af8 |
# Fedora GOROOT
|
|
Vincent Batts |
be393a2 |
%global goroot /usr/lib/%{name}
|
|
|
c524af8 |
|
|
Vincent Batts |
be393a2 |
%ifarch x86_64
|
|
Vincent Batts |
be393a2 |
%global gohostarch amd64
|
|
Vincent Batts |
be393a2 |
%endif
|
|
Vincent Batts |
be393a2 |
%ifarch %{ix86}
|
|
Vincent Batts |
be393a2 |
%global gohostarch 386
|
|
Vincent Batts |
be393a2 |
%endif
|
|
Vincent Batts |
be393a2 |
%ifarch %{arm}
|
|
Vincent Batts |
be393a2 |
%global gohostarch arm
|
|
Vincent Batts |
be393a2 |
%endif
|
|
|
b869aad |
%ifarch aarch64
|
|
|
b869aad |
%global gohostarch arm64
|
|
|
b869aad |
%endif
|
|
|
c524af8 |
%ifarch ppc64
|
|
|
c524af8 |
%global gohostarch ppc64
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
%ifarch ppc64le
|
|
|
c524af8 |
%global gohostarch ppc64le
|
|
|
c524af8 |
%endif
|
|
|
d36359a |
%ifarch s390x
|
|
|
d36359a |
%global gohostarch s390x
|
|
|
d36359a |
%endif
|
|
Vincent Batts |
be393a2 |
|
|
|
100fcef |
%global go_api 1.8
|
|
|
749ec62 |
%global go_version 1.8.1
|
|
|
e0d8010 |
|
|
Vincent Batts |
7025cc8 |
Name: golang
|
|
|
749ec62 |
Version: 1.8.1
|
|
|
749ec62 |
Release: 1%{?dist}
|
|
Vincent Batts |
7025cc8 |
Summary: The Go Programming Language
|
|
|
c524af8 |
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
|
|
c524af8 |
License: BSD and Public Domain
|
|
Vincent Batts |
7025cc8 |
URL: http://golang.org/
|
|
|
263126f |
Source0: https://storage.googleapis.com/golang/go%{go_version}.src.tar.gz
|
|
|
b881112 |
# make possible to override default traceback level at build time by setting build tag rpm_crashtraceback
|
|
|
b881112 |
Source1: fedora.go
|
|
|
8d165df |
|
|
|
c524af8 |
# The compiler is written in Go. Needs go(1.4+) compiler for build.
|
|
|
c524af8 |
%if !%{golang_bootstrap}
|
|
|
c524af8 |
BuildRequires: gcc-go >= 5
|
|
|
c524af8 |
%else
|
|
|
8d165df |
BuildRequires: golang > 1.4
|
|
|
c524af8 |
%endif
|
|
|
1a6adea |
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
|
|
19dca7f |
BuildRequires: hostname
|
|
|
1a6adea |
%else
|
|
|
1a6adea |
BuildRequires: net-tools
|
|
|
3cb3b22 |
%endif
|
|
|
c524af8 |
# for tests
|
|
|
d36359a |
BuildRequires: pcre-devel, glibc-static, perl
|
|
Vincent Batts |
c91e9b6 |
|
|
Vincent Batts |
77cba21 |
Provides: go = %{version}-%{release}
|
|
|
d40cd88 |
Requires: %{name}-bin = %{version}-%{release}
|
|
|
8d165df |
Requires: %{name}-src = %{version}-%{release}
|
|
|
c524af8 |
Requires: go-srpm-macros
|
|
Vincent Batts |
77cba21 |
|
|
Vincent Batts |
5a84c90 |
Patch0: golang-1.2-verbose-build.patch
|
|
Adam Miller |
355d9b0 |
|
|
|
c524af8 |
# use the arch dependent path in the bootstrap
|
|
|
c524af8 |
Patch212: golang-1.5-bootstrap-binary-path.patch
|
|
|
c524af8 |
|
|
|
3cb3b22 |
# we had been just removing the zoneinfo.zip, but that caused tests to fail for users that
|
|
|
3cb3b22 |
# later run `go test -a std`. This makes it only use the zoneinfo.zip where needed in tests.
|
|
|
3cb3b22 |
Patch215: ./go1.5-zoneinfo_testing_only.patch
|
|
|
3cb3b22 |
|
|
Jakub Cajka |
0dbd49f |
# Proposed patch by mmunday https://golang.org/cl/35262
|
|
Jakub Cajka |
0dbd49f |
Patch219: s390x-expose-IfInfomsg-X__ifi_pad.patch
|
|
Jakub Cajka |
0dbd49f |
|
|
Vincent Batts |
d8b5074 |
# Having documentation separate was broken
|
|
Vincent Batts |
7025cc8 |
Obsoletes: %{name}-docs < 1.1-4
|
|
|
c56eb06 |
|
|
|
467dc85 |
# RPM can't handle symlink -> dir with subpackages, so merge back
|
|
Vincent Batts |
7025cc8 |
Obsoletes: %{name}-data < 1.1.1-4
|
|
|
c56eb06 |
|
|
|
a8686d8 |
# go1.4 deprecates a few packages
|
|
|
a8686d8 |
Obsoletes: %{name}-vim < 1.4
|
|
|
a8686d8 |
Obsoletes: emacs-%{name} < 1.4
|
|
|
a8686d8 |
|
|
Vincent Batts |
be393a2 |
# These are the only RHEL/Fedora architectures that we compile this package for
|
|
|
1344685 |
ExclusiveArch: %{golang_arches}
|
|
|
c56eb06 |
|
|
Vincent Batts |
7025cc8 |
Source100: golang-gdbinit
|
|
|
c9b9b2a |
|
|
|
cc50719 |
%description
|
|
|
c56eb06 |
%{summary}.
|
|
|
c56eb06 |
|
|
|
8d165df |
%package docs
|
|
|
8d165df |
Summary: Golang compiler docs
|
|
|
8d165df |
Requires: %{name} = %{version}-%{release}
|
|
|
8d165df |
BuildArch: noarch
|
|
|
8d165df |
Obsoletes: %{name}-docs < 1.1-4
|
|
|
8d165df |
|
|
|
8d165df |
%description docs
|
|
|
8d165df |
%{summary}.
|
|
|
8d165df |
|
|
|
8d165df |
%package misc
|
|
|
8d165df |
Summary: Golang compiler miscellaneous sources
|
|
|
8d165df |
Requires: %{name} = %{version}-%{release}
|
|
|
8d165df |
BuildArch: noarch
|
|
|
8d165df |
|
|
|
8d165df |
%description misc
|
|
|
8d165df |
%{summary}.
|
|
|
8d165df |
|
|
|
8d165df |
%package tests
|
|
|
8d165df |
Summary: Golang compiler tests for stdlib
|
|
|
8d165df |
Requires: %{name} = %{version}-%{release}
|
|
|
8d165df |
BuildArch: noarch
|
|
|
8d165df |
|
|
|
8d165df |
%description tests
|
|
|
8d165df |
%{summary}.
|
|
|
c56eb06 |
|
|
Vincent Batts |
be393a2 |
%package src
|
|
Vincent Batts |
be393a2 |
Summary: Golang compiler source tree
|
|
Vincent Batts |
ab9b265 |
BuildArch: noarch
|
|
Vincent Batts |
be393a2 |
%description src
|
|
Vincent Batts |
be393a2 |
%{summary}
|
|
Vincent Batts |
be393a2 |
|
|
|
8d165df |
%package bin
|
|
|
8d165df |
Summary: Golang core compiler tools
|
|
Vincent Batts |
be393a2 |
Requires: go = %{version}-%{release}
|
|
|
8d165df |
# Pre-go1.5, all arches had to be bootstrapped individually, before usable, and
|
|
|
8d165df |
# env variables to compile for the target os-arch.
|
|
|
8d165df |
# Now the host compiler needs only the GOOS and GOARCH environment variables
|
|
|
8d165df |
# set to compile for the target os-arch.
|
|
|
8d165df |
Obsoletes: %{name}-pkg-bin-linux-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-bin-linux-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-bin-linux-arm < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-linux-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-linux-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-linux-arm < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-darwin-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-darwin-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-windows-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-windows-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-plan9-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-plan9-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-freebsd-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-freebsd-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-freebsd-arm < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-netbsd-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-netbsd-amd64 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-netbsd-arm < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-openbsd-386 < 1.4.99
|
|
|
8d165df |
Obsoletes: %{name}-pkg-openbsd-amd64 < 1.4.99
|
|
Vincent Batts |
be393a2 |
|
|
|
6896a58 |
Obsoletes: golang-vet < 0-12.1
|
|
|
6896a58 |
Obsoletes: golang-cover < 0-12.1
|
|
|
6896a58 |
|
|
Vincent Batts |
be393a2 |
Requires(post): %{_sbindir}/update-alternatives
|
|
Vincent Batts |
be393a2 |
Requires(postun): %{_sbindir}/update-alternatives
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
be393a2 |
# We strip the meta dependency, but go does require glibc.
|
|
Vincent Batts |
be393a2 |
# This is an odd issue, still looking for a better fix.
|
|
Vincent Batts |
be393a2 |
Requires: glibc
|
|
Vincent Batts |
fa7c581 |
Requires: gcc
|
|
|
8d165df |
%description bin
|
|
Vincent Batts |
be393a2 |
%{summary}
|
|
Vincent Batts |
be393a2 |
|
|
|
7e281b5 |
# Workaround old RPM bug of symlink-replaced-with-dir failure
|
|
|
5863470 |
%pretrans -p <lua>
|
|
|
c9b9b2a |
for _,d in pairs({"api", "doc", "include", "lib", "src"}) do
|
|
Vincent Batts |
be393a2 |
path = "%{goroot}/" .. d
|
|
|
c9b9b2a |
if posix.stat(path, "type") == "link" then
|
|
|
c9b9b2a |
os.remove(path)
|
|
|
c9b9b2a |
posix.mkdir(path)
|
|
|
c9b9b2a |
end
|
|
|
5863470 |
end
|
|
|
7e281b5 |
|
|
|
c524af8 |
%if %{shared}
|
|
|
418a760 |
%package shared
|
|
|
418a760 |
Summary: Golang shared object libraries
|
|
|
418a760 |
|
|
|
418a760 |
%description shared
|
|
|
418a760 |
%{summary}.
|
|
|
418a760 |
%endif
|
|
|
7e281b5 |
|
|
|
b881112 |
%if %{race}
|
|
|
b881112 |
%package race
|
|
|
b881112 |
Summary: Golang std library with -race enabled
|
|
|
b881112 |
|
|
|
b881112 |
Requires: %{name} = %{version}-%{release}
|
|
|
b881112 |
|
|
|
b881112 |
%description race
|
|
|
b881112 |
%{summary}
|
|
|
b881112 |
%endif
|
|
|
b881112 |
|
|
|
c56eb06 |
%prep
|
|
|
c56eb06 |
%setup -q -n go
|
|
|
c56eb06 |
|
|
|
c56eb06 |
# increase verbosity of build
|
|
|
d36359a |
%patch0 -p1 -b .verbose
|
|
|
c56eb06 |
|
|
|
8d165df |
# use the arch dependent path in the bootstrap
|
|
|
d36359a |
%patch212 -p1 -b .bootstrap
|
|
|
8d165df |
|
|
|
672b8a1 |
%patch215 -p1
|
|
|
672b8a1 |
|
|
Jakub Cajka |
0dbd49f |
%patch219 -p1
|
|
Jakub Cajka |
0dbd49f |
|
|
|
b881112 |
cp %{SOURCE1} ./src/runtime/
|
|
|
b881112 |
|
|
|
a1ca3c9 |
# don't include chacha test vectors in buildID
|
|
|
a1ca3c9 |
mv ./src/vendor/golang_org/x/crypto/chacha20poly1305/chacha20poly1305_test_vectors.go ./src/vendor/golang_org/x/crypto/chacha20poly1305/chacha20poly1305_vectors_test.go
|
|
|
a1ca3c9 |
|
|
|
c56eb06 |
%build
|
|
|
672b8a1 |
# print out system information
|
|
|
672b8a1 |
uname -a
|
|
|
672b8a1 |
cat /proc/cpuinfo
|
|
|
672b8a1 |
cat /proc/meminfo
|
|
|
672b8a1 |
|
|
|
c524af8 |
# bootstrap compiler GOROOT
|
|
|
c524af8 |
%if !%{golang_bootstrap}
|
|
|
c524af8 |
export GOROOT_BOOTSTRAP=/
|
|
|
c524af8 |
%else
|
|
|
8d165df |
export GOROOT_BOOTSTRAP=%{goroot}
|
|
|
c524af8 |
%endif
|
|
|
8d165df |
|
|
|
c56eb06 |
# set up final install location
|
|
Vincent Batts |
be393a2 |
export GOROOT_FINAL=%{goroot}
|
|
|
c56eb06 |
|
|
Vincent Batts |
be393a2 |
export GOHOSTOS=linux
|
|
Vincent Batts |
be393a2 |
export GOHOSTARCH=%{gohostarch}
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
be393a2 |
pushd src
|
|
|
8d165df |
# use our gcc options for this build, but store gcc as default for compiler
|
|
|
c524af8 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
c524af8 |
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
c524af8 |
export CC="gcc"
|
|
|
c524af8 |
export CC_FOR_TARGET="gcc"
|
|
|
c524af8 |
export GOOS=linux
|
|
|
c524af8 |
export GOARCH=%{gohostarch}
|
|
|
c524af8 |
%if !%{external_linker}
|
|
|
c524af8 |
export GO_LDFLAGS="-linkmode internal"
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
%if !%{cgo_enabled}
|
|
|
c524af8 |
export CGO_ENABLED=0
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
./make.bash --no-clean
|
|
Vincent Batts |
be393a2 |
popd
|
|
|
c56eb06 |
|
|
|
c524af8 |
# build shared std lib
|
|
|
c524af8 |
%if %{shared}
|
|
|
418a760 |
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
|
|
|
418a760 |
%endif
|
|
|
9297305 |
|
|
|
b881112 |
%if %{race}
|
|
|
b881112 |
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -race std
|
|
|
b881112 |
%endif
|
|
|
b881112 |
|
|
|
c56eb06 |
%install
|
|
|
c56eb06 |
rm -rf $RPM_BUILD_ROOT
|
|
|
c56eb06 |
|
|
|
c56eb06 |
# create the top level directories
|
|
|
c56eb06 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
Vincent Batts |
be393a2 |
mkdir -p $RPM_BUILD_ROOT%{goroot}
|
|
|
c56eb06 |
|
|
|
c9b9b2a |
# install everything into libdir (until symlink problems are fixed)
|
|
|
c9b9b2a |
# https://code.google.com/p/go/issues/detail?id=5830
|
|
|
12a31f1 |
cp -apv api bin doc favicon.ico lib pkg robots.txt src misc test VERSION \
|
|
Vincent Batts |
be393a2 |
$RPM_BUILD_ROOT%{goroot}
|
|
|
c56eb06 |
|
|
Vincent Batts |
dd6f77a |
# bz1099206
|
|
Vincent Batts |
dd6f77a |
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \;
|
|
Vincent Batts |
b025cc2 |
# and level out all the built archives
|
|
Vincent Batts |
b025cc2 |
touch $RPM_BUILD_ROOT%{goroot}/pkg
|
|
Vincent Batts |
b025cc2 |
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
|
|
Vincent Batts |
b025cc2 |
# generate the spec file ownership of this source tree and packages
|
|
Vincent Batts |
b025cc2 |
cwd=$(pwd)
|
|
Vincent Batts |
b025cc2 |
src_list=$cwd/go-src.list
|
|
|
8d165df |
pkg_list=$cwd/go-pkg.list
|
|
|
418a760 |
shared_list=$cwd/go-shared.list
|
|
|
b881112 |
race_list=$cwd/go-race.list
|
|
|
8d165df |
misc_list=$cwd/go-misc.list
|
|
|
8d165df |
docs_list=$cwd/go-docs.list
|
|
|
8d165df |
tests_list=$cwd/go-tests.list
|
|
|
b881112 |
rm -f $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
|
|
|
b881112 |
touch $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
|
|
Vincent Batts |
b025cc2 |
pushd $RPM_BUILD_ROOT%{goroot}
|
|
|
d40cd88 |
find src/ -type d -a \( ! -name testdata -a ! -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $src_list
|
|
|
749ec62 |
find src/ ! -type d -a \( ! -ipath '*/testdata/*' -a ! -name '*_test.go' \) -printf '%{goroot}/%p\n' >> $src_list
|
|
|
8d165df |
|
|
|
b881112 |
find bin/ pkg/ -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%%%dir %{goroot}/%p\n' >> $pkg_list
|
|
|
b881112 |
find bin/ pkg/ ! -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%{goroot}/%p\n' >> $pkg_list
|
|
|
8d165df |
|
|
|
d40cd88 |
find doc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $docs_list
|
|
|
d40cd88 |
find doc/ ! -type d -printf '%{goroot}/%p\n' >> $docs_list
|
|
|
8d165df |
|
|
|
d40cd88 |
find misc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $misc_list
|
|
|
d40cd88 |
find misc/ ! -type d -printf '%{goroot}/%p\n' >> $misc_list
|
|
|
8d165df |
|
|
|
c524af8 |
%if %{shared}
|
|
|
d36359a |
mkdir -p %{buildroot}/%{_libdir}/
|
|
|
d36359a |
mkdir -p %{buildroot}/%{golibdir}/
|
|
|
d36359a |
for file in $(find . -iname "*.so" ); do
|
|
|
d36359a |
chmod 755 $file
|
|
|
d36359a |
mv $file %{buildroot}/%{golibdir}
|
|
|
d36359a |
pushd $(dirname $file)
|
|
|
d36359a |
ln -fs %{golibdir}/$(basename $file) $(basename $file)
|
|
|
d36359a |
popd
|
|
|
d36359a |
echo "%%{goroot}/$file" >> $shared_list
|
|
|
d36359a |
echo "%%{golibdir}/$(basename $file)" >> $shared_list
|
|
|
d36359a |
done
|
|
|
d36359a |
|
|
|
d36359a |
find pkg/*_dynlink/ -type d -printf '%%%dir %{goroot}/%p\n' >> $shared_list
|
|
|
d36359a |
find pkg/*_dynlink/ ! -type d -printf '%{goroot}/%p\n' >> $shared_list
|
|
|
418a760 |
%endif
|
|
|
418a760 |
|
|
|
b881112 |
%if %{race}
|
|
|
b881112 |
|
|
|
b881112 |
find pkg/*_race/ -type d -printf '%%%dir %{goroot}/%p\n' >> $race_list
|
|
|
b881112 |
find pkg/*_race/ ! -type d -printf '%{goroot}/%p\n' >> $race_list
|
|
|
b881112 |
|
|
|
b881112 |
%endif
|
|
|
b881112 |
|
|
|
d40cd88 |
find test/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
d40cd88 |
find test/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
|
|
|
d40cd88 |
find src/ -type d -a \( -name testdata -o -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
749ec62 |
find src/ ! -type d -a \( -ipath '*/testdata/*' -o -name '*_test.go' \) -printf '%{goroot}/%p\n' >> $tests_list
|
|
|
d40cd88 |
# this is only the zoneinfo.zip
|
|
|
d40cd88 |
find lib/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
d40cd88 |
find lib/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
|
|
Vincent Batts |
b025cc2 |
popd
|
|
Vincent Batts |
1afe7e2 |
|
|
|
c56eb06 |
# remove the doc Makefile
|
|
Vincent Batts |
be393a2 |
rm -rfv $RPM_BUILD_ROOT%{goroot}/doc/Makefile
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
be393a2 |
# put binaries to bindir, linked to the arch we're building,
|
|
|
d40cd88 |
# leave the arch independent pieces in {goroot}
|
|
Vincent Batts |
be393a2 |
mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}
|
|
|
8d165df |
ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/go
|
|
|
8d165df |
ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/gofmt
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
8081f33 |
# ensure these exist and are owned
|
|
|
0134196 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com
|
|
|
0134196 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org
|
|
|
0134196 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p
|
|
|
0134196 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x
|
|
Vincent Batts |
8081f33 |
|
|
Vincent Batts |
6109664 |
# make sure these files exist and point to alternatives
|
|
Vincent Batts |
6109664 |
rm -f $RPM_BUILD_ROOT%{_bindir}/go
|
|
Vincent Batts |
6109664 |
ln -sf /etc/alternatives/go $RPM_BUILD_ROOT%{_bindir}/go
|
|
Vincent Batts |
6109664 |
rm -f $RPM_BUILD_ROOT%{_bindir}/gofmt
|
|
Vincent Batts |
6109664 |
ln -sf /etc/alternatives/gofmt $RPM_BUILD_ROOT%{_bindir}/gofmt
|
|
Vincent Batts |
be393a2 |
|
|
|
c9b9b2a |
# gdbinit
|
|
|
c9b9b2a |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
|
|
Vincent Batts |
3a4853b |
cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb
|
|
|
7e281b5 |
|
|
Vincent Batts |
b025cc2 |
%check
|
|
Vincent Batts |
b025cc2 |
export GOROOT=$(pwd -P)
|
|
|
8d165df |
export PATH="$GOROOT"/bin:"$PATH"
|
|
Vincent Batts |
b025cc2 |
cd src
|
|
|
c524af8 |
|
|
|
c524af8 |
export CC="gcc"
|
|
|
c524af8 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
c524af8 |
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
c524af8 |
%if !%{external_linker}
|
|
|
c524af8 |
export GO_LDFLAGS="-linkmode internal"
|
|
|
c524af8 |
%endif
|
|
|
c524af8 |
%if !%{cgo_enabled} || !%{external_linker}
|
|
|
c524af8 |
export CGO_ENABLED=0
|
|
|
c524af8 |
%endif
|
|
|
d40cd88 |
|
|
|
d40cd88 |
# make sure to not timeout
|
|
|
d40cd88 |
export GO_TEST_TIMEOUT_SCALE=2
|
|
|
d40cd88 |
|
|
|
c524af8 |
%if %{fail_on_tests}
|
|
|
c524af8 |
./run.bash --no-rebuild -v -v -v -k
|
|
|
c524af8 |
%else
|
|
|
c524af8 |
./run.bash --no-rebuild -v -v -v -k || :
|
|
|
c524af8 |
%endif
|
|
|
8d165df |
cd ..
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
b025cc2 |
|
|
|
8d165df |
%post bin
|
|
Vincent Batts |
be393a2 |
%{_sbindir}/update-alternatives --install %{_bindir}/go \
|
|
|
d40cd88 |
go %{goroot}/bin/go 90 \
|
|
|
d40cd88 |
--slave %{_bindir}/gofmt gofmt %{goroot}/bin/gofmt
|
|
Vincent Batts |
be393a2 |
|
|
|
8d165df |
%preun bin
|
|
Vincent Batts |
be393a2 |
if [ $1 = 0 ]; then
|
|
|
d40cd88 |
%{_sbindir}/update-alternatives --remove go %{goroot}/bin/go
|
|
Vincent Batts |
be393a2 |
fi
|
|
|
c56eb06 |
|
|
Vincent Batts |
74686a2 |
|
|
|
c56eb06 |
%files
|
|
Vincent Batts |
fa7c581 |
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS
|
|
Vincent Batts |
fa7c581 |
# VERSION has to be present in the GOROOT, for `go install std` to work
|
|
Vincent Batts |
fa7c581 |
%doc %{goroot}/VERSION
|
|
|
8d165df |
%dir %{goroot}/doc
|
|
|
2ba9c52 |
%doc %{goroot}/doc/*
|
|
|
c56eb06 |
|
|
|
c9b9b2a |
# go files
|
|
Vincent Batts |
8081f33 |
%dir %{goroot}
|
|
Vincent Batts |
be393a2 |
%exclude %{goroot}/bin/
|
|
Vincent Batts |
be393a2 |
%exclude %{goroot}/pkg/
|
|
Vincent Batts |
be393a2 |
%exclude %{goroot}/src/
|
|
|
8d165df |
%exclude %{goroot}/doc/
|
|
|
8d165df |
%exclude %{goroot}/misc/
|
|
|
8d165df |
%{goroot}/*
|
|
|
c9b9b2a |
|
|
Vincent Batts |
8081f33 |
# ensure directory ownership, so they are cleaned up if empty
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}/src
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}/src/github.com/
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}/src/bitbucket.org/
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}/src/code.google.com/
|
|
Vincent Batts |
8081f33 |
%dir %{gopath}/src/code.google.com/p/
|
|
|
0134196 |
%dir %{gopath}/src/golang.org
|
|
|
0134196 |
%dir %{gopath}/src/golang.org/x
|
|
Vincent Batts |
8081f33 |
|
|
|
c56eb06 |
|
|
|
c9b9b2a |
# gdbinit (for gdb debugging)
|
|
|
c9b9b2a |
%{_sysconfdir}/gdbinit.d
|
|
|
c56eb06 |
|
|
Vincent Batts |
b025cc2 |
%files -f go-src.list src
|
|
|
20cd634 |
|
|
|
8d165df |
%files -f go-docs.list docs
|
|
Vincent Batts |
be393a2 |
|
|
|
8d165df |
%files -f go-misc.list misc
|
|
Vincent Batts |
be393a2 |
|
|
|
8d165df |
%files -f go-tests.list tests
|
|
Vincent Batts |
be393a2 |
|
|
|
8d165df |
%files -f go-pkg.list bin
|
|
Vincent Batts |
4620c48 |
%{_bindir}/go
|
|
Vincent Batts |
4620c48 |
%{_bindir}/gofmt
|
|
Vincent Batts |
be393a2 |
|
|
|
c524af8 |
%if %{shared}
|
|
|
418a760 |
%files -f go-shared.list shared
|
|
|
418a760 |
%endif
|
|
Adam Miller |
b77f6c7 |
|
|
|
b881112 |
%if %{race}
|
|
|
b881112 |
%files -f go-race.list race
|
|
|
b881112 |
%endif
|
|
|
b881112 |
|
|
|
c56eb06 |
%changelog
|
|
|
749ec62 |
* Tue Apr 11 2017 Jakub Čajka <jcajka@redhat.com> - 1.8.1-1
|
|
|
749ec62 |
- bump to Go 1.8.1
|
|
|
749ec62 |
- Resolves: BZ#1440345
|
|
|
749ec62 |
|
|
|
a1ca3c9 |
* Fri Feb 24 2017 Jakub Čajka <jcajka@redhat.com> - 1.8-2
|
|
|
a1ca3c9 |
- avoid possibly stale packages due to chacha test file not being test file
|
|
|
a1ca3c9 |
|
|
|
1bf7308 |
* Fri Feb 17 2017 Jakub Čajka <jcajka@redhat.com> - 1.8-1
|
|
|
1bf7308 |
- bump to released version
|
|
|
1bf7308 |
- Resolves: BZ#1423637
|
|
|
1bf7308 |
- Related: BZ#1411242
|
|
|
1bf7308 |
|
|
|
7dabca5 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-0.rc3.2.1
|
|
|
7dabca5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7dabca5 |
|
|
|
b881112 |
* Fri Jan 27 2017 Jakub Čajka <jcajka@redhat.com> - 1.8-0.rc3.2
|
|
|
b881112 |
- make possible to override default traceback level at build time
|
|
|
b881112 |
- add sub-package race containing std lib built with -race enabled
|
|
|
b881112 |
- Related: BZ#1411242
|
|
|
b881112 |
|
|
|
100fcef |
* Fri Jan 27 2017 Jakub Čajka <jcajka@redhat.com> - 1.8-0.rc3.1
|
|
|
100fcef |
- rebase to go1.8rc3
|
|
|
100fcef |
- Resolves: BZ#1411242
|
|
|
100fcef |
|
|
Jakub Cajka |
0dbd49f |
* Fri Jan 20 2017 Jakub Čajka <jcajka@redhat.com> - 1.7.4-2
|
|
Jakub Cajka |
0dbd49f |
- Resolves: BZ#1404679
|
|
Jakub Cajka |
0dbd49f |
- expose IfInfomsg.X__ifi_pad on s390x
|
|
Jakub Cajka |
0dbd49f |
|
|
|
66c8bd8 |
* Fri Dec 02 2016 Jakub Čajka <jcajka@redhat.com> - 1.7.4-1
|
|
|
66c8bd8 |
- Bump to 1.7.4
|
|
|
66c8bd8 |
- Resolves: BZ#1400732
|
|
|
66c8bd8 |
|
|
|
85dfe17 |
* Thu Nov 17 2016 Tom Callaway <spot@fedoraproject.org> - 1.7.3-2
|
|
|
85dfe17 |
- re-enable the NIST P-224 curve
|
|
|
85dfe17 |
|
|
|
663103c |
* Thu Oct 20 2016 Jakub Čajka <jcajka@redhat.com> - 1.7.3-1
|
|
|
663103c |
- Resolves: BZ#1387067 - golang-1.7.3 is available
|
|
|
663103c |
- added fix for tests failing with latest tzdata
|
|
|
663103c |
|
|
|
d978616 |
* Fri Sep 23 2016 Jakub Čajka <jcajka@redhat.com> - 1.7.1-2
|
|
|
d978616 |
- fix link failure due to relocation overflows on PPC64X
|
|
|
d978616 |
|
|
|
8bda509 |
* Thu Sep 08 2016 Jakub Čajka <jcajka@redhat.com> - 1.7.1-1
|
|
|
8bda509 |
- rebase to 1.7.1
|
|
|
8bda509 |
- Resolves: BZ#1374103
|
|
|
8bda509 |
|
|
|
1fe9869 |
* Tue Aug 23 2016 Jakub Čajka <jcajka@redhat.com> - 1.7-1
|
|
|
1fe9869 |
- update to released version
|
|
|
1fe9869 |
- related: BZ#1342090, BZ#1357394
|
|
|
1fe9869 |
|
|
|
6896a58 |
* Mon Aug 08 2016 Jakub Čajka <jcajka@redhat.com> - 1.7-0.3.rc5
|
|
|
6896a58 |
- Obsolete golang-vet and golang-cover from golang-googlecode-tools package
|
|
|
6896a58 |
vet/cover binaries are provided by golang-bin rpm (thanks to jchaloup)
|
|
|
6896a58 |
- clean up exclusive arch after s390x boostrap
|
|
|
6896a58 |
- resolves: #1268206
|
|
|
6896a58 |
|
|
|
cf2fb88 |
* Wed Aug 03 2016 Jakub Čajka <jcajka@redhat.com> - 1.7-0.2.rc5
|
|
|
cf2fb88 |
- rebase to go1.7rc5
|
|
|
cf2fb88 |
- Resolves: BZ#1342090
|
|
|
cf2fb88 |
|
|
|
00c9202 |
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-0.1.rc2
|
|
|
00c9202 |
- https://fedoraproject.org/wiki/Changes/golang1.7
|
|
|
00c9202 |
|
|
|
d36359a |
* Tue Jul 19 2016 Jakub Čajka <jcajka@redhat.com> - 1.7-0.0.rc2
|
|
|
d36359a |
- rebase to 1.7rc2
|
|
|
d36359a |
- added s390x build
|
|
|
d36359a |
- improved shared lib packaging
|
|
|
d36359a |
- Resolves: bz1357602 - CVE-2016-5386
|
|
|
d36359a |
- Resolves: bz1342090, bz1342090
|
|
|
d36359a |
|
|
|
04b972e |
* Tue Apr 26 2016 Jakub Čajka <jcajka@redhat.com> - 1.6.2-1
|
|
|
04b972e |
- rebase to 1.6.2
|
|
|
04b972e |
- Resolves: bz1329206 - golang-1.6.2.src is available
|
|
|
04b972e |
|
|
|
b2c2028 |
* Wed Apr 13 2016 Jakub Čajka <jcajka@redhat.com> - 1.6.1-1
|
|
|
b2c2028 |
- rebase to 1.6.1
|
|
|
b2c2028 |
- Resolves: bz1324344 - CVE-2016-3959
|
|
|
b2c2028 |
- Resolves: bz1324951 - prelink is gone, /etc/prelink.conf.d/* is no longer used
|
|
|
b2c2028 |
- Resolves: bz1326366 - wrong epoll_event struct for ppc64le/ppc64
|
|
|
b2c2028 |
|
|
|
263126f |
* Mon Feb 22 2016 Jakub Čajka <jcajka@redhat.com> - 1.6-1
|
|
|
263126f |
- Resolves: bz1304701 - rebase to go1.6 release
|
|
|
263126f |
- Resolves: bz1304591 - fix possible stack miss-alignment in callCgoMmap
|
|
|
263126f |
|
|
|
30a817d |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-0.3.rc1
|
|
|
30a817d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
30a817d |
|
|
|
f031dfd |
* Fri Jan 29 2016 Jakub Čajka <jcajka@redhat.com> - 1.6-0.2.rc1
|
|
|
f031dfd |
- disabled cgo and external linking on ppc64
|
|
|
f031dfd |
|
|
|
d40cd88 |
* Thu Jan 28 2016 Jakub Čajka <jcajka@redhat.com> - 1.6-0.1.rc1
|
|
|
d40cd88 |
- Resolves bz1292640, rebase to pre-release 1.6
|
|
|
d40cd88 |
- bootstrap for PowerPC
|
|
|
d40cd88 |
- fix rpmlint errors/warning
|
|
|
d40cd88 |
|
|
|
672b8a1 |
* Thu Jan 14 2016 Jakub Čajka <jcajka@redhat.com> - 1.5.3-1
|
|
|
672b8a1 |
- rebase to 1.5.3
|
|
|
672b8a1 |
- resolves bz1293451, CVE-2015-8618
|
|
|
672b8a1 |
- apply timezone patch, avoid using bundled data
|
|
|
672b8a1 |
- print out rpm build system info
|
|
|
672b8a1 |
|
|
|
8b92652 |
* Fri Dec 11 2015 Jakub Čajka <jcajka@redhat.com> - 1.5.2-2
|
|
|
8552516 |
- bz1290543 Accept x509 certs with negative serial
|
|
|
8b92652 |
|
|
|
c524af8 |
* Tue Dec 08 2015 Jakub Čajka <jcajka@redhat.com> - 1.5.2-1
|
|
|
c524af8 |
- bz1288263 rebase to 1.5.2
|
|
|
c524af8 |
- spec file clean up
|
|
|
c524af8 |
- added build options
|
|
|
c524af8 |
- scrubbed "Project Gutenberg License"
|
|
|
c524af8 |
|
|
|
ee2b299 |
* Mon Oct 19 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-1
|
|
|
ee2b299 |
- bz1271709 include patch from upstream fix
|
|
|
ee2b299 |
|
|
|
c127d6a |
* Wed Sep 09 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-0
|
|
|
c127d6a |
- update to go1.5.1
|
|
|
c127d6a |
|
|
|
a68f1b0 |
* Fri Sep 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-8
|
|
|
a68f1b0 |
- bz1258166 remove srpm macros, for go-srpm-macros
|
|
|
a68f1b0 |
|
|
|
286f73c |
* Thu Sep 03 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-7
|
|
|
286f73c |
- bz1258166 remove srpm macros, for go-srpm-macros
|
|
|
286f73c |
|
|
|
418a760 |
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-6
|
|
|
418a760 |
- starting a shared object subpackage. This will be x86_64 only until upstream supports more arches shared objects.
|
|
|
418a760 |
|
|
|
7782fc0 |
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-5
|
|
|
7782fc0 |
- bz991759 gdb path fix
|
|
|
7782fc0 |
|
|
|
12a31f1 |
* Wed Aug 26 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-4
|
|
|
12a31f1 |
- disable shared object until linux/386 is ironned out
|
|
|
12a31f1 |
- including the test/ directory for tests
|
|
|
12a31f1 |
|
|
|
3cb3b22 |
* Tue Aug 25 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-3
|
|
|
32abaed |
- bz1256910 only allow the golang zoneinfo.zip to be used in tests
|
|
|
32abaed |
- bz1166611 add golang.org/x directory
|
|
|
32abaed |
- bz1256525 include stdlib shared object. This will let other libraries and binaries
|
|
|
32abaed |
build with `go build -buildmode=shared -linkshared ...` or similar.
|
|
|
3cb3b22 |
|
|
|
b869aad |
* Sun Aug 23 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-2
|
|
|
b869aad |
- Enable aarch64
|
|
|
b869aad |
- Minor cleanups
|
|
|
b869aad |
|
|
|
0d13e2d |
* Thu Aug 20 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-1
|
|
|
0d13e2d |
- updating to go1.5
|
|
|
0d13e2d |
|
|
|
03b73e2 |
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.11.rc1
|
|
|
03b73e2 |
- fixing the sources reference
|
|
|
03b73e2 |
|
|
|
831ba34 |
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.10.rc1
|
|
|
831ba34 |
- updating to go1.5rc1
|
|
|
831ba34 |
- checks are back in place
|
|
|
831ba34 |
|
|
|
f2f58b5 |
* Tue Aug 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.9.beta3
|
|
|
f2f58b5 |
- pull in upstream archive/tar fix
|
|
|
f2f58b5 |
|
|
|
9fc0bc4 |
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.8.beta3
|
|
|
9fc0bc4 |
- updating to go1.5beta3
|
|
|
9fc0bc4 |
|
|
|
78d9b3d |
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.7.beta2
|
|
|
78d9b3d |
- add the patch ..
|
|
|
78d9b3d |
|
|
|
c1bee09 |
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.6.beta2
|
|
|
c1bee09 |
- increase ELFRESERVE (bz1248071)
|
|
|
c1bee09 |
|
|
|
bb5db89 |
* Tue Jul 28 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-0.5.beta2
|
|
|
bb5db89 |
- correct package version and release tags as per naming guidelines
|
|
|
bb5db89 |
|
|
|
6da96f9 |
* Fri Jul 17 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-4.1.5beta2
|
|
|
6da96f9 |
- adding test output, for visibility
|
|
|
6da96f9 |
|
|
|
2ecad65 |
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-3.1.5beta2
|
|
|
2ecad65 |
- updating to go1.5beta2
|
|
|
2ecad65 |
|
|
|
beda572 |
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-2.1.5beta1
|
|
|
beda572 |
- add checksum to sources and fixed one patch
|
|
|
beda572 |
|
|
|
8d165df |
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-1.1.5beta1
|
|
|
8d165df |
- updating to go1.5beta1
|
|
|
8d165df |
|
|
|
7dc03d1 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
|
|
|
7dc03d1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
7dc03d1 |
|
|
|
a8686d8 |
* Wed Mar 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-2
|
|
|
a8686d8 |
- obsoleting deprecated packages
|
|
|
a8686d8 |
|
|
|
b5c0254 |
* Wed Feb 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-1
|
|
|
b5c0254 |
- updating to go1.4.2
|
|
|
b5c0254 |
|
|
|
4c424d4 |
* Fri Jan 16 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.1-1
|
|
|
4c424d4 |
- updating to go1.4.1
|
|
|
4c424d4 |
|
|
|
2ba9c52 |
* Fri Jan 02 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4-2
|
|
|
2ba9c52 |
- doc organizing
|
|
|
2ba9c52 |
|
|
|
82982da |
* Thu Dec 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.4-1
|
|
|
82982da |
- update to go1.4 release
|
|
|
82982da |
|
|
|
0ad646d |
* Wed Dec 03 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-3.1.4rc2
|
|
|
0ad646d |
- update to go1.4rc2
|
|
|
0ad646d |
|
|
|
55020ea |
* Mon Nov 17 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-2.1.4rc1
|
|
|
55020ea |
- update to go1.4rc1
|
|
|
55020ea |
|
|
|
20cd634 |
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-1.1.4beta1
|
|
|
20cd634 |
- update to go1.4beta1
|
|
|
20cd634 |
|
|
|
84f9320 |
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-3
|
|
|
84f9320 |
- macros will need to be in their own rpm
|
|
|
84f9320 |
|
|
|
c2c5dc1 |
* Fri Oct 24 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-2
|
|
|
c2c5dc1 |
- split out rpm macros (bz1156129)
|
|
|
c2c5dc1 |
- progress on gccgo accomodation
|
|
|
c2c5dc1 |
|
|
Vincent Batts |
94c0b3b |
* Wed Oct 01 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-1
|
|
Vincent Batts |
94c0b3b |
- update to go1.3.3 (bz1146882)
|
|
Vincent Batts |
94c0b3b |
|
|
Vincent Batts |
8cfb9c4 |
* Mon Sep 29 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.2-1
|
|
Vincent Batts |
8cfb9c4 |
- update to go1.3.2 (bz1147324)
|
|
Vincent Batts |
8cfb9c4 |
|
|
Vincent Batts |
999ceca |
* Thu Sep 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-3
|
|
Vincent Batts |
999ceca |
- patching the tzinfo failure
|
|
Vincent Batts |
999ceca |
|
|
|
726440c |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
726440c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
726440c |
|
|
Vincent Batts |
ec11551 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-1
|
|
Vincent Batts |
ec11551 |
- update to go1.3.1
|
|
Vincent Batts |
ec11551 |
|
|
Vincent Batts |
81887c2 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11
|
|
Vincent Batts |
81887c2 |
- merged a line wrong
|
|
Vincent Batts |
81887c2 |
|
|
Vincent Batts |
b025cc2 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-10
|
|
Vincent Batts |
b025cc2 |
- more work to get cgo.a timestamps to line up, due to build-env
|
|
Vincent Batts |
b025cc2 |
- explicitly list all the files and directories for the source and packages trees
|
|
Vincent Batts |
b025cc2 |
- touch all the built archives to be the same
|
|
Vincent Batts |
b025cc2 |
|
|
Vincent Batts |
ab9b265 |
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-9
|
|
Vincent Batts |
ab9b265 |
- make golang-src 'noarch' again, since that was not a fix, and takes up more space
|
|
Vincent Batts |
ab9b265 |
|
|
Vincent Batts |
dd6f77a |
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-8
|
|
Vincent Batts |
dd6f77a |
- update timestamps of source files during %%install bz1099206
|
|
Vincent Batts |
dd6f77a |
|
|
Vincent Batts |
1afe7e2 |
* Fri Aug 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-7
|
|
Vincent Batts |
1afe7e2 |
- update timestamps of source during %%install bz1099206
|
|
Vincent Batts |
1afe7e2 |
|
|
Vincent Batts |
42cdf8d |
* Wed Aug 06 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-6
|
|
Vincent Batts |
42cdf8d |
- make the source subpackage arch'ed, instead of noarch
|
|
Vincent Batts |
42cdf8d |
|
|
Vincent Batts |
374526d |
* Mon Jul 21 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-5
|
|
Vincent Batts |
374526d |
- fix the writing of pax headers
|
|
Vincent Batts |
374526d |
|
|
Vincent Batts |
3a4853b |
* Tue Jul 15 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-4
|
|
Vincent Batts |
3a4853b |
- fix the loading of gdb safe-path. bz981356
|
|
Vincent Batts |
3a4853b |
|
|
Vincent Batts |
3a4853b |
* Tue Jul 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-3
|
|
Vincent Batts |
fa7c581 |
- `go install std` requires gcc, to build cgo. bz1105901, bz1101508
|
|
Vincent Batts |
fa7c581 |
|
|
Vincent Batts |
3a4853b |
* Mon Jul 07 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-2
|
|
Vincent Batts |
4086849 |
- archive/tar memory allocation improvements
|
|
Vincent Batts |
4086849 |
|
|
Vincent Batts |
3a4853b |
* Thu Jun 19 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-1
|
|
Vincent Batts |
207296f |
- update to go1.3
|
|
Vincent Batts |
207296f |
|
|
Vincent Batts |
3a4853b |
* Fri Jun 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3rc2-1
|
|
Vincent Batts |
ae78530 |
- update to go1.3rc2
|
|
Vincent Batts |
ae78530 |
|
|
|
472df19 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3rc1-2
|
|
|
472df19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
472df19 |
|
|
Vincent Batts |
f3f956d |
* Tue Jun 03 2014 Vincent Batts <vbatts@redhat.com> 1.3rc1-1
|
|
Vincent Batts |
f3f956d |
- update to go1.3rc1
|
|
Vincent Batts |
ffa74e0 |
- new arch file shuffling
|
|
Vincent Batts |
f3f956d |
|
|
Vincent Batts |
0b3722b |
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.3beta2-1
|
|
Vincent Batts |
0b3722b |
- update to go1.3beta2
|
|
Vincent Batts |
0b3722b |
- no longer provides go-mode for xemacs (emacs only)
|
|
Vincent Batts |
0b3722b |
|
|
Vincent Batts |
4620c48 |
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-7
|
|
Vincent Batts |
4620c48 |
- bz1099206 ghost files are not what is needed
|
|
Vincent Batts |
4620c48 |
|
|
Vincent Batts |
8bd3750 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-6
|
|
Vincent Batts |
8bd3750 |
- bz1099206 more fixing. The packages %%post need golang-bin present first
|
|
Vincent Batts |
8bd3750 |
|
|
Vincent Batts |
c849611 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-5
|
|
Vincent Batts |
7619d50 |
- bz1099206 more fixing. Let go fix its own timestamps and freshness
|
|
Vincent Batts |
c849611 |
|
|
Vincent Batts |
6109664 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-4
|
|
Vincent Batts |
6109664 |
- fix the existence and alternatives of `go` and `gofmt`
|
|
Vincent Batts |
6109664 |
|
|
Vincent Batts |
74686a2 |
* Mon May 19 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-3
|
|
Vincent Batts |
74686a2 |
- bz1099206 fix timestamp issue caused by koji builders
|
|
Vincent Batts |
74686a2 |
|
|
Vincent Batts |
573d0ba |
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-2
|
|
Vincent Batts |
573d0ba |
- more arch file shuffling
|
|
Vincent Batts |
573d0ba |
|
|
Vincent Batts |
c8bd3b7 |
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-1
|
|
Vincent Batts |
c8bd3b7 |
- update to go1.2.2
|
|
Vincent Batts |
c8bd3b7 |
|
|
Vincent Batts |
2911c49 |
* Thu May 08 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-8
|
|
Vincent Batts |
2911c49 |
- RHEL6 rpm macros can't %%exlude missing files
|
|
Vincent Batts |
2911c49 |
|
|
Vincent Batts |
6e4126f |
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-7
|
|
Vincent Batts |
6e4126f |
- missed two arch-dependent src files
|
|
Vincent Batts |
6e4126f |
|
|
Vincent Batts |
df7b191 |
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-6
|
|
Vincent Batts |
df7b191 |
- put generated arch-dependent src in their respective RPMs
|
|
Vincent Batts |
df7b191 |
|
|
Vincent Batts |
d931512 |
* Fri Apr 11 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-5
|
|
Vincent Batts |
76f08f5 |
- skip test that is causing a SIGABRT on fc21 bz1086900
|
|
Vincent Batts |
76f08f5 |
|
|
Vincent Batts |
d931512 |
* Thu Apr 10 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-4
|
|
Vincent Batts |
8081f33 |
- fixing file and directory ownership bz1010713
|
|
Vincent Batts |
8081f33 |
|
|
Vincent Batts |
be393a2 |
* Wed Apr 09 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-3
|
|
Vincent Batts |
be393a2 |
- including more to macros (%%go_arches)
|
|
Vincent Batts |
be393a2 |
- set a standard goroot as /usr/lib/golang, regardless of arch
|
|
Vincent Batts |
be393a2 |
- include sub-packages for compiler toolchains, for all golang supported architectures
|
|
Vincent Batts |
be393a2 |
|
|
Vincent Batts |
fd00fb3 |
* Wed Mar 26 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-2
|
|
|
d40cd88 |
- provide a system rpm macros. Starting with gopath
|
|
Vincent Batts |
fd00fb3 |
|
|
Adam Miller |
01d4c2e |
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
|
|
Adam Miller |
01d4c2e |
- Update to latest upstream
|
|
Adam Miller |
01d4c2e |
|
|
Vincent Batts |
3a4853b |
* Thu Feb 20 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-7
|
|
Adam Miller |
d0ddbae |
- Remove _BSD_SOURCE and _SVID_SOURCE, they are deprecated in recent
|
|
Adam Miller |
d0ddbae |
versions of glibc and aren't needed
|
|
Adam Miller |
d0ddbae |
|
|
Adam Miller |
1318683 |
* Wed Feb 19 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-6
|
|
Adam Miller |
1318683 |
- pull in upstream archive/tar implementation that supports xattr for
|
|
Adam Miller |
1318683 |
docker 0.8.1
|
|
Adam Miller |
1318683 |
|
|
Vincent Batts |
77cba21 |
* Tue Feb 18 2014 Vincent Batts <vbatts@redhat.com> 1.2-5
|
|
Vincent Batts |
77cba21 |
- provide 'go', so users can yum install 'go'
|
|
Vincent Batts |
77cba21 |
|
|
Adam Miller |
64f9c14 |
* Fri Jan 24 2014 Vincent Batts <vbatts@redhat.com> 1.2-4
|
|
Vincent Batts |
25b1d04 |
- skip a flaky test that is sporadically failing on the build server
|
|
Vincent Batts |
25b1d04 |
|
|
Vincent Batts |
b5cbd1e |
* Thu Jan 16 2014 Vincent Batts <vbatts@redhat.com> 1.2-3
|
|
Vincent Batts |
b5cbd1e |
- remove golang-godoc dependency. cyclic dependency on compiling godoc
|
|
Vincent Batts |
b5cbd1e |
|
|
Vincent Batts |
5152b3a |
* Wed Dec 18 2013 Vincent Batts <vbatts@redhat.com> - 1.2-2
|
|
Vincent Batts |
5152b3a |
- removing P224 ECC curve
|
|
Vincent Batts |
5152b3a |
|
|
Vincent Batts |
5a84c90 |
* Mon Dec 2 2013 Vincent Batts <vbatts@fedoraproject.org> - 1.2-1
|
|
Vincent Batts |
5a84c90 |
- Update to upstream 1.2 release
|
|
Vincent Batts |
5a84c90 |
- remove the pax tar patches
|
|
Vincent Batts |
5a84c90 |
|
|
Vincent Batts |
4e1713b |
* Tue Nov 26 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-8
|
|
Vincent Batts |
4e1713b |
- fix the rpmspec conditional for rhel and fedora
|
|
Vincent Batts |
4e1713b |
|
|
Vincent Batts |
8efa624 |
* Thu Nov 21 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-7
|
|
Vincent Batts |
d09407f |
- patch tests for testing on rawhide
|
|
Vincent Batts |
ce418df |
- let the same spec work for rhel and fedora
|
|
Vincent Batts |
d09407f |
|
|
Vincent Batts |
d8b5074 |
* Wed Nov 20 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-6
|
|
Vincent Batts |
d8b5074 |
- don't symlink /usr/bin out to ../lib..., move the file
|
|
Vincent Batts |
d8b5074 |
- seperate out godoc, to accomodate the go.tools godoc
|
|
Vincent Batts |
d8b5074 |
|
|
Adam Miller |
355d9b0 |
* Fri Sep 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-5
|
|
Adam Miller |
355d9b0 |
- Pull upstream patches for BZ#1010271
|
|
Adam Miller |
355d9b0 |
- Add glibc requirement that got dropped because of meta dep fix
|
|
Adam Miller |
355d9b0 |
|
|
Adam Miller |
b77f6c7 |
* Fri Aug 30 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-4
|
|
Adam Miller |
b77f6c7 |
- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
|
|
Adam Miller |
b77f6c7 |
|
|
Adam Miller |
b77f6c7 |
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-3
|
|
Adam Miller |
b77f6c7 |
- Revert incorrect merged changelog
|
|
Adam Miller |
c2c1e2a |
|
|
Adam Miller |
b77f6c7 |
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-2
|
|
Adam Miller |
b77f6c7 |
- This was reverted, just a placeholder changelog entry for bad merge
|
|
Adam Miller |
b77f6c7 |
|
|
Adam Miller |
b77f6c7 |
* Tue Aug 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-1
|
|
Adam Miller |
bd6aa3a |
- Update to latest upstream
|
|
Adam Miller |
bd6aa3a |
|
|
Adam Miller |
b77f6c7 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
|
|
Adam Miller |
b77f6c7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
Adam Miller |
b77f6c7 |
|
|
Adam Miller |
b77f6c7 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.1-6
|
|
Adam Miller |
b77f6c7 |
- Perl 5.18 rebuild
|
|
Adam Miller |
b054c12 |
|
|
|
03e9b35 |
* Wed Jul 10 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-5
|
|
|
03e9b35 |
- Blacklist testdata files from prelink
|
|
|
03e9b35 |
- Again try to fix #973842
|
|
|
03e9b35 |
|
|
|
c9b9b2a |
* Fri Jul 5 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-4
|
|
|
c9b9b2a |
- Move src to libdir for now (#973842) (upstream issue https://code.google.com/p/go/issues/detail?id=5830)
|
|
|
c9b9b2a |
- Eliminate noarch data package to work around RPM bug (#975909)
|
|
|
c9b9b2a |
- Try to add runtime-gdb.py to the gdb safe-path (#981356)
|
|
|
467dc85 |
|
|
|
5863470 |
* Wed Jun 19 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-3
|
|
|
5863470 |
- Use lua for pretrans (http://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet)
|
|
|
5863470 |
|
|
|
7e281b5 |
* Mon Jun 17 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-2
|
|
|
7e281b5 |
- Hopefully really fix #973842
|
|
|
7e281b5 |
- Fix update from pre-1.1.1 (#974840)
|
|
|
7e281b5 |
|
|
|
cc50719 |
* Thu Jun 13 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-1
|
|
|
cc50719 |
- Update to 1.1.1
|
|
|
cc50719 |
- Fix basically useless package (#973842)
|
|
|
cc50719 |
|
|
|
45f1244 |
* Sat May 25 2013 Dan Horák <dan[at]danny.cz> - 1.1-3
|
|
|
45f1244 |
- set ExclusiveArch
|
|
|
45f1244 |
|
|
|
420db8c |
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-2
|
|
|
420db8c |
- Fix noarch package discrepancies
|
|
|
420db8c |
|
|
|
c56eb06 |
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-1
|
|
|
c56eb06 |
- Initial Fedora release.
|
|
|
c56eb06 |
- Update to 1.1
|
|
|
c56eb06 |
|
|
|
c56eb06 |
* Thu May 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.3.rc3
|
|
|
c56eb06 |
- Update to rc3
|
|
|
c56eb06 |
|
|
|
c56eb06 |
* Thu Apr 11 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.2.beta2
|
|
|
c56eb06 |
- Update to beta2
|
|
|
c56eb06 |
|
|
|
c56eb06 |
* Tue Apr 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.1.beta1
|
|
|
c56eb06 |
- Initial packaging.
|