Blame SPECS/golang.spec

adc3a9
%undefine _missing_build_ids_terminate_build
adc3a9
00bee6
%global bcond_with strict_fips
00bee6
adc3a9
# build ids are not currently generated:
adc3a9
# https://code.google.com/p/go/issues/detail?id=5238
adc3a9
#
adc3a9
# also, debuginfo extraction currently fails with
adc3a9
# "Failed to write file: invalid section alignment"
adc3a9
%global debug_package %{nil}
adc3a9
adc3a9
# we are shipping the full contents of src in the data subpackage, which
adc3a9
# contains binary-like things (ELF data for tests, etc)
adc3a9
%global _binaries_in_noarch_packages_terminate_build 0
adc3a9
adc3a9
# Do not check any files in doc or src for requires
adc3a9
%global __requires_exclude_from ^(%{_datadir}|/usr/lib)/%{name}/(doc|src)/.*$
adc3a9
adc3a9
# Don't alter timestamps of especially the .a files (or else go will rebuild later)
adc3a9
# Actually, don't strip at all since we are not even building debug packages and this corrupts the dwarf testdata
adc3a9
%global __strip /bin/true
adc3a9
adc3a9
# rpmbuild magic to keep from having meta dependency on libc.so.6
adc3a9
%define _use_internal_dependency_generator 0
adc3a9
%define __find_requires %{nil}
adc3a9
%global __spec_install_post /usr/lib/rpm/check-rpaths   /usr/lib/rpm/check-buildroot  \
adc3a9
  /usr/lib/rpm/brp-compress
adc3a9
adc3a9
# Define GOROOT macros
adc3a9
%global goroot          %{_prefix}/lib/%{name}
adc3a9
%global gopath          %{_datadir}/gocode
e24a6e
%global golang_arches   x86_64 aarch64 ppc64le s390x
adc3a9
%global golibdir        %{_libdir}/%{name}
adc3a9
adc3a9
# Golang build options.
adc3a9
adc3a9
# Build golang using external/internal(close to cgo disabled) linking.
e24a6e
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
adc3a9
%global external_linker 1
adc3a9
%else
adc3a9
%global external_linker 0
adc3a9
%endif
adc3a9
adc3a9
# Build golang with cgo enabled/disabled(later equals more or less to internal linking).
e24a6e
%ifarch x86_64 ppc64le %{arm} aarch64 s390x
adc3a9
%global cgo_enabled 1
adc3a9
%else
adc3a9
%global cgo_enabled 0
adc3a9
%endif
adc3a9
adc3a9
# Use golang/gcc-go as bootstrap compiler
adc3a9
%ifarch %{golang_arches}
adc3a9
%global golang_bootstrap 1
adc3a9
%else
adc3a9
%global golang_bootstrap 0
adc3a9
%endif
adc3a9
adc3a9
# Controls what ever we fail on failed tests
aae78f
%ifarch x86_64 %{arm} aarch64 ppc64le s390x
adc3a9
%global fail_on_tests 1
adc3a9
%else
adc3a9
%global fail_on_tests 0
adc3a9
%endif
adc3a9
adc3a9
# Build golang shared objects for stdlib
adc3a9
%ifarch 0
adc3a9
%global shared 1
adc3a9
%else
adc3a9
%global shared 0
adc3a9
%endif
adc3a9
adc3a9
# Pre build std lib with -race enabled
adc3a9
%ifarch x86_64
adc3a9
%global race 1
adc3a9
%else
adc3a9
%global race 0
adc3a9
%endif
adc3a9
adc3a9
%ifarch x86_64
adc3a9
%global gohostarch  amd64
adc3a9
%endif
adc3a9
%ifarch %{arm}
adc3a9
%global gohostarch  arm
adc3a9
%endif
adc3a9
%ifarch aarch64
adc3a9
%global gohostarch  arm64
adc3a9
%endif
adc3a9
%ifarch ppc64
adc3a9
%global gohostarch  ppc64
adc3a9
%endif
adc3a9
%ifarch ppc64le
adc3a9
%global gohostarch  ppc64le
adc3a9
%endif
adc3a9
%ifarch s390x
adc3a9
%global gohostarch  s390x
adc3a9
%endif
adc3a9
aae78f
%global go_api 1.19
aae78f
%global version 1.19.4
00bee6
%global pkg_release 1
adc3a9
adc3a9
Name:           golang
aae78f
Version:        %{version}
aae78f
Release:        2%{?dist}
adc3a9
Summary:        The Go Programming Language
adc3a9
# source tree includes several copies of Mark.Twain-Tom.Sawyer.txt under Public Domain
adc3a9
License:        BSD and Public Domain
adc3a9
URL:            http://golang.org/
aae78f
Source0:        https://github.com/golang/go/archive/refs/tags/go%{version}.tar.gz
aae78f
# Go's FIPS mode bindings are now provided as a standalone
aae78f
# module instead of in tree.  This makes it easier to see
aae78f
# the actual changes vs upstream Go.  The module source is
aae78f
# located at https://github.com/golang-fips/openssl-fips,
aae78f
# And pre-genetated patches to set up the module for a given
aae78f
# Go release are located at https://github.com/golang-fips/go.
aae78f
Source1:       https://github.com/golang-fips/go/archive/refs/tags/go%{version}-%{pkg_release}-openssl-fips.tar.gz
adc3a9
# make possible to override default traceback level at build time by setting build tag rpm_crashtraceback
aae78f
Source2:        fedora.go
adc3a9
adc3a9
# The compiler is written in Go. Needs go(1.4+) compiler for build.
adc3a9
# Actual Go based bootstrap compiler provided by above source.
adc3a9
%if !%{golang_bootstrap}
adc3a9
BuildRequires:  gcc-go >= 5
adc3a9
%else
adc3a9
BuildRequires:  golang
adc3a9
%endif
adc3a9
%if 0%{?rhel} > 6 || 0%{?fedora} > 0
adc3a9
BuildRequires:  hostname
adc3a9
%else
adc3a9
BuildRequires:  net-tools
adc3a9
%endif
adc3a9
# For OpenSSL FIPS
adc3a9
BuildRequires:  openssl-devel
adc3a9
# for tests
adc3a9
BuildRequires:  pcre-devel, glibc-static, perl
adc3a9
adc3a9
Provides:       go = %{version}-%{release}
adc3a9
Requires:       %{name}-bin = %{version}-%{release}
adc3a9
Requires:       %{name}-src = %{version}-%{release}
adc3a9
Requires:       openssl-devel
41f000
Requires:       diffutils
adc3a9
adc3a9
adc3a9
# Proposed patch by jcajka https://golang.org/cl/86541
c78fef
Patch221:       fix_TestScript_list_std.patch
41f000
aae78f
Patch1939923:   skip_test_rhbz1939923.patch
41f000
aae78f
Patch2: 	disable_static_tests_part1.patch
aae78f
Patch3: 	disable_static_tests_part2.patch
aae78f
Patch4:		ppc64le-internal-linker-fix.patch
aae78f
Patch5:		fix-test-1024-leaf-certs.patch
aae78f
Patch6:		fix-memory-leak-evp-sign-verify.patch
aae78f
aae78f
Patch227: cmd-link-use-correct-path-for-dynamic-loader-on-ppc6.patch
41f000
adc3a9
# Having documentation separate was broken
adc3a9
Obsoletes:      %{name}-docs < 1.1-4
adc3a9
adc3a9
# RPM can't handle symlink -> dir with subpackages, so merge back
adc3a9
Obsoletes:      %{name}-data < 1.1.1-4
adc3a9
adc3a9
# These are the only RHEL/Fedora architectures that we compile this package for
adc3a9
ExclusiveArch:  %{golang_arches}
adc3a9
adc3a9
Source100:      golang-gdbinit
adc3a9
Source101:      golang-prelink.conf
adc3a9
adc3a9
%description
adc3a9
%{summary}.
adc3a9
adc3a9
%package       docs
adc3a9
Summary:       Golang compiler docs
adc3a9
Requires:      %{name} = %{version}-%{release}
adc3a9
BuildArch:     noarch
adc3a9
Obsoletes:     %{name}-docs < 1.1-4
adc3a9
adc3a9
%description   docs
adc3a9
%{summary}.
adc3a9
adc3a9
%package       misc
adc3a9
Summary:       Golang compiler miscellaneous sources
adc3a9
Requires:      %{name} = %{version}-%{release}
adc3a9
BuildArch:     noarch
adc3a9
adc3a9
%description   misc
adc3a9
%{summary}.
adc3a9
adc3a9
%package       tests
adc3a9
Summary:       Golang compiler tests for stdlib
adc3a9
Requires:      %{name} = %{version}-%{release}
adc3a9
BuildArch:     noarch
adc3a9
adc3a9
%description   tests
adc3a9
%{summary}.
adc3a9
adc3a9
%package        src
adc3a9
Summary:        Golang compiler source tree
adc3a9
BuildArch:      noarch
adc3a9
adc3a9
%description    src
adc3a9
%{summary}
adc3a9
adc3a9
%package        bin
adc3a9
Summary:        Golang core compiler tools
adc3a9
Requires:       %{name} = %{version}-%{release}
adc3a9
adc3a9
# We strip the meta dependency, but go does require glibc.
adc3a9
# This is an odd issue, still looking for a better fix.
adc3a9
Requires:       glibc
adc3a9
Requires:       /usr/bin/gcc
adc3a9
%description    bin
adc3a9
%{summary}
adc3a9
adc3a9
# Workaround old RPM bug of symlink-replaced-with-dir failure
adc3a9
%pretrans -p <lua>
adc3a9
for _,d in pairs({"api", "doc", "include", "lib", "src"}) do
adc3a9
  path = "%{goroot}/" .. d
adc3a9
  if posix.stat(path, "type") == "link" then
adc3a9
    os.remove(path)
adc3a9
    posix.mkdir(path)
adc3a9
  end
adc3a9
end
adc3a9
adc3a9
%if %{shared}
adc3a9
%package        shared
adc3a9
Summary:        Golang shared object libraries
adc3a9
adc3a9
%description    shared
adc3a9
%{summary}.
adc3a9
%endif
adc3a9
adc3a9
%if %{race}
adc3a9
%package        race
adc3a9
Summary:        Golang std library with -race enabled
adc3a9
adc3a9
Requires:       %{name} = %{version}-%{release}
adc3a9
adc3a9
%description    race
adc3a9
%{summary}
adc3a9
%endif
adc3a9
adc3a9
%prep
aae78f
%setup -q -n go-go%{version}
aae78f
aae78f
pushd ..
aae78f
tar -xf %{SOURCE1}
aae78f
popd
aae78f
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/000-initial-setup.patch
aae78f
patch -p1 < ../go-go%{version}-%{pkg_release}-openssl-fips/patches/001-initial-openssl-for-fips.patch
aae78f
aae78f
%patch2 -p1
aae78f
%patch3 -p1
aae78f
%patch4 -p1
aae78f
%patch5 -p1
aae78f
%patch6 -p1
adc3a9
adc3a9
%patch221 -p1
41f000
aae78f
%patch1939923 -p1
aae78f
%patch227 -p1
aae78f
aae78f
cp %{SOURCE2} ./src/runtime/
adc3a9
adc3a9
%build
adc3a9
set -xe
adc3a9
# print out system information
adc3a9
uname -a
adc3a9
cat /proc/cpuinfo
adc3a9
cat /proc/meminfo
adc3a9
adc3a9
# bootstrap compiler GOROOT
adc3a9
%if !%{golang_bootstrap}
adc3a9
export GOROOT_BOOTSTRAP=/
adc3a9
%else
adc3a9
export GOROOT_BOOTSTRAP=/opt/rh/go-toolset-1.10/root/usr/lib/go-toolset-1.10-golang
adc3a9
%endif
adc3a9
adc3a9
# set up final install location
adc3a9
export GOROOT_FINAL=%{goroot}
adc3a9
adc3a9
export GOHOSTOS=linux
adc3a9
export GOHOSTARCH=%{gohostarch}
adc3a9
adc3a9
pushd src
adc3a9
# use our gcc options for this build, but store gcc as default for compiler
adc3a9
export CFLAGS="$RPM_OPT_FLAGS"
adc3a9
export LDFLAGS="$RPM_LD_FLAGS"
adc3a9
export CC="gcc"
adc3a9
export CC_FOR_TARGET="gcc"
adc3a9
export GOOS=linux
adc3a9
export GOARCH=%{gohostarch}
adc3a9
adc3a9
DEFAULT_GO_LD_FLAGS=""
adc3a9
%if !%{external_linker}
adc3a9
export GO_LDFLAGS="-linkmode internal $DEFAULT_GO_LD_FLAGS"
adc3a9
%else
adc3a9
# Only pass a select subset of the external hardening flags. We do not pass along
adc3a9
# the default $RPM_LD_FLAGS as on certain arches Go does not fully, correctly support
adc3a9
# building in PIE mode.
adc3a9
export GO_LDFLAGS="\"-extldflags=-Wl,-z,now,-z,relro\" $DEFAULT_GO_LD_FLAGS"
adc3a9
%endif
adc3a9
%if !%{cgo_enabled}
adc3a9
export CGO_ENABLED=0
adc3a9
%endif
adc3a9
./make.bash --no-clean
adc3a9
popd
adc3a9
adc3a9
# build shared std lib
adc3a9
%if %{shared}
adc3a9
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -buildmode=shared std
adc3a9
%endif
adc3a9
adc3a9
%if %{race}
adc3a9
GOROOT=$(pwd) PATH=$(pwd)/bin:$PATH go install -race std
adc3a9
%endif
adc3a9
adc3a9
adc3a9
%install
adc3a9
adc3a9
rm -rf $RPM_BUILD_ROOT
adc3a9
adc3a9
# create the top level directories
adc3a9
mkdir -p $RPM_BUILD_ROOT%{_bindir}
adc3a9
mkdir -p $RPM_BUILD_ROOT%{goroot}
adc3a9
adc3a9
# remove bootstrap binaries
adc3a9
rm -rf pkg/bootstrap/bin
adc3a9
adc3a9
# install everything into libdir (until symlink problems are fixed)
adc3a9
# https://code.google.com/p/go/issues/detail?id=5830
1072a9
cp -apv api bin doc lib pkg src misc test VERSION \
adc3a9
   $RPM_BUILD_ROOT%{goroot}
adc3a9
adc3a9
# bz1099206
adc3a9
find $RPM_BUILD_ROOT%{goroot}/src -exec touch -r $RPM_BUILD_ROOT%{goroot}/VERSION "{}" \;
adc3a9
# and level out all the built archives
adc3a9
touch $RPM_BUILD_ROOT%{goroot}/pkg
adc3a9
find $RPM_BUILD_ROOT%{goroot}/pkg -exec touch -r $RPM_BUILD_ROOT%{goroot}/pkg "{}" \;
adc3a9
# generate the spec file ownership of this source tree and packages
adc3a9
cwd=$(pwd)
adc3a9
src_list=$cwd/go-src.list
adc3a9
pkg_list=$cwd/go-pkg.list
adc3a9
shared_list=$cwd/go-shared.list
adc3a9
race_list=$cwd/go-race.list
adc3a9
misc_list=$cwd/go-misc.list
adc3a9
docs_list=$cwd/go-docs.list
adc3a9
tests_list=$cwd/go-tests.list
adc3a9
rm -f $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
adc3a9
touch $src_list $pkg_list $docs_list $misc_list $tests_list $shared_list $race_list
adc3a9
pushd $RPM_BUILD_ROOT%{goroot}
adc3a9
    find src/ -type d -a \( ! -name testdata -a ! -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $src_list
adc3a9
    find src/ ! -type d -a \( ! -ipath '*/testdata/*' -a ! -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $src_list
adc3a9
adc3a9
    find bin/ pkg/ -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%%%dir %{goroot}/%p\n' >> $pkg_list
adc3a9
    find bin/ pkg/ ! -type d -a ! -path '*_dynlink/*' -a ! -path '*_race/*' -printf '%{goroot}/%p\n' >> $pkg_list
adc3a9
adc3a9
    find doc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $docs_list
adc3a9
    find doc/ ! -type d -printf '%{goroot}/%p\n' >> $docs_list
adc3a9
adc3a9
    find misc/ -type d -printf '%%%dir %{goroot}/%p\n' >> $misc_list
adc3a9
    find misc/ ! -type d -printf '%{goroot}/%p\n' >> $misc_list
adc3a9
adc3a9
%if %{shared}
adc3a9
    mkdir -p %{buildroot}/%{_libdir}/
adc3a9
    mkdir -p %{buildroot}/%{golibdir}/
adc3a9
    for file in $(find .  -iname "*.so" ); do
adc3a9
        chmod 755 $file
adc3a9
        mv  $file %{buildroot}/%{golibdir}
adc3a9
        pushd $(dirname $file)
adc3a9
        ln -fs %{golibdir}/$(basename $file) $(basename $file)
adc3a9
        popd
adc3a9
        echo "%%{goroot}/$file" >> $shared_list
adc3a9
        echo "%%{golibdir}/$(basename $file)" >> $shared_list
adc3a9
    done
adc3a9
    
adc3a9
    find pkg/*_dynlink/ -type d -printf '%%%dir %{goroot}/%p\n' >> $shared_list
adc3a9
    find pkg/*_dynlink/ ! -type d -printf '%{goroot}/%p\n' >> $shared_list
adc3a9
%endif
adc3a9
adc3a9
%if %{race}
adc3a9
adc3a9
    find pkg/*_race/ -type d -printf '%%%dir %{goroot}/%p\n' >> $race_list
adc3a9
    find pkg/*_race/ ! -type d -printf '%{goroot}/%p\n' >> $race_list
adc3a9
adc3a9
%endif
adc3a9
adc3a9
    find test/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
adc3a9
    find test/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
adc3a9
    find src/ -type d -a \( -name testdata -o -ipath '*/testdata/*' \) -printf '%%%dir %{goroot}/%p\n' >> $tests_list
adc3a9
    find src/ ! -type d -a \( -ipath '*/testdata/*' -o -name '*_test*.go' \) -printf '%{goroot}/%p\n' >> $tests_list
adc3a9
    # this is only the zoneinfo.zip
adc3a9
    find lib/ -type d -printf '%%%dir %{goroot}/%p\n' >> $tests_list
adc3a9
    find lib/ ! -type d -printf '%{goroot}/%p\n' >> $tests_list
adc3a9
popd
adc3a9
adc3a9
# remove the doc Makefile
adc3a9
rm -rfv $RPM_BUILD_ROOT%{goroot}/doc/Makefile
adc3a9
adc3a9
# put binaries to bindir, linked to the arch we're building,
adc3a9
# leave the arch independent pieces in {goroot}
adc3a9
mkdir -p $RPM_BUILD_ROOT%{goroot}/bin/linux_%{gohostarch}
adc3a9
ln -sf %{goroot}/bin/go $RPM_BUILD_ROOT%{_bindir}/go
adc3a9
ln -sf %{goroot}/bin/gofmt $RPM_BUILD_ROOT%{_bindir}/gofmt
adc3a9
adc3a9
# ensure these exist and are owned
adc3a9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/github.com
adc3a9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/bitbucket.org
adc3a9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/code.google.com/p
adc3a9
mkdir -p $RPM_BUILD_ROOT%{gopath}/src/golang.org/x
adc3a9
adc3a9
# gdbinit
adc3a9
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d
adc3a9
cp -av %{SOURCE100} $RPM_BUILD_ROOT%{_sysconfdir}/gdbinit.d/golang.gdb
adc3a9
adc3a9
# prelink blacklist
adc3a9
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d
adc3a9
cp -av %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/prelink.conf.d/golang.conf
adc3a9
1072a9
# Quick fix for the rhbz#2014704
1072a9
sed -i 's/const defaultGO_LDSO = `.*`/const defaultGO_LDSO = ``/' $RPM_BUILD_ROOT%{goroot}/src/internal/buildcfg/zbootstrap.go
1072a9
adc3a9
%check
adc3a9
export GOROOT=$(pwd -P)
adc3a9
export PATH="$GOROOT"/bin:"$PATH"
adc3a9
cd src
adc3a9
adc3a9
# Add some sanity checks.
adc3a9
echo "GO VERSION:"
adc3a9
go version
adc3a9
adc3a9
echo "GO ENVIRONMENT:"
adc3a9
go env
adc3a9
adc3a9
export CC="gcc"
adc3a9
export CFLAGS="$RPM_OPT_FLAGS"
adc3a9
export LDFLAGS="$RPM_LD_FLAGS"
adc3a9
%if !%{external_linker}
adc3a9
export GO_LDFLAGS="-linkmode internal"
adc3a9
%else
adc3a9
export GO_LDFLAGS="-extldflags '$RPM_LD_FLAGS'"
adc3a9
%endif
adc3a9
%if !%{cgo_enabled} || !%{external_linker}
adc3a9
export CGO_ENABLED=0
adc3a9
%endif
adc3a9
adc3a9
# make sure to not timeout
adc3a9
export GO_TEST_TIMEOUT_SCALE=2
adc3a9
adc3a9
export GO_TEST_RUN=""
adc3a9
%ifarch aarch64
adc3a9
  export GO_TEST_RUN="-run=!testshared"
adc3a9
%endif
adc3a9
adc3a9
%if %{fail_on_tests}
00bee6
1072a9
# TestEd25519Vectors needs network connectivity but it should be cover by
1072a9
# this test https://pkgs.devel.redhat.com/cgit/tests/golang/tree/Regression/internal-testsuite/runtest.sh#n127
1072a9
aae78f
./run.bash --no-rebuild -v -v -v -k $GO_TEST_RUN
adc3a9
adc3a9
# Run tests with FIPS enabled.
adc3a9
export GOLANG_FIPS=1
adc3a9
pushd crypto
adc3a9
  # Run all crypto tests but skip TLS, we will run FIPS specific TLS tests later
aae78f
  go test $(go list ./... | grep -v tls) -v
adc3a9
  # Check that signature functions have parity between boring and notboring
aae78f
  CGO_ENABLED=0 go test $(go list ./... | grep -v tls) -v
adc3a9
popd
adc3a9
# Run all FIPS specific TLS tests
adc3a9
pushd crypto/tls
aae78f
  go test -v -run "Boring"
adc3a9
popd
adc3a9
%else
adc3a9
./run.bash --no-rebuild -v -v -v -k || :
adc3a9
%endif
adc3a9
cd ..
adc3a9
adc3a9
%files
adc3a9
aae78f
%doc LICENSE PATENTS
adc3a9
# VERSION has to be present in the GOROOT, for `go install std` to work
adc3a9
%doc %{goroot}/VERSION
adc3a9
%dir %{goroot}/doc
adc3a9
%doc %{goroot}/doc/*
adc3a9
adc3a9
# go files
adc3a9
%dir %{goroot}
adc3a9
%exclude %{goroot}/bin/
adc3a9
%exclude %{goroot}/pkg/
adc3a9
%exclude %{goroot}/src/
adc3a9
%exclude %{goroot}/doc/
adc3a9
%exclude %{goroot}/misc/
adc3a9
%exclude %{goroot}/test/
adc3a9
%{goroot}/*
adc3a9
adc3a9
# ensure directory ownership, so they are cleaned up if empty
adc3a9
%dir %{gopath}
adc3a9
%dir %{gopath}/src
adc3a9
%dir %{gopath}/src/github.com/
adc3a9
%dir %{gopath}/src/bitbucket.org/
adc3a9
%dir %{gopath}/src/code.google.com/
adc3a9
%dir %{gopath}/src/code.google.com/p/
adc3a9
%dir %{gopath}/src/golang.org
adc3a9
%dir %{gopath}/src/golang.org/x
adc3a9
adc3a9
# gdbinit (for gdb debugging)
adc3a9
%{_sysconfdir}/gdbinit.d
adc3a9
adc3a9
# prelink blacklist
adc3a9
%{_sysconfdir}/prelink.conf.d
adc3a9
adc3a9
adc3a9
%files -f go-src.list src
adc3a9
adc3a9
%files -f go-docs.list docs
adc3a9
adc3a9
%files -f go-misc.list misc
adc3a9
adc3a9
%files -f go-tests.list tests
adc3a9
adc3a9
%files -f go-pkg.list bin
adc3a9
%{_bindir}/go
adc3a9
%{_bindir}/gofmt
adc3a9
adc3a9
%if %{shared}
adc3a9
%files -f go-shared.list shared
adc3a9
%endif
adc3a9
adc3a9
%if %{race}
adc3a9
%files -f go-race.list race
adc3a9
%endif
adc3a9
adc3a9
%changelog
aae78f
* Tue Jan 3 2023 David Benoit <dbenoit@redhat.com> - 1.19.4-2
aae78f
- Fix memory leaks in EVP_{sign,verify}_raw
aae78f
- Resolves: rhbz#2132767
aae78f
aae78f
* Wed Dec 21 2022 David Benoit <dbenoit@redhat.com> - 1.19.4-1
aae78f
- Rebase to Go 1.19.4
aae78f
- Fix ppc64le linker issue
aae78f
- Remove defunct patches
aae78f
- Remove downstream generated FIPS mode patches
aae78f
- Add golang-fips/go as the source for FIPS mode patches
aae78f
- Resolves: rhbz#2144542
aae78f
aae78f
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-4
aae78f
- Enable big endian support in FIPS mode
aae78f
- Resolves: rhbz#1969844
aae78f
aae78f
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-3
aae78f
- Restore old HashSign/HashVerify API
aae78f
- Resolves: rhbz#2132730
aae78f
aae78f
* Mon Oct 17 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-2
aae78f
- Add support for 4096 bit keys in x509
aae78f
- Resolves: rhbz#2132694
aae78f
aae78f
* Thu Oct 13 2022 David Benoit <dbenoit@redhat.com> - 1.19.2-1
aae78f
- Rebase to Go 1.19.2
aae78f
- Resolves: rhbz#2132730
aae78f
aae78f
* Wed Sep 14 2022 David Benoit <dbenoit@redhat.com> - 1.19.1-2
aae78f
- Rebase to Go 1.19.1
aae78f
- Resolves: rhbz#2131026
aae78f
aae78f
* Wed Aug 03 2022 Alejandro SĂ¡ez <asm@redhat.com> - 1.18.4-2
aae78f
- Adds patch for PIE mode issues on PPC64LE
aae78f
- Resolves: rhbz#2111593
aae78f
a2144f
* Wed Jul 20 2022 David Benoit <dbenoit@redhat.com> - 1.18.4-1
a2144f
- Update Go to version 1.18.4
a2144f
- Resolves: rhbz#2109179
a2144f
a2144f
* Wed Jul 20 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-3
a2144f
- Clean up dist-git patches
a2144f
- Resolves: rhbz#2109175
a2144f
a2144f
* Thu Jul 07 2022 Alejandro SĂ¡ez <asm@redhat.com> - 1.18.2-2
a2144f
- Bump up release version
a2144f
- Related: rhbz#2075162
a2144f
a2144f
* Thu Jun 16 2022 David Benoit <dbenoit@redhat.com> - 1.18.2-1
a2144f
- Update to Go 1.18.2
a2144f
- Related: rhbz#2075162
a2144f
a2144f
* Mon Apr 18 2022 David Benoit <dbenoit@redhat.com> - 1.18.0-2
a2144f
- Enable SHA1 in some contexts
a2144f
- Related: rhbz#2075162
a2144f
a2144f
* Wed Apr 13 2022 David Benoit <dbenoit@redhat.com> - 1.18.0-1
a2144f
- Update Go to 1.18.0
a2144f
- Resolves: rhbz#2075162
a2144f
1072a9
* Thu Feb 17 2022 David Benoit <dbenoit@redhat.com> - 1.17.7-1
1072a9
- Rebase to Go 1.17.7
1072a9
- Remove fips memory leak patch (fixed in tree)
1072a9
- Resolves: rhbz#2015930
1072a9
1072a9
* Fri Dec 10 2021 David Benoit <dbenoit@redhat.com> - 1.17.5-1
1072a9
- Rebase to Go 1.17.5
1072a9
- Remove vdso_s390x_gettime patch
1072a9
- Resolves: rhbz#2031112
1072a9
- Related: rhbz#2028570
1072a9
1072a9
* Fri Dec 03 2021 David Benoit <dbenoit@redhat.com> - 1.17.4-1
1072a9
- Rebase Go to 1.17.4
1072a9
- Add remove_waitgroup_misuse_tests patch
1072a9
- Related: rhbz#2014088
1072a9
- Resolves: rhbz#2028570
1072a9
- Resolves: rhbz#2022828
1072a9
- Resolves: rhbz#2024686
1072a9
- Resolves: rhbz#2028662
1072a9
1072a9
* Wed Oct 27 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.17.2-2
1072a9
- Resolves: rhbz#2014704
1072a9
1072a9
* Tue Oct 12 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.17.2-1
1072a9
- Rebase to Go 1.17.2
1072a9
- Related: rhbz#2014088
1072a9
- Remove golang-1.15-warnCN.patch
1072a9
- Remove reject-leading-zeros.patch
1072a9
- Remove favicon.ico and robots.txt references
1072a9
- Exclude TestEd25519Vectors test 
1072a9
c78fef
* Tue Aug 17 2021 David Benoit <dbenoit@redhat.com> - 1.16.7-1
c78fef
- Rebase to Go 1.16.7
c78fef
- Resolves: rhbz#1994079
c78fef
- Add reject leading zeros patch
c78fef
- Resolves: rhbz#1993314
c78fef
c78fef
* Wed Jul 21 2021 Derek Parker <deparker@redhat.com> - 1.16.6-2
c78fef
- Fix TestBoringServerCurves failure when run by itself
c78fef
- Resolves: rhbz#1976168
c78fef
c78fef
* Thu Jul 15 2021 David Benoit <dbenoit@redhat.com> - 1.16.6-1
c78fef
- Rebase to go-1.16.6-1-openssl-fips
c78fef
- Resolves: rhbz#1982281
c78fef
- Addresses CVE-2021-34558
c78fef
c78fef
* Tue Jul 06 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.5-1
c78fef
- Rebase to 1.16.5
c78fef
- Removes rhbz#1955032 patch, it's already included in this release
c78fef
- Removes rhbz#1956891 patch, it's already included in this release
c78fef
- Related: rhbz#1979677
c78fef
- Related: rhbz#1968738
c78fef
- Related: rhbz#1972420
c78fef
c78fef
* Thu Jun 17 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-3
c78fef
- Fix zero-size allocation memory leak.
c78fef
- Related: rhbz#1951877
c78fef
c78fef
* Tue Jun 08 2021 David Benoit <dbenoit@redhat.com> - 1.16.4-2
c78fef
- Resolves: rhbz#1951877
c78fef
c78fef
* Mon May 24 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.4-1
c78fef
- Rebase to go-1.16.4-1-openssl-fips
c78fef
c78fef
* Tue May 04 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.1-3
c78fef
- Resolves: rhbz#1956891
c78fef
c78fef
* Thu Apr 29 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.1-2
c78fef
- Resolves: rhbz#1955032
c78fef
c78fef
* Wed Mar 17 2021 Alejandro SĂ¡ez <asm@redhat.com> - 1.16.1-1
c78fef
- Rebase to go-1.16.1-2-openssl-fips
c78fef
- Resolves: rhbz#1938071
c78fef
- Adds a workaround for rhbz#1939923
c78fef
- Removes Patch224, it's on upstream -> rhbz#1888673
c78fef
- Removes Patch225, it's on upstream -> https://go-review.googlesource.com/c/text/+/238238
c78fef
- Removes old patches for cleaning purposes
c78fef
41f000
* Fri Jan 22 2021 David Benoit <dbenoit@redhat.com> - 1.15.7-1
41f000
- Rebase to 1.15.7
41f000
- Resolves: rhbz#1870531
41f000
- Resolves: rhbz#1919261
41f000
41f000
* Tue Nov 24 2020 David Benoit <dbenoit@redhat.com> - 1.15.5-1
41f000
- Rebase to 1.15.5
41f000
- Resolves: rhbz#1898652
41f000
- Resolves: rhbz#1898660
41f000
- Resolves: rhbz#1898649
41f000
41f000
* Mon Nov 16 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-2
41f000
- fix typo in patch file name
41f000
- Related: rhbz#1881539
41f000
41f000
* Thu Nov 12 2020 David Benoit <dbenoit@redhat.com> - 1.15.3-1
41f000
- Rebase to 1.15.3
41f000
- fix x/text infinite loop
41f000
- Resolves: rhbz#1881539
41f000
41f000
* Tue Nov 03 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.15.2-2
41f000
- Resolves: rhbz#1850045
41f000
41f000
* Mon Oct 19 2020 David Benoit <dbenoit@redhat.com> - 1.15.2-1
41f000
- Rebase to 1.15.2
41f000
- fix rhbz#1872622 in commit af9a1b1f6567a1c5273a134d395bfe7bb840b7f8
41f000
- Resolves: rhbz#1872622
41f000
- add net/http graceful shutdown patch
41f000
- Resolves: rhbz#1888673
41f000
- add x509warnCN patch
41f000
- Resolves: rhbz#1889437
41f000
41f000
* Wed Sep 09 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.15.0-1
41f000
- Rebase to 1.15.0
41f000
- Related: rhbz#1870531
41f000
41f000
* Thu Aug 27 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.7-2
41f000
- Improve test suite
41f000
- Resolves: rhbz#1854693
41f000
41f000
* Tue Aug 18 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.7-1
41f000
- Rebase to 1.14.7
41f000
41f000
* Mon Aug 03 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.6-1
41f000
- Rebase to 1.14.6
41f000
- Resolves: rhbz#1820596
41f000
41f000
* Wed Jul 08 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.4-2
41f000
- Include patch to fix missing deferreturn on linux/ppc64le
41f000
- Resolves: rhbz#1854836
41f000
e24a6e
* Thu Jun 25 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.4-1
e24a6e
- Rebase to 1.14.4
e24a6e
e24a6e
* Thu May 21 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.2-2
e24a6e
- Remove i686 references
e24a6e
- Related: rhbz#1752991
e24a6e
e24a6e
* Wed May 06 2020 Alejandro SĂ¡ez <asm@redhat.com> - 1.14.2-1
e24a6e
- Rebase to 1.14.2
e24a6e
- Related: rhbz#1820596
e24a6e
00bee6
* Wed Nov 27 2019 Alejandro SĂ¡ez <asm@redhat.com> - 1.13.4-2
00bee6
- Remove patches
00bee6
- Related: rhbz#1747150
00bee6
00bee6
* Mon Nov 25 2019 Alejandro SĂ¡ez <asm@redhat.com> - 1.13.4-1
00bee6
- Rebase to 1.13.4
00bee6
- Related: rhbz#1747150
00bee6
00bee6
* Tue Sep 17 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-4
00bee6
- Reduce number of threads when testing on i686
00bee6
00bee6
* Wed Sep 11 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-3
00bee6
- Relax FIPS requirements to unblock OpenShift testing
00bee6
00bee6
* Wed Aug 28 2019 Tom Stellard <tstellar@redhat.com> - 1.12.8-2
00bee6
- Rebase to 1.12.8
00bee6
- Resolves: rhbz#1745706
00bee6
- Resolves: rhbz#1745712
00bee6
00bee6
* Mon Aug 5 2019 Derek Parker <deparker@redhat.com> - 1.12.6-3
00bee6
- Add README for more documentation
00bee6
- Resolves: rhbz#1734788
00bee6
00bee6
* Fri Aug 2 2019 Derek Parker <deparker@redhat.com> - 1.12.6-3
00bee6
- Revert some TLS FIPS changes for now
00bee6
- Resolves: rhbz#1734788
00bee6
00bee6
* Thu Aug 1 2019 Derek Parker <deparker@redhat.com> - 1.12.6-2
00bee6
- Updates to be less strict on key size in FIPS mode
00bee6
- Resolves: rhbz#1734788
00bee6
adc3a9
* Thu Jun 13 2019 Derek Parker <deparker@redhat.com> - 1.12.6-1
adc3a9
- Rebase to 1.12.6
adc3a9
- Resolves: rhbz#1677819
adc3a9
adc3a9
* Thu Jun 13 2019 Derek Parker <deparker@redhat.com> - 1.12.5-2
adc3a9
- Remove macros present in go-compiler
adc3a9
- Resolves: rhbz#1700109
adc3a9
adc3a9
* Wed Jun 12 2019 Derek Parker <deparker@redhat.com> - 1.12.5-1
adc3a9
- Rebase to 1.12.5
adc3a9
- Resolves: rhbz#1677819
adc3a9
adc3a9
* Wed May 29 2019 Derek Parker <deparker@redhat.com> - 1.12.1-2
adc3a9
- Lock OpenSSL to specific built version and include more initialization.
adc3a9
- Resolves: rhbz#1709603
adc3a9
adc3a9
* Fri May 10 2019 Derek Parker <deparker@redhat.com> - 1.12.1-1
adc3a9
- Rebase to 1.12.1
adc3a9
- Include FIPS compliance updates
adc3a9
- Resolves: rhbz#1709603
adc3a9
adc3a9
* Thu Apr 4 2019 Derek Parker <deparker@redhat.com> - 1.11.5-2
adc3a9
- Include patch to fix CVE-2019-9741
adc3a9
- Resolves: rhbz#1690443
adc3a9
adc3a9
* Mon Feb 18 2019 Derek Parker <deparker@redhat.com> - 1.11.5-2
adc3a9
- Switch to pagure fork for Go FIPS
adc3a9
adc3a9
* Thu Feb 7 2019 Derek Parker <deparker@redhat.com> - 1.11.5-1
adc3a9
- Rebase to Go 1.11.5
adc3a9
- Resolves: rhbz#1671277
adc3a9
- Fixes CVE-2019-6486
adc3a9
adc3a9
* Thu Jan 3 2019 Derek Parker <deparker@redhat.com> - 1.11.4-1
adc3a9
- Rebase to Go 1.11.4
adc3a9
- Fixes CVE-2018-16873, CVE-2018-16874, CVE-2018-16875
adc3a9
adc3a9
* Thu Dec 6 2018 Derek Parker <deparker@redhat.com> - 1.11.2-1
adc3a9
- Rebase to Go 1.11.2
adc3a9
adc3a9
* Fri Nov 16 2018 Derek Parker <deparker@redhat.com> - 1.10.3-18
adc3a9
- Remove SCL from macros
adc3a9
adc3a9
* Wed Nov 7 2018 Derek Parker <deparker@redhat.com> - 1.10.3-17
adc3a9
- Prefer go-toolset over go-toolset-1.10
adc3a9
- Resolves: rhbz#1630786
adc3a9
adc3a9
* Mon Nov 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-16
adc3a9
- Fix implicit syscall declaration warning
adc3a9
adc3a9
* Mon Nov 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-15
adc3a9
- Remove usage of redhat hardening flag file, just pass a select few manually
adc3a9
- Resolves: rhbz#1642798
adc3a9
adc3a9
* Wed Oct 31 2018 Derek Parker <deparker@redhat.com> - 1.10.3-14
adc3a9
- Do not build toolchain in PIE mode
adc3a9
- Resolves: rhbz#1642798
adc3a9
adc3a9
* Fri Oct 26 2018 Derek Parker <deparker@redhat.com> - 1.10.3-13
adc3a9
- Fix setting of internal FIPS enabled flag
adc3a9
- Resolves: rhbz#1643653
adc3a9
adc3a9
* Wed Oct 10 2018 Derek Parker <deparker@redhat.com> - 1.10.3-12
adc3a9
- Pass external linker flags to fix annocheck errors
adc3a9
- Resolves: rhbz#1624421
adc3a9
adc3a9
* Wed Oct 10 2018 Derek Parker <deparker@redhat.com> - 1.10.3-11
adc3a9
- Fix UnreachableExceptTests false panic
adc3a9
- Resolves: rhbz#1634748
adc3a9
adc3a9
* Fri Oct 5 2018 Derek Parker <deparker@redhat.com> - 1.10.3-10
adc3a9
- Remove SCL, fix bug in boringcrypto with ecdsa
adc3a9
- Related: rhbz#1635066
adc3a9
- Resolves: rhbz#1636221
adc3a9
adc3a9
* Wed Sep 26 2018 Derek Parker <deparker@redhat.com> - 1.10.3-9
adc3a9
- Add runtime FIPS detection patches
adc3a9
- Resolves: rhbz#1633351
adc3a9
adc3a9
* Fri Sep 21 2018 Derek Parker <deparker@redhat.com> - 1.10.3-8
adc3a9
- Add `gobuild` and `gotest` macros from go-compilers
adc3a9
- Resolves: rhbz#1631846
adc3a9
adc3a9
* Thu Sep 20 2018 Derek Parker <deparker@redhat.com> - 1.10.3-7
adc3a9
- Bootstrap package using old build of same package
adc3a9
- Resolves: rhbz#1630786
adc3a9
adc3a9
* Mon Aug 13 2018 Derek Parker <deparker@redhat.com> - 1.10.3-6
adc3a9
- Update stack allocation of OpenSSL type patch
adc3a9
- Resolves: rhbz#1615032
adc3a9
adc3a9
* Sat Aug 11 2018 Troy Dawson <tdawson@redhat.com> - 1.10.3-5
adc3a9
- Build on i686
adc3a9
- Related: bug#1614611
adc3a9
adc3a9
* Tue Aug 7 2018 Derek Parker <deparker@redhat.com> - 1.10.3-4
adc3a9
- Add patch fixing stack allocation of opaque OpenSSL type bug.
adc3a9
- Resolves: rhbz#1613538
adc3a9
adc3a9
* Thu Aug 2 2018 Derek Parker <deparker@redhat.com> - 1.10.3-3
adc3a9
- Add patch with tag to opt out of OpenSSL during build
adc3a9
adc3a9
* Wed Jul 25 2018 Derek Parker <deparker@redhat.com> - 1.10.3-2
adc3a9
- Add runtime requirement for openssl-devel and misc updates
adc3a9
adc3a9
* Tue Jul 24 2018 Derek Parker <deparker@redhat.com> - 1.10.3-1
adc3a9
- Bump to 1.10.3
adc3a9
adc3a9
* Tue Jul 24 2018 Derek Parker <deparker@redhat.com> - 1.10.2-3
adc3a9
- Prepare for module build
adc3a9
adc3a9
* Wed Jun 27 2018 Derek Parker <deparker@redhat.com> - 1.10.2-2
adc3a9
- Include FIPS patches
adc3a9
adc3a9
* Wed May 23 2018 Derek Parker <deparker@redhat.com> - 1.10.2-1
adc3a9
- Bump to Go 1.10.2
adc3a9
adc3a9
* Thu Mar 15 2018 Derek Parker <deparker@redhat.com> - 1.10-1
adc3a9
- Bump to Go 1.10
adc3a9
adc3a9
* Wed Oct 18 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.5-1
adc3a9
- Fix CVE-2017-15041 and CVE-2017-15042
adc3a9
- Resolves: BZ#1499160, BZ#1498073, BZ#1512063
adc3a9
adc3a9
* Thu Aug 31 2017 Tom Stellard <tstellar@redhat.com> - 1.8.3-4
adc3a9
- Explicitly require /usr/bin/gcc
adc3a9
- Resolves: #1487345
adc3a9
adc3a9
* Thu Jun 22 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-3
adc3a9
- apply asn1 patch
adc3a9
- add ppc64le trampolines patch
adc3a9
adc3a9
* Wed Jun 14 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-2
adc3a9
- regular GTS build
adc3a9
adc3a9
* Tue Jun 06 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8.3-1
adc3a9
- initial GTS build
adc3a9
adc3a9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-0.rc3.2.1
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
adc3a9
adc3a9
* Fri Jan 27 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-0.rc3.2
adc3a9
- make possible to override default traceback level at build time
adc3a9
- add sub-package race containing std lib built with -race enabled
adc3a9
- Related: BZ#1411242
adc3a9
adc3a9
* Fri Jan 27 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.8-0.rc3.1
adc3a9
- rebase to go1.8rc3
adc3a9
- Resolves: BZ#1411242
adc3a9
adc3a9
* Fri Jan 20 2017 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-2
adc3a9
- Resolves: BZ#1404679
adc3a9
- expose IfInfomsg.X__ifi_pad on s390x
adc3a9
adc3a9
* Fri Dec 02 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.4-1
adc3a9
- Bump to 1.7.4
adc3a9
- Resolves: BZ#1400732
adc3a9
adc3a9
* Thu Nov 17 2016 Tom Callaway <spot@fedoraproject.org> - 1.7.3-2
adc3a9
- re-enable the NIST P-224 curve
adc3a9
adc3a9
* Thu Oct 20 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.3-1
adc3a9
- Resolves: BZ#1387067 - golang-1.7.3 is available
adc3a9
- added fix for tests failing with latest tzdata
adc3a9
adc3a9
* Fri Sep 23 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.1-2
adc3a9
- fix link failure due to relocation overflows on PPC64X
adc3a9
adc3a9
* Thu Sep 08 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7.1-1
adc3a9
- rebase to 1.7.1
adc3a9
- Resolves: BZ#1374103
adc3a9
adc3a9
* Tue Aug 23 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-1
adc3a9
- update to released version
adc3a9
- related: BZ#1342090, BZ#1357394
adc3a9
adc3a9
* Mon Aug 08 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.3.rc5
adc3a9
- Obsolete golang-vet and golang-cover from golang-googlecode-tools package
adc3a9
  vet/cover binaries are provided by golang-bin rpm (thanks to jchaloup)
adc3a9
- clean up exclusive arch after s390x boostrap
adc3a9
- resolves: #1268206
adc3a9
adc3a9
* Wed Aug 03 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.2.rc5
adc3a9
- rebase to go1.7rc5
adc3a9
- Resolves: BZ#1342090
adc3a9
adc3a9
* Thu Jul 21 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7-0.1.rc2
adc3a9
- https://fedoraproject.org/wiki/Changes/golang1.7
adc3a9
adc3a9
* Tue Jul 19 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.7-0.0.rc2
adc3a9
- rebase to 1.7rc2
adc3a9
- added s390x build
adc3a9
- improved shared lib packaging
adc3a9
- Resolves: bz1357602 - CVE-2016-5386
adc3a9
- Resolves: bz1342090, bz1342090
adc3a9
adc3a9
* Tue Apr 26 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.2-1
adc3a9
- rebase to 1.6.2
adc3a9
- Resolves: bz1329206 - golang-1.6.2.src is available
adc3a9
adc3a9
* Wed Apr 13 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6.1-1
adc3a9
- rebase to 1.6.1
adc3a9
- Resolves: bz1324344 - CVE-2016-3959
adc3a9
- Resolves: bz1324951 - prelink is gone, /etc/prelink.conf.d/* is no longer used
adc3a9
- Resolves: bz1326366 - wrong epoll_event struct for ppc64le/ppc64
adc3a9
adc3a9
* Mon Feb 22 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-1
adc3a9
- Resolves: bz1304701 - rebase to go1.6 release
adc3a9
- Resolves: bz1304591 - fix possible stack miss-alignment in callCgoMmap
adc3a9
adc3a9
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-0.3.rc1
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
adc3a9
adc3a9
* Fri Jan 29 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-0.2.rc1
adc3a9
- disabled cgo and external linking on ppc64
adc3a9
adc3a9
* Thu Jan 28 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.6-0.1.rc1
adc3a9
- Resolves bz1292640, rebase to pre-release 1.6
adc3a9
- bootstrap for PowerPC
adc3a9
- fix rpmlint errors/warning
adc3a9
adc3a9
* Thu Jan 14 2016 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.3-1
adc3a9
- rebase to 1.5.3
adc3a9
- resolves bz1293451, CVE-2015-8618
adc3a9
- apply timezone patch, avoid using bundled data
adc3a9
- print out rpm build system info
adc3a9
adc3a9
* Fri Dec 11 2015 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.2-2
adc3a9
- bz1290543 Accept x509 certs with negative serial
adc3a9
adc3a9
* Tue Dec 08 2015 Jakub ÄŒajka <jcajka@redhat.com> - 1.5.2-1
adc3a9
- bz1288263 rebase to 1.5.2
adc3a9
- spec file clean up
adc3a9
- added build options
adc3a9
- scrubbed "Project Gutenberg License"
adc3a9
adc3a9
* Mon Oct 19 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-1
adc3a9
- bz1271709 include patch from upstream fix
adc3a9
adc3a9
* Wed Sep 09 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5.1-0
adc3a9
- update to go1.5.1
adc3a9
adc3a9
* Fri Sep 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-8
adc3a9
- bz1258166 remove srpm macros, for go-srpm-macros
adc3a9
adc3a9
* Thu Sep 03 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-7
adc3a9
- bz1258166 remove srpm macros, for go-srpm-macros
adc3a9
adc3a9
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-6
adc3a9
- starting a shared object subpackage. This will be x86_64 only until upstream supports more arches shared objects.
adc3a9
adc3a9
* Thu Aug 27 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-5
adc3a9
- bz991759 gdb path fix
adc3a9
adc3a9
* Wed Aug 26 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-4
adc3a9
- disable shared object until linux/386 is ironned out
adc3a9
- including the test/ directory for tests
adc3a9
adc3a9
* Tue Aug 25 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-3
adc3a9
- bz1256910 only allow the golang zoneinfo.zip to be used in tests
adc3a9
- bz1166611 add golang.org/x directory
adc3a9
- bz1256525 include stdlib shared object. This will let other libraries and binaries
adc3a9
  build with `go build -buildmode=shared -linkshared ...` or similar.
adc3a9
adc3a9
* Sun Aug 23 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-2
adc3a9
- Enable aarch64
adc3a9
- Minor cleanups
adc3a9
adc3a9
* Thu Aug 20 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-1
adc3a9
- updating to go1.5
adc3a9
adc3a9
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.11.rc1
adc3a9
- fixing the sources reference
adc3a9
adc3a9
* Thu Aug 06 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.10.rc1
adc3a9
- updating to go1.5rc1
adc3a9
- checks are back in place
adc3a9
adc3a9
* Tue Aug 04 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.9.beta3
adc3a9
- pull in upstream archive/tar fix
adc3a9
adc3a9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.8.beta3
adc3a9
- updating to go1.5beta3
adc3a9
adc3a9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.7.beta2
adc3a9
- add the patch ..
adc3a9
adc3a9
* Thu Jul 30 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.5-0.6.beta2
adc3a9
- increase ELFRESERVE (bz1248071)
adc3a9
adc3a9
* Tue Jul 28 2015 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1.5-0.5.beta2
adc3a9
- correct package version and release tags as per naming guidelines
adc3a9
adc3a9
* Fri Jul 17 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-4.1.5beta2
adc3a9
- adding test output, for visibility
adc3a9
adc3a9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-3.1.5beta2
adc3a9
- updating to go1.5beta2
adc3a9
adc3a9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-2.1.5beta1
adc3a9
- add checksum to sources and fixed one patch
adc3a9
adc3a9
* Fri Jul 10 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.99-1.1.5beta1
adc3a9
- updating to go1.5beta1
adc3a9
adc3a9
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.2-3
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
adc3a9
adc3a9
* Wed Mar 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-2
adc3a9
- obsoleting deprecated packages
adc3a9
adc3a9
* Wed Feb 18 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.2-1
adc3a9
- updating to go1.4.2
adc3a9
adc3a9
* Fri Jan 16 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4.1-1
adc3a9
- updating to go1.4.1
adc3a9
adc3a9
* Fri Jan 02 2015 Vincent Batts <vbatts@fedoraproject.org> - 1.4-2
adc3a9
- doc organizing
adc3a9
adc3a9
* Thu Dec 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.4-1
adc3a9
- update to go1.4 release
adc3a9
adc3a9
* Wed Dec 03 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-3.1.4rc2
adc3a9
- update to go1.4rc2
adc3a9
adc3a9
* Mon Nov 17 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-2.1.4rc1
adc3a9
- update to go1.4rc1
adc3a9
adc3a9
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.99-1.1.4beta1
adc3a9
- update to go1.4beta1
adc3a9
adc3a9
* Thu Oct 30 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-3
adc3a9
- macros will need to be in their own rpm
adc3a9
adc3a9
* Fri Oct 24 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-2
adc3a9
- split out rpm macros (bz1156129)
adc3a9
- progress on gccgo accomodation
adc3a9
adc3a9
* Wed Oct 01 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.3-1
adc3a9
- update to go1.3.3 (bz1146882)
adc3a9
adc3a9
* Mon Sep 29 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.2-1
adc3a9
- update to go1.3.2 (bz1147324)
adc3a9
adc3a9
* Thu Sep 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-3
adc3a9
- patching the tzinfo failure
adc3a9
adc3a9
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
adc3a9
adc3a9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3.1-1
adc3a9
- update to go1.3.1
adc3a9
adc3a9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-11
adc3a9
- merged a line wrong
adc3a9
adc3a9
* Wed Aug 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-10
adc3a9
- more work to get cgo.a timestamps to line up, due to build-env
adc3a9
- explicitly list all the files and directories for the source and packages trees
adc3a9
- touch all the built archives to be the same
adc3a9
adc3a9
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-9
adc3a9
- make golang-src 'noarch' again, since that was not a fix, and takes up more space
adc3a9
adc3a9
* Mon Aug 11 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-8
adc3a9
- update timestamps of source files during %%install bz1099206
adc3a9
adc3a9
* Fri Aug 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-7
adc3a9
- update timestamps of source during %%install bz1099206
adc3a9
adc3a9
* Wed Aug 06 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-6
adc3a9
- make the source subpackage arch'ed, instead of noarch
adc3a9
adc3a9
* Mon Jul 21 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-5
adc3a9
- fix the writing of pax headers
adc3a9
adc3a9
* Tue Jul 15 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-4
adc3a9
- fix the loading of gdb safe-path. bz981356
adc3a9
adc3a9
* Tue Jul 08 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-3
adc3a9
- `go install std` requires gcc, to build cgo. bz1105901, bz1101508
adc3a9
adc3a9
* Mon Jul 07 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-2
adc3a9
- archive/tar memory allocation improvements
adc3a9
adc3a9
* Thu Jun 19 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3-1
adc3a9
- update to go1.3
adc3a9
adc3a9
* Fri Jun 13 2014 Vincent Batts <vbatts@fedoraproject.org> - 1.3rc2-1
adc3a9
- update to go1.3rc2
adc3a9
adc3a9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3rc1-2
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
adc3a9
adc3a9
* Tue Jun 03 2014 Vincent Batts <vbatts@redhat.com> 1.3rc1-1
adc3a9
- update to go1.3rc1
adc3a9
- new arch file shuffling
adc3a9
adc3a9
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.3beta2-1
adc3a9
- update to go1.3beta2
adc3a9
- no longer provides go-mode for xemacs (emacs only)
adc3a9
adc3a9
* Wed May 21 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-7
adc3a9
- bz1099206 ghost files are not what is needed
adc3a9
adc3a9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-6
adc3a9
- bz1099206 more fixing. The packages %%post need golang-bin present first
adc3a9
adc3a9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-5
adc3a9
- bz1099206 more fixing. Let go fix its own timestamps and freshness
adc3a9
adc3a9
* Tue May 20 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-4
adc3a9
- fix the existence and alternatives of `go` and `gofmt`
adc3a9
adc3a9
* Mon May 19 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-3
adc3a9
- bz1099206 fix timestamp issue caused by koji builders
adc3a9
adc3a9
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-2
adc3a9
- more arch file shuffling
adc3a9
adc3a9
* Fri May 09 2014 Vincent Batts <vbatts@redhat.com> 1.2.2-1
adc3a9
- update to go1.2.2
adc3a9
adc3a9
* Thu May 08 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-8
adc3a9
- RHEL6 rpm macros can't %%exlude missing files
adc3a9
adc3a9
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-7
adc3a9
- missed two arch-dependent src files
adc3a9
adc3a9
* Wed May 07 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-6
adc3a9
- put generated arch-dependent src in their respective RPMs
adc3a9
adc3a9
* Fri Apr 11 2014 Vincent Batts <vbatts@redhat.com> 1.2.1-5
adc3a9
- skip test that is causing a SIGABRT on fc21 bz1086900
adc3a9
adc3a9
* Thu Apr 10 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-4
adc3a9
- fixing file and directory ownership bz1010713
adc3a9
adc3a9
* Wed Apr 09 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-3
adc3a9
- including more to macros (%%go_arches)
adc3a9
- set a standard goroot as /usr/lib/golang, regardless of arch
adc3a9
- include sub-packages for compiler toolchains, for all golang supported architectures
adc3a9
adc3a9
* Wed Mar 26 2014 Vincent Batts <vbatts@fedoraproject.org> 1.2.1-2
adc3a9
- provide a system rpm macros. Starting with gopath
adc3a9
adc3a9
* Tue Mar 04 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2.1-1
adc3a9
- Update to latest upstream
adc3a9
adc3a9
* Thu Feb 20 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-7
adc3a9
- Remove  _BSD_SOURCE and _SVID_SOURCE, they are deprecated in recent
adc3a9
  versions of glibc and aren't needed
adc3a9
adc3a9
* Wed Feb 19 2014 Adam Miller <maxamillion@fedoraproject.org> 1.2-6
adc3a9
- pull in upstream archive/tar implementation that supports xattr for
adc3a9
  docker 0.8.1
adc3a9
adc3a9
* Tue Feb 18 2014 Vincent Batts <vbatts@redhat.com> 1.2-5
adc3a9
- provide 'go', so users can yum install 'go'
adc3a9
adc3a9
* Fri Jan 24 2014 Vincent Batts <vbatts@redhat.com> 1.2-4
adc3a9
- skip a flaky test that is sporadically failing on the build server
adc3a9
adc3a9
* Thu Jan 16 2014 Vincent Batts <vbatts@redhat.com> 1.2-3
adc3a9
- remove golang-godoc dependency. cyclic dependency on compiling godoc
adc3a9
adc3a9
* Wed Dec 18 2013 Vincent Batts <vbatts@redhat.com> - 1.2-2
adc3a9
- removing P224 ECC curve
adc3a9
adc3a9
* Mon Dec 2 2013 Vincent Batts <vbatts@fedoraproject.org> - 1.2-1
adc3a9
- Update to upstream 1.2 release
adc3a9
- remove the pax tar patches
adc3a9
adc3a9
* Tue Nov 26 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-8
adc3a9
- fix the rpmspec conditional for rhel and fedora
adc3a9
adc3a9
* Thu Nov 21 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-7
adc3a9
- patch tests for testing on rawhide
adc3a9
- let the same spec work for rhel and fedora
adc3a9
adc3a9
* Wed Nov 20 2013 Vincent Batts <vbatts@redhat.com> - 1.1.2-6
adc3a9
- don't symlink /usr/bin out to ../lib..., move the file
adc3a9
- seperate out godoc, to accomodate the go.tools godoc
adc3a9
adc3a9
* Fri Sep 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-5
adc3a9
- Pull upstream patches for BZ#1010271
adc3a9
- Add glibc requirement that got dropped because of meta dep fix
adc3a9
adc3a9
* Fri Aug 30 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-4
adc3a9
- fix the libc meta dependency (thanks to vbatts [at] redhat.com for the fix)
adc3a9
adc3a9
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-3
adc3a9
- Revert incorrect merged changelog
adc3a9
adc3a9
* Tue Aug 27 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-2
adc3a9
- This was reverted, just a placeholder changelog entry for bad merge
adc3a9
adc3a9
* Tue Aug 20 2013 Adam Miller <maxamillion@fedoraproject.org> - 1.1.2-1
adc3a9
- Update to latest upstream
adc3a9
adc3a9
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-7
adc3a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
adc3a9
adc3a9
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.1.1-6
adc3a9
- Perl 5.18 rebuild
adc3a9
adc3a9
* Wed Jul 10 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-5
adc3a9
- Blacklist testdata files from prelink
adc3a9
- Again try to fix #973842
adc3a9
adc3a9
* Fri Jul  5 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-4
adc3a9
- Move src to libdir for now (#973842) (upstream issue https://code.google.com/p/go/issues/detail?id=5830)
adc3a9
- Eliminate noarch data package to work around RPM bug (#975909)
adc3a9
- Try to add runtime-gdb.py to the gdb safe-path (#981356)
adc3a9
adc3a9
* Wed Jun 19 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-3
adc3a9
- Use lua for pretrans (http://fedoraproject.org/wiki/Packaging:Guidelines#The_.25pretrans_scriptlet)
adc3a9
adc3a9
* Mon Jun 17 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-2
adc3a9
- Hopefully really fix #973842
adc3a9
- Fix update from pre-1.1.1 (#974840)
adc3a9
adc3a9
* Thu Jun 13 2013 Adam Goode <adam@spicenitz.org> - 1.1.1-1
adc3a9
- Update to 1.1.1
adc3a9
- Fix basically useless package (#973842)
adc3a9
adc3a9
* Sat May 25 2013 Dan HorĂ¡k <dan[at]danny.cz> - 1.1-3
adc3a9
- set ExclusiveArch
adc3a9
adc3a9
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-2
adc3a9
- Fix noarch package discrepancies
adc3a9
adc3a9
* Fri May 24 2013 Adam Goode <adam@spicenitz.org> - 1.1-1
adc3a9
- Initial Fedora release.
adc3a9
- Update to 1.1
adc3a9
adc3a9
* Thu May  9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.3.rc3
adc3a9
- Update to rc3
adc3a9
adc3a9
* Thu Apr 11 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.2.beta2
adc3a9
- Update to beta2
adc3a9
adc3a9
* Tue Apr  9 2013 Adam Goode <adam@spicenitz.org> - 1.1-0.1.beta1
adc3a9
- Initial packaging.