|
|
4d1d36 |
# build ids are not currently generated:
|
|
|
4d1d36 |
# https://code.google.com/p/go/issues/detail?id=5238
|
|
|
4d1d36 |
#
|
|
|
4d1d36 |
# also, debuginfo extraction currently fails with
|
|
|
4d1d36 |
# "Failed to write file: invalid section alignment"
|
|
|
4d1d36 |
%global debug_package %{nil}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# we are shipping the full contents of src in the data subpackage, which
|
|
|
4d1d36 |
# contains binary-like things (ELF data for tests, etc)
|
|
|
4d1d36 |
%global _binaries_in_noarch_packages_terminate_build 0
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# Do not check any files in doc or src for requires
|
|
|
4d1d36 |
%global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# Don't alter timestamps of especially the .a files (or else go will rebuild later)
|
|
|
4d1d36 |
# Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata
|
|
|
4d1d36 |
%global __strip /bin/true
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# rpmbuild magic to keep from having meta dependency on libc.so.6
|
|
|
4d1d36 |
%define _use_internal_dependency_generator 0
|
|
|
4d1d36 |
%define __find_requires %{nil}
|
|
|
4d1d36 |
%global __spec_install_post /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot \
|
|
|
4d1d36 |
/usr/lib/rpm/brp-compress
|
|
|
4d1d36 |
|
|
|
e1de19 |
# Define GOROOT macros
|
|
|
4d1d36 |
%global goroot /usr/lib/%{name}
|
|
|
9b5743 |
%global gopath %{_datadir}/gocode
|
|
|
de0c58 |
%global golang_arches x86_64 aarch64 ppc64le s390x
|
|
|
e1de19 |
|
|
|
e1de19 |
# Golang build options.
|
|
|
e1de19 |
|
|
|
e1de19 |
# Buid golang using external/internal(close to cgo disabled) linking.
|
|
|
e1de19 |
%ifarch %{golang_arches}
|
|
|
e1de19 |
%global external_linker 1
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
%global external_linker 0
|
|
|
4d1d36 |
%endif
|
|
|
e1de19 |
|
|
|
e1de19 |
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
|
|
|
e1de19 |
%ifarch %{golang_arches}
|
|
|
e1de19 |
%global cgo_enabled 1
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
%global cgo_enabled 0
|
|
|
4d1d36 |
%endif
|
|
|
e1de19 |
|
|
|
e1de19 |
# Use golang/gcc-go as bootstrap compiler
|
|
|
e1de19 |
%ifarch %{golang_arches}
|
|
|
e1de19 |
%global golang_bootstrap 1
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
%global golang_bootstrap 0
|
|
|
4d1d36 |
%endif
|
|
|
4d1d36 |
|
|
|
e1de19 |
# Controls what ever we fails on failed tests
|
|
|
e1de19 |
%ifarch %{golang_arches}
|
|
|
e1de19 |
%global fail_on_tests 1
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
%global fail_on_tests 0
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
e1de19 |
# Build golang shared objects for stdlib
|
|
|
e1de19 |
%ifarch 0
|
|
|
e1de19 |
%global shared 1
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
%global shared 0
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
e1de19 |
%ifarch x86_64
|
|
|
e1de19 |
%global gohostarch amd64
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
6eb832 |
%ifarch aarch64
|
|
|
6eb832 |
%global gohostarch arm64
|
|
|
6eb832 |
%endif
|
|
|
6eb832 |
|
|
|
de0c58 |
%ifarch ppc64le
|
|
|
de0c58 |
%global gohostarch ppc64le
|
|
|
de0c58 |
%endif
|
|
|
de0c58 |
|
|
|
de0c58 |
%ifarch s390x
|
|
|
de0c58 |
%global gohostarch s390x
|
|
|
de0c58 |
%endif
|
|
|
de0c58 |
|
|
|
864f2d |
%global go_api 1.9
|
|
|
864f2d |
%global go_version 1.9.4
|
|
|
dffe98 |
|
|
|
4d1d36 |
Name: golang
|
|
|
864f2d |
Version: 1.9.4
|
|
|
de0c58 |
Release: 1%{?dist}
|
|
|
4d1d36 |
Summary: The Go Programming Language
|
|
|
e1de19 |
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
|
|
|
e1de19 |
License: BSD and Public Domain
|
|
|
4d1d36 |
URL: http://golang.org/
|
|
|
e1de19 |
Source0: https://storage.googleapis.com/golang/go%{go_version}.src.tar.gz
|
|
|
f4f7d7 |
|
|
|
e1de19 |
# The compiler is written in Go. Needs go(1.4+) compiler for build.
|
|
|
e1de19 |
%if !%{golang_bootstrap}
|
|
|
e1de19 |
BuildRequires: gcc-go >= 5
|
|
|
4d1d36 |
%else
|
|
|
e1de19 |
BuildRequires: golang >= 1.4
|
|
|
4d1d36 |
%endif
|
|
|
e1de19 |
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
|
|
e1de19 |
BuildRequires: hostname
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
BuildRequires: net-tools
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
# for tests
|
|
|
de0c58 |
BuildRequires: pcre-devel, glibc-static, perl
|
|
|
4d1d36 |
|
|
|
4d1d36 |
Provides: go = %{version}-%{release}
|
|
|
e1de19 |
Provides: go-srpm-macros
|
|
|
e1de19 |
Requires: %{name}-bin = %{version}-%{release}
|
|
|
e1de19 |
Requires: %{name}-src = %{version}-%{release}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
Patch0: golang-1.2-verbose-build.patch
|
|
|
4d1d36 |
|
|
|
e1de19 |
# use the arch dependent path in the bootstrap
|
|
|
e1de19 |
Patch212: golang-1.5-bootstrap-binary-path.patch
|
|
|
e1de19 |
|
|
|
e1de19 |
# we had been just removing the zoneinfo.zip, but that caused tests to fail for users that
|
|
|
e1de19 |
# later run `go test -a std`. This makes it only use the zoneinfo.zip where needed in tests.
|
|
|
e1de19 |
Patch215: ./go1.5-zoneinfo_testing_only.patch
|
|
|
e1de19 |
|
|
|
864f2d |
# https://github.com/golang/go/commit/ca8c361d867d62bd46013c5abbaaad0b2ca6077f
|
|
|
864f2d |
Patch216: use-buildmode-pie-for-pie-testing.patch
|
|
|
864f2d |
# https://github.com/hyangah/go/commit/3502496d03bcd842fd7aac95ec0d7096d581cd26
|
|
|
864f2d |
Patch217: use-no-pie-where-needed.patch
|
|
|
de0c58 |
|
|
|
4d1d36 |
# Having documentation separate was broken
|
|
|
4d1d36 |
Obsoletes: %{name}-docs < 1.1-4
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# RPM can't handle symlink -> dir with subpackages, so merge back
|
|
|
4d1d36 |
Obsoletes: %{name}-data < 1.1.1-4
|
|
|
4d1d36 |
|
|
|
dffe98 |
# emacs and vim subpackages no longer provided in 1.4.2
|
|
|
dffe98 |
Obsoletes: emacs-%{name} <= 1.3.3-3
|
|
|
dffe98 |
Obsoletes: %{name}-vim <= 1.3.3
|
|
|
dffe98 |
|
|
|
4d1d36 |
# These are the only RHEL/Fedora architectures that we compile this package for
|
|
|
e1de19 |
ExclusiveArch: %{golang_arches}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
Source100: golang-gdbinit
|
|
|
4d1d36 |
Source101: golang-prelink.conf
|
|
|
4d1d36 |
Source102: macros.golang
|
|
|
4d1d36 |
|
|
|
4d1d36 |
%description
|
|
|
4d1d36 |
%{summary}.
|
|
|
4d1d36 |
|
|
|
e1de19 |
%package docs
|
|
|
e1de19 |
Summary: Golang compiler docs
|
|
|
e1de19 |
Requires: %{name} = %{version}-%{release}
|
|
|
e1de19 |
BuildArch: noarch
|
|
|
e1de19 |
Obsoletes: %{name}-docs < 1.1-4
|
|
|
4d1d36 |
|
|
|
e1de19 |
%description docs
|
|
|
e1de19 |
%{summary}.
|
|
|
4d1d36 |
|
|
|
e1de19 |
%package misc
|
|
|
e1de19 |
Summary: Golang compiler miscellaneous sources
|
|
|
e1de19 |
Requires: %{name} = %{version}-%{release}
|
|
|
e1de19 |
BuildArch: noarch
|
|
|
e1de19 |
|
|
|
e1de19 |
%description misc
|
|
|
e1de19 |
%{summary}.
|
|
|
e1de19 |
|
|
|
e1de19 |
%package tests
|
|
|
e1de19 |
Summary: Golang compiler tests for stdlib
|
|
|
e1de19 |
Requires: %{name} = %{version}-%{release}
|
|
|
e1de19 |
BuildArch: noarch
|
|
|
e1de19 |
|
|
|
e1de19 |
%description tests
|
|
|
e1de19 |
%{summary}.
|
|
|
4d1d36 |
|
|
|
4d1d36 |
%package src
|
|
|
4d1d36 |
Summary: Golang compiler source tree
|
|
|
4d1d36 |
BuildArch: noarch
|
|
|
4d1d36 |
%description src
|
|
|
4d1d36 |
%{summary}
|
|
|
4d1d36 |
|
|
|
e1de19 |
%package bin
|
|
|
e1de19 |
Summary: Golang core compiler tools
|
|
|
4d1d36 |
Requires: go = %{version}-%{release}
|
|
|
e1de19 |
# Pre-go1.5, all arches had to be bootstrapped individually, before usable, and
|
|
|
e1de19 |
# env variables to compile for the target os-arch.
|
|
|
e1de19 |
# Now the host compiler needs only the GOOS and GOARCH environment variables
|
|
|
e1de19 |
# set to compile for the target os-arch.
|
|
|
4d1d36 |
|
|
|
e1de19 |
# obsoletes *BSD sub packages
|
|
|
e1de19 |
Obsoletes: golang-pkg-plan9-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-plan9-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-freebsd-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-freebsd-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-freebsd-arm <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-netbsd-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-netbsd-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-netbsd-arm <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-openbsd-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-openbsd-amd64 <= 1.4.3
|
|
|
e1de19 |
# obsolate go1.4 packages
|
|
|
e1de19 |
Obsoletes: golang-pkg-bin-linux-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-bin-linux-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-bin-linux-arm <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-linux-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-linux-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-linux-arm <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-darwin-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-darwin-amd64 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-windows-386 <= 1.4.3
|
|
|
e1de19 |
Obsoletes: golang-pkg-windows-amd64 <= 1.4.3
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# We strip the meta dependency, but go does require glibc.
|
|
|
4d1d36 |
# This is an odd issue, still looking for a better fix.
|
|
|
4d1d36 |
Requires: glibc
|
|
|
9b5743 |
Requires: gcc
|
|
|
e1de19 |
%description bin
|
|
|
4d1d36 |
%{summary}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# Workaround old RPM bug of symlink-replaced-with-dir failure
|
|
|
4d1d36 |
%pretrans -p <lua>
|
|
|
4d1d36 |
for _,d in pairs({"api", "doc", "include", "lib", "src"}) do
|
|
|
4d1d36 |
path = "%{goroot}/" .. d
|
|
|
4d1d36 |
if posix.stat(path, "type") == "link" then
|
|
|
4d1d36 |
os.remove(path)
|
|
|
4d1d36 |
posix.mkdir(path)
|
|
|
4d1d36 |
end
|
|
|
4d1d36 |
end
|
|
|
4d1d36 |
|
|
|
e1de19 |
%if %{shared}
|
|
|
e1de19 |
%package shared
|
|
|
e1de19 |
Summary: Golang shared object libraries
|
|
|
e1de19 |
|
|
|
e1de19 |
%description shared
|
|
|
e1de19 |
%{summary}.
|
|
|
e1de19 |
%endif
|
|
|
4d1d36 |
|
|
|
4d1d36 |
%prep
|
|
|
4d1d36 |
%setup -q -n go
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# increase verbosity of build
|
|
|
4d1d36 |
%patch0 -p1
|
|
|
4d1d36 |
|
|
|
e1de19 |
# use the arch dependent path in the bootstrap
|
|
|
e1de19 |
%patch212 -p1 -b .boot
|
|
|
e1de19 |
|
|
|
e1de19 |
%patch215 -p1
|
|
|
e1de19 |
|
|
|
de0c58 |
%patch216 -p1
|
|
|
de0c58 |
%patch217 -p1
|
|
|
de0c58 |
|
|
|
4d1d36 |
%build
|
|
|
e1de19 |
|
|
|
e1de19 |
# print out system information
|
|
|
e1de19 |
uname -a
|
|
|
e1de19 |
cat /proc/cpuinfo
|
|
|
e1de19 |
cat /proc/meminfo
|
|
|
e1de19 |
|
|
|
e1de19 |
# bootstrap compiler GOROOT
|
|
|
e1de19 |
%if !%{golang_bootstrap}
|
|
|
e1de19 |
export GOROOT_BOOTSTRAP=/
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
export GOROOT_BOOTSTRAP=%{goroot}
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
4d1d36 |
# set up final install location
|
|
|
4d1d36 |
export GOROOT_FINAL=%{goroot}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
export GOHOSTOS=linux
|
|
|
4d1d36 |
export GOHOSTARCH=%{gohostarch}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
pushd src
|
|
|
e1de19 |
# use our gcc options for this build, but store gcc as default for compiler
|
|
|
e1de19 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
e1de19 |
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
e1de19 |
export CC="gcc"
|
|
|
e1de19 |
export CC_FOR_TARGET="gcc"
|
|
|
e1de19 |
export GOOS=linux
|
|
|
e1de19 |
export GOARCH=%{gohostarch}
|
|
|
e1de19 |
%if !%{external_linker}
|
|
|
e1de19 |
export GO_LDFLAGS="-linkmode internal"
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
%if !%{cgo_enabled}
|
|
|
e1de19 |
export CGO_ENABLED=0
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
./make.bash --no-clean
|
|
|
4d1d36 |
popd
|
|
|
4d1d36 |
|
|
|
e1de19 |
# build shared std lib
|
|
|
e1de19 |
%if %{shared}
|
|
|
e1de19 |
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
4d1d36 |
%install
|
|
|
4d1d36 |
rm -rf $RPM_BUILD_ROOT
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# create the top level directories
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{goroot}
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# install everything into libdir (until symlink problems are fixed)
|
|
|
4d1d36 |
# https://code.google.com/p/go/issues/detail?id=5830
|
|
|
e1de19 |
cp -apv api bin doc favicon.ico lib pkg robots.txt src misc test VERSION \
|
|
|
4d1d36 |
$RPM_BUILD_ROOT%{goroot}
|
|
|
4d1d36 |
|
|
|
9b5743 |
# bz1099206
|
|
|
9b5743 |
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \;
|
|
|
9b5743 |
# and level out all the built archives
|
|
|
9b5743 |
touch $RPM_BUILD_ROOT%{goroot}/pkg
|
|
|
9b5743 |
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
|
|
|
9b5743 |
# generate the spec file ownership of this source tree and packages
|
|
|
9b5743 |
cwd=$(pwd)
|
|
|
9b5743 |
src_list=$cwd/go-src.list
|
|
|
e1de19 |
pkg_list=$cwd/go-pkg.list
|
|
|
e1de19 |
shared_list=$cwd/go-shared.list
|
|
|
e1de19 |
misc_list=$cwd/go-misc.list
|
|
|
e1de19 |
docs_list=$cwd/go-docs.list
|
|
|
e1de19 |
tests_list=$cwd/go-tests.list
|
|
|
e1de19 |
rm -f $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list
|
|
|
e1de19 |
touch $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list
|
|
|
9b5743 |
pushd $RPM_BUILD_ROOT%{goroot}
|
|
|
e1de19 |
find src/ -type d -a \( ! -name testdata -a ! -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $src_list
|
|
|
e1de19 |
find src/ ! -type d -a \( ! -ipath '*/testdata/*' -a ! -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $src_list
|
|
|
e1de19 |
|
|
|
e1de19 |
find bin/ pkg/ -type d -a ! -path '*_dynlink/*' -printf '%%%dir %{goroot}/%p\n' >> $pkg_list
|
|
|
e1de19 |
find bin/ pkg/ ! -type d -a ! -path '*_dynlink/*' -printf '%{goroot}/%p\n' >> $pkg_list
|
|
|
e1de19 |
|
|
|
e1de19 |
find doc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $docs_list
|
|
|
e1de19 |
find doc/ ! -type d -printf '%{goroot}/%p\n' >> $docs_list
|
|
|
9b5743 |
|
|
|
e1de19 |
find misc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $misc_list
|
|
|
e1de19 |
find misc/ ! -type d -printf '%{goroot}/%p\n' >> $misc_list
|
|
|
e1de19 |
|
|
|
e1de19 |
%if %{shared}
|
|
|
e1de19 |
find pkg/*_dynlink/ -type d -printf '%%%dir %{goroot}/%p\n' >> $shared_list
|
|
|
e1de19 |
find pkg/*_dynlink/ ! -type d -printf '%{goroot}/%p\n' >> $shared_list
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
|
|
|
e1de19 |
find test/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
find test/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
find src/ -type d -a \( -name testdata -o -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
find src/ ! -type d -a \( -ipath '*/testdata/*' -o -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
# this is only the zoneinfo.zip
|
|
|
e1de19 |
find lib/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
find lib/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
|
|
|
e1de19 |
popd
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# remove the doc Makefile
|
|
|
4d1d36 |
rm -rfv $RPM_BUILD_ROOT%{goroot}/doc/Makefile
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# put binaries to bindir, linked to the arch we're building,
|
|
|
e1de19 |
# leave the arch independent pieces in {goroot}
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}
|
|
|
e1de19 |
ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/go
|
|
|
e1de19 |
ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}/gofmt
|
|
|
4d1d36 |
|
|
|
9b5743 |
# ensure these exist and are owned
|
|
|
e1de19 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com
|
|
|
e1de19 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org
|
|
|
e1de19 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p
|
|
|
e1de19 |
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x
|
|
|
4d1d36 |
|
|
|
9b5743 |
# make sure these files exist and point to alternatives
|
|
|
9b5743 |
rm -f $RPM_BUILD_ROOT%{_bindir}/go
|
|
|
9b5743 |
ln -sf /etc/alternatives/go $RPM_BUILD_ROOT%{_bindir}/go
|
|
|
9b5743 |
rm -f $RPM_BUILD_ROOT%{_bindir}/gofmt
|
|
|
9b5743 |
ln -sf /etc/alternatives/gofmt $RPM_BUILD_ROOT%{_bindir}/gofmt
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# gdbinit
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
|
|
|
9b5743 |
cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# prelink blacklist
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
|
|
|
4d1d36 |
cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# rpm macros
|
|
|
4d1d36 |
mkdir -p %{buildroot}
|
|
|
4d1d36 |
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
|
|
4d1d36 |
mkdir -p $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d
|
|
|
4d1d36 |
cp -av %{SOURCE102} $RPM_BUILD_ROOT%{_rpmconfigdir}/macros.d/macros.golang
|
|
|
4d1d36 |
%endif
|
|
|
4d1d36 |
|
|
|
4d1d36 |
|
|
|
9b5743 |
%check
|
|
|
130f5c |
export GOROOT=$(pwd -P)
|
|
|
e1de19 |
export PATH="$GOROOT"/bin:"$PATH"
|
|
|
130f5c |
cd src
|
|
|
9b5743 |
|
|
|
e1de19 |
export CC="gcc"
|
|
|
e1de19 |
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
e1de19 |
export LDFLAGS="$RPM_LD_FLAGS"
|
|
|
e1de19 |
%if !%{external_linker}
|
|
|
e1de19 |
export GO_LDFLAGS="-linkmode internal"
|
|
|
4d1d36 |
%endif
|
|
|
e1de19 |
%if !%{cgo_enabled} || !%{external_linker}
|
|
|
e1de19 |
export CGO_ENABLED=0
|
|
|
4d1d36 |
%endif
|
|
|
e1de19 |
%if %{fail_on_tests}
|
|
|
e1de19 |
./run.bash --no-rebuild -v -v -v -k
|
|
|
e1de19 |
%else
|
|
|
e1de19 |
./run.bash --no-rebuild -v -v -v -k || :
|
|
|
e1de19 |
%endif
|
|
|
e1de19 |
cd ..
|
|
|
4d1d36 |
|
|
|
9b5743 |
|
|
|
e1de19 |
%post bin
|
|
|
4d1d36 |
%{_sbindir}/update-alternatives --install %{_bindir}/go \
|
|
|
e1de19 |
go %{goroot}/bin/go 90 \
|
|
|
e1de19 |
--slave %{_bindir}/gofmt gofmt %{goroot}/bin/gofmt
|
|
|
4d1d36 |
|
|
|
e1de19 |
%preun bin
|
|
|
4d1d36 |
if [ $1 = 0 ]; then
|
|
|
e1de19 |
%{_sbindir}/update-alternatives --remove go %{goroot}/bin/go
|
|
|
4d1d36 |
fi
|
|
|
4d1d36 |
|
|
|
9b5743 |
|
|
|
4d1d36 |
%files
|
|
|
9b5743 |
%doc AUTHORS CONTRIBUTORS LICENSE PATENTS
|
|
|
9b5743 |
# VERSION has to be present in the GOROOT, for `go install std` to work
|
|
|
9b5743 |
%doc %{goroot}/VERSION
|
|
|
e1de19 |
%dir %{goroot}/doc
|
|
|
dffe98 |
%doc %{goroot}/doc/*
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# go files
|
|
|
9b5743 |
%dir %{goroot}
|
|
|
4d1d36 |
%exclude %{goroot}/bin/
|
|
|
4d1d36 |
%exclude %{goroot}/pkg/
|
|
|
4d1d36 |
%exclude %{goroot}/src/
|
|
|
e1de19 |
%exclude %{goroot}/doc/
|
|
|
e1de19 |
%exclude %{goroot}/misc/
|
|
|
864f2d |
%exclude %{goroot}/test/
|
|
|
e1de19 |
%{goroot}/*
|
|
|
4d1d36 |
|
|
|
9b5743 |
# ensure directory ownership, so they are cleaned up if empty
|
|
|
9b5743 |
%dir %{gopath}
|
|
|
9b5743 |
%dir %{gopath}/src
|
|
|
9b5743 |
%dir %{gopath}/src/github.com/
|
|
|
9b5743 |
%dir %{gopath}/src/bitbucket.org/
|
|
|
9b5743 |
%dir %{gopath}/src/code.google.com/
|
|
|
9b5743 |
%dir %{gopath}/src/code.google.com/p/
|
|
|
e1de19 |
%dir %{gopath}/src/golang.org
|
|
|
e1de19 |
%dir %{gopath}/src/golang.org/x
|
|
|
9b5743 |
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# gdbinit (for gdb debugging)
|
|
|
4d1d36 |
%{_sysconfdir}/gdbinit.d
|
|
|
4d1d36 |
|
|
|
4d1d36 |
# prelink blacklist
|
|
|
4d1d36 |
%{_sysconfdir}/prelink.conf.d
|
|
|
4d1d36 |
|
|
|
4d1d36 |
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
|
|
|
4d1d36 |
%{_rpmconfigdir}/macros.d/macros.golang
|
|
|
4d1d36 |
%endif
|
|
|
4d1d36 |
|
|
|
9b5743 |
%files -f go-src.list src
|
|
|
4d1d36 |
|
|
|
e1de19 |
%files -f go-docs.list docs
|
|
|
e1de19 |
|
|
|
e1de19 |
%files -f go-misc.list misc
|
|
|
4d1d36 |
|
|
|
e1de19 |
%files -f go-tests.list tests
|
|
|
e1de19 |
|
|
|
e1de19 |
%files -f go-pkg.list bin
|
|
|
de0c58 |
%ghost %{_bindir}/go
|
|
|
de0c58 |
%ghost %{_bindir}/gofmt
|
|
|
4d1d36 |
|
|
|
e1de19 |
%if %{shared}
|
|
|
e1de19 |
%files -f go-shared.list shared
|
|
|
9b5743 |
%endif
|
|
|
4d1d36 |
|
|
|
e1de19 |
%changelog
|
|
|
864f2d |
* Thu Feb 08 2018 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.4-1
|
|
|
864f2d |
- Rebase to 1.9.4
|
|
|
864f2d |
- Fix CVE-2018-6574
|
|
|
864f2d |
- Resolves: rhbz#1545300
|
|
|
864f2d |
|
|
|
864f2d |
* Wed Nov 08 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.2-4
|
|
|
864f2d |
- Related: rhbz#1505967
|
|
|
864f2d |
|
|
|
864f2d |
* Tue Nov 07 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.2-3
|
|
|
864f2d |
- Resolve: rhbz#1505967
|
|
|
864f2d |
|
|
|
864f2d |
* Tue Oct 31 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.2-2
|
|
|
864f2d |
- fix up file lists
|
|
|
864f2d |
- Related: rhbz#1499827
|
|
|
864f2d |
|
|
|
864f2d |
* Thu Oct 26 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.2-1
|
|
|
864f2d |
- Rebase to 1.9.2
|
|
|
864f2d |
- Related: rhbz#1499827
|
|
|
864f2d |
|
|
|
864f2d |
* Fri Oct 13 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.9.1-1
|
|
|
864f2d |
- Rebase to 1.9.1
|
|
|
864f2d |
- fix CVE-2017-15041 and CVE-2017-15042
|
|
|
864f2d |
- Resolves: rhbz#1500591, rhbz#1499827, rhbz#1500587, rhbz#1448494
|
|
|
864f2d |
|
|
|
864f2d |
* Tue Jun 20 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-2
|
|
|
864f2d |
- Resolves: rhbz#1447109
|
|
|
864f2d |
|
|
|
de0c58 |
* Wed May 31 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-1
|
|
|
de0c58 |
- bump to 1.8.3
|
|
|
de0c58 |
- fix CVE-2017-8932
|
|
|
de0c58 |
- Resolves: rhbz#1452616, rhbz#1452241, rhbz#1457169, rhbz#1448346
|
|
|
de0c58 |
|
|
|
de0c58 |
* Fri Apr 21 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-4
|
|
|
de0c58 |
- Related: rhbz#1444122
|
|
|
de0c58 |
|
|
|
de0c58 |
* Fri Apr 21 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-3
|
|
|
de0c58 |
- Resolves: rhbz#1444122
|
|
|
de0c58 |
|
|
|
de0c58 |
* Fri Feb 24 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-2
|
|
|
de0c58 |
- Related: rhbz#1414500
|
|
|
de0c58 |
|
|
|
de0c58 |
* Fri Feb 17 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-1
|
|
|
de0c58 |
- Resolves: rhbz#1414500 Rebase golang to 1.8
|
|
|
de0c58 |
|
|
|
de0c58 |
* Wed Feb 01 2017 Josh Stone <jistone@redhat.com> - 1.7.4-4
|
|
|
de0c58 |
- Resolves: rhbz#1405587 Add ppc64le and s390x to %%go_arches
|
|
|
de0c58 |
|
|
|
de0c58 |
* Wed Jan 11 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-3
|
|
|
de0c58 |
- Resolves: rhbz#1405587 Add ppc64le and s390x builds
|
|
|
de0c58 |
|
|
|
de0c58 |
* Fri Dec 09 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-1
|
|
|
de0c58 |
- Resolves: rhbz#1365649 - Rebase to golang 1.7
|
|
|
de0c58 |
|
|
|
de0c58 |
* Mon Nov 21 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.3-4
|
|
|
de0c58 |
- Resolves: rhbz#1399719 - NIST P-224 curve support for golang
|
|
|
de0c58 |
|
|
|
de0c58 |
* Thu Oct 13 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.3-3
|
|
|
de0c58 |
- Resolves: rhbz#1381593 - runtime: backport 'fix nanotime for macOS Sierra, again' to go 1.6.x
|
|
|
de0c58 |
|
|
|
6eb832 |
* Wed Jul 20 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.3-2
|
|
|
6eb832 |
- Resolves: rhbz#1358279 - CVE-2016-5386
|
|
|
4d1d36 |
|
|
|
6eb832 |
* Mon Jun 20 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.2-2
|
|
|
6eb832 |
- Release bump
|
|
|
6eb832 |
|
|
|
6eb832 |
* Thu May 05 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.2-1
|
|
|
e1de19 |
- rebase to 1.6.2
|
|
|
6eb832 |
- added aarch64 build
|
|
|
6eb832 |
- fix CVE-2016-3959
|
|
|
6eb832 |
- Resolves: rhbz#1292956, rhbz#1330711, rhbz#1330040
|
|
|
6eb832 |
|
|
|
6eb832 |
* Fri Apr 01 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-1
|
|
|
6eb832 |
- rebase to 1.6
|
|
|
6eb832 |
- Resolves: rhbz#1290472, rhbz#1279764, rhbz#1266489, rhbz#1292956, rhbz#1096273
|
|
|
4d1d36 |
|
|
|
130f5c |
* Tue Jun 30 2015 Tomas Hrcka <thrcka@redhat.com> - 1.4.2-9
|
|
|
130f5c |
- Enable tests during build time
|
|
|
130f5c |
- Disable building of *BSD sub packages
|
|
|
130f5c |
|
|
|
130f5c |
* Fri Jun 12 2015 Tomas Hrcka <thrcka@redhat.com> - 1.4.2-6
|
|
|
130f5c |
- Resolves: rhbz#1206063
|
|
|
130f5c |
|
|
|
dffe98 |
* Fri May 08 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.2-4
|
|
|
130f5c |
- Revert previous build
|
|
|
dffe98 |
- bring back non-linux and non-x86_64 subpackages
|
|
|
dffe98 |
|
|
|
dffe98 |
* Mon May 04 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.2-3
|
|
|
dffe98 |
- update to 1.4.2 (iterative build)
|
|
|
dffe98 |
- remove non-linux and non-x86_64 subpackages
|
|
|
dffe98 |
|
|
|
dffe98 |
* Mon May 04 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.2-2
|
|
|
dffe98 |
- update to 1.4.2 (iterative build)
|
|
|
dffe98 |
- emacs and vim subpackages obsoleted as they're no longer provided
|
|
|
dffe98 |
|
|
|
dffe98 |
* Fri Apr 17 2015 Lokesh Mandvekar <lsm5@redhat.com> - 1.4.2-1
|
|
|
dffe98 |
- update to 1.4.2 - initial build
|
|
|
dffe98 |
- recompile CentOS7 virt SIG srpm for rhel7
|
|
|
dffe98 |
|
|
|
dffe98 |
* Wed Feb 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-1
|
|
|
dffe98 |
- updating to go1.4.2
|
|
|
dffe98 |
|
|
|
dffe98 |
* Fri Jan 16 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.1-1
|
|
|
dffe98 |
- updating to go1.4.1
|
|
|
dffe98 |
|
|
|
dffe98 |
* Fri Jan 02 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4-2
|
|
|
dffe98 |
- doc organizing
|
|
|
dffe98 |
|
|
|
dffe98 |
* Thu Dec 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.4-1
|
|
|
dffe98 |
- update to go1.4 release
|
|
|
dffe98 |
|
|
|
dffe98 |
* Wed Dec 03 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-3.1.4rc2
|
|
|
dffe98 |
- update to go1.4rc2
|
|
|
dffe98 |
|
|
|
dffe98 |
* Mon Nov 17 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-2.1.4rc1
|
|
|
dffe98 |
- update to go1.4rc1
|
|
|
dffe98 |
|
|
|
dffe98 |
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-1.1.4beta1
|
|
|
dffe98 |
- update to go1.4beta1
|
|
|
dffe98 |
|
|
|
dffe98 |
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-3
|
|
|
dffe98 |
- macros will need to be in their own rpm
|
|
|
dffe98 |
|
|
|
dffe98 |
* Fri Oct 24 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-2
|
|
|
dffe98 |
- split out rpm macros (bz1156129)
|
|
|
dffe98 |
- progress on gccgo accomodation
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed Oct 01 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-1
|
|
|
9b5743 |
- update to go1.3.3 (bz1146882)
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon Sep 29 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.2-1
|
|
|
9b5743 |
- update to go1.3.2 (bz1147324)
|
|
|
9b5743 |
|
|
|
9b5743 |
* Thu Sep 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-3
|
|
|
9b5743 |
- patching the tzinfo failure
|
|
|
9b5743 |
|
|
|
9b5743 |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
|
|
|
9b5743 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-1
|
|
|
9b5743 |
- update to go1.3.1
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11
|
|
|
9b5743 |
- merged a line wrong
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-10
|
|
|
9b5743 |
- more work to get cgo.a timestamps to line up, due to build-env
|
|
|
9b5743 |
- explicitly list all the files and directories for the source and packages trees
|
|
|
9b5743 |
- touch all the built archives to be the same
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-9
|
|
|
9b5743 |
- make golang-src 'noarch' again, since that was not a fix, and takes up more space
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-8
|
|
|
9b5743 |
- update timestamps of source files during %%install bz1099206
|
|
|
9b5743 |
|
|
|
9b5743 |
* Fri Aug 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-7
|
|
|
9b5743 |
- update timestamps of source during %%install bz1099206
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed Aug 06 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-6
|
|
|
9b5743 |
- make the source subpackage arch'ed, instead of noarch
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon Jul 21 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-5
|
|
|
9b5743 |
- fix the writing of pax headers
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue Jul 15 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-4
|
|
|
9b5743 |
- fix the loading of gdb safe-path. bz981356
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue Jul 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-3
|
|
|
9b5743 |
- `go install std` requires gcc, to build cgo. bz1105901, bz1101508
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon Jul 07 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-2
|
|
|
9b5743 |
- archive/tar memory allocation improvements
|
|
|
9b5743 |
|
|
|
9b5743 |
* Thu Jun 19 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-1
|
|
|
9b5743 |
- update to go1.3
|
|
|
9b5743 |
|
|
|
9b5743 |
* Fri Jun 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3rc2-1
|
|
|
9b5743 |
- update to go1.3rc2
|
|
|
9b5743 |
|
|
|
9b5743 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3rc1-2
|
|
|
9b5743 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue Jun 03 2014 Vincent Batts <vbatts@redhat.com> 1.3rc1-1
|
|
|
9b5743 |
- update to go1.3rc1
|
|
|
9b5743 |
- new arch file shuffling
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.3beta2-1
|
|
|
9b5743 |
- update to go1.3beta2
|
|
|
9b5743 |
- no longer provides go-mode for xemacs (emacs only)
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-7
|
|
|
9b5743 |
- bz1099206 ghost files are not what is needed
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-6
|
|
|
9b5743 |
- bz1099206 more fixing. The packages %%post need golang-bin present first
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-5
|
|
|
9b5743 |
- bz1099206 more fixing. Let go fix its own timestamps and freshness
|
|
|
9b5743 |
|
|
|
9b5743 |
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-4
|
|
|
9b5743 |
- fix the existence and alternatives of `go` and `gofmt`
|
|
|
9b5743 |
|
|
|
9b5743 |
* Mon May 19 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-3
|
|
|
9b5743 |
- bz1099206 fix timestamp issue caused by koji builders
|
|
|
9b5743 |
|
|
|
9b5743 |
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-2
|
|
|
9b5743 |
- more arch file shuffling
|
|
|
9b5743 |
|
|
|
9b5743 |
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-1
|
|
|
9b5743 |
- update to go1.2.2
|
|
|
9b5743 |
|
|
|
9b5743 |
* Thu May 08 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-8
|
|
|
9b5743 |
- RHEL6 rpm macros can't %%exlude missing files
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-7
|
|
|
9b5743 |
- missed two arch-dependent src files
|
|
|
9b5743 |
|
|
|
9b5743 |
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-6
|
|
|
9b5743 |
- put generated arch-dependent src in their respective RPMs
|
|
|
9b5743 |
|
|
|
9b5743 |
* Fri Apr 11 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-5
|
|
|
9b5743 |
- skip test that is causing a SIGABRT on fc21 bz1086900
|
|
|
9b5743 |
|
|
|
9b5743 |
* Thu Apr 10 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-4
|
|
|
9b5743 |
- fixing file and directory ownership bz1010713
|
|
|
9b5743 |
|
|
|
4d1d36 |
* Wed Apr 09 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-3
|
|
|
4d1d36 |
- including more to macros (%%go_arches)
|
|
|
4d1d36 |
- set a standard goroot as /usr/lib/golang, regardless of arch
|
|
|
4d1d36 |
- include sub-packages for compiler toolchains, for all golang supported architectures
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Mar 26 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-2
|
|
|
e1de19 |
- provide a system rpm macros. Starting with gopath
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
|
|
|
4d1d36 |
- Update to latest upstream
|
|
|
4d1d36 |
|
|
|
9b5743 |
* Thu Feb 20 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-7
|
|
|
4d1d36 |
- Remove _BSD_SOURCE and _SVID_SOURCE, they are deprecated in recent
|
|
|
4d1d36 |
versions of glibc and aren't needed
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Feb 19 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-6
|
|
|
4d1d36 |
- pull in upstream archive/tar implementation that supports xattr for
|
|
|
4d1d36 |
docker 0.8.1
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Feb 18 2014 Vincent Batts <vbatts@redhat.com> 1.2-5
|
|
|
4d1d36 |
- provide 'go', so users can yum install 'go'
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri Jan 24 2014 Vincent Batts <vbatts@redhat.com> 1.2-4
|
|
|
4d1d36 |
- skip a flaky test that is sporadically failing on the build server
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Thu Jan 16 2014 Vincent Batts <vbatts@redhat.com> 1.2-3
|
|
|
4d1d36 |
- remove golang-godoc dependency. cyclic dependency on compiling godoc
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Dec 18 2013 Vincent Batts <vbatts@redhat.com> - 1.2-2
|
|
|
4d1d36 |
- removing P224 ECC curve
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Mon Dec 2 2013 Vincent Batts <vbatts@fedoraproject.org> - 1.2-1
|
|
|
4d1d36 |
- Update to upstream 1.2 release
|
|
|
4d1d36 |
- remove the pax tar patches
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Nov 26 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-8
|
|
|
4d1d36 |
- fix the rpmspec conditional for rhel and fedora
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Thu Nov 21 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-7
|
|
|
4d1d36 |
- patch tests for testing on rawhide
|
|
|
4d1d36 |
- let the same spec work for rhel and fedora
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Nov 20 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-6
|
|
|
4d1d36 |
- don't symlink /usr/bin out to ../lib..., move the file
|
|
|
4d1d36 |
- seperate out godoc, to accomodate the go.tools godoc
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri Sep 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-5
|
|
|
4d1d36 |
- Pull upstream patches for BZ#1010271
|
|
|
4d1d36 |
- Add glibc requirement that got dropped because of meta dep fix
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri Aug 30 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-4
|
|
|
4d1d36 |
- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-3
|
|
|
4d1d36 |
- Revert incorrect merged changelog
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-2
|
|
|
4d1d36 |
- This was reverted, just a placeholder changelog entry for bad merge
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Aug 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-1
|
|
|
4d1d36 |
- Update to latest upstream
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
|
|
|
4d1d36 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.1-6
|
|
|
4d1d36 |
- Perl 5.18 rebuild
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Jul 10 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-5
|
|
|
4d1d36 |
- Blacklist testdata files from prelink
|
|
|
4d1d36 |
- Again try to fix #973842
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri Jul 5 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-4
|
|
|
4d1d36 |
- Move src to libdir for now (#973842) (upstream issue https://code.google.com/p/go/issues/detail?id=5830)
|
|
|
4d1d36 |
- Eliminate noarch data package to work around RPM bug (#975909)
|
|
|
4d1d36 |
- Try to add runtime-gdb.py to the gdb safe-path (#981356)
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Wed Jun 19 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-3
|
|
|
4d1d36 |
- Use lua for pretrans (http://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet)
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Mon Jun 17 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-2
|
|
|
4d1d36 |
- Hopefully really fix #973842
|
|
|
4d1d36 |
- Fix update from pre-1.1.1 (#974840)
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Thu Jun 13 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-1
|
|
|
4d1d36 |
- Update to 1.1.1
|
|
|
4d1d36 |
- Fix basically useless package (#973842)
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Sat May 25 2013 Dan HorĂ¡k <dan[at]danny.cz> - 1.1-3
|
|
|
4d1d36 |
- set ExclusiveArch
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-2
|
|
|
4d1d36 |
- Fix noarch package discrepancies
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-1
|
|
|
4d1d36 |
- Initial Fedora release.
|
|
|
4d1d36 |
- Update to 1.1
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Thu May 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.3.rc3
|
|
|
4d1d36 |
- Update to rc3
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Thu Apr 11 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.2.beta2
|
|
|
4d1d36 |
- Update to beta2
|
|
|
4d1d36 |
|
|
|
4d1d36 |
* Tue Apr 9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.1.beta1
|
|
|
4d1d36 |
- Initial packaging.
|