pgreco / rpms / golang

Forked from rpms/golang 5 years ago
Clone

Blame SPECS/golang.spec

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