|
|
5562fc0 |
Name: go-compilers
|
|
|
5562fc0 |
Version: 1
|
|
|
c2fc43f |
Release: 17%{?dist}
|
|
|
5562fc0 |
Summary: Go language compilers for various architectures
|
|
|
5562fc0 |
Group: Development/Tools
|
|
|
5562fc0 |
License: GPLv3+
|
|
|
5562fc0 |
Source0: macros.golang-compiler
|
|
|
5562fc0 |
Source1: macros.gcc-go-compiler
|
|
|
5562fc0 |
|
|
|
5562fc0 |
ExclusiveArch: %{go_arches}
|
|
|
5562fc0 |
|
|
|
5562fc0 |
# for install, cut and rm commands
|
|
|
5562fc0 |
BuildRequires: coreutils
|
|
|
5562fc0 |
# for go specific macros
|
|
|
5562fc0 |
BuildRequires: go-srpm-macros
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%description
|
|
|
5562fc0 |
The package provides correct golang language compiler
|
|
|
5562fc0 |
base on an architectures.
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%ifarch %{golang_arches}
|
|
|
5562fc0 |
%package golang-compiler
|
|
|
5562fc0 |
Summary: compiler for golang
|
|
|
5562fc0 |
|
|
|
5562fc0 |
Requires: golang
|
|
|
5562fc0 |
|
|
|
ada8744 |
Provides: compiler(go-compiler) = 2
|
|
|
5562fc0 |
Provides: compiler(golang)
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%description golang-compiler
|
|
|
5562fc0 |
Compiler for golang.
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%ifarch %{gccgo_arches}
|
|
|
5562fc0 |
%package gcc-go-compiler
|
|
|
5562fc0 |
Summary: compiler for gcc-go
|
|
|
5562fc0 |
|
|
|
7d51777 |
# GCC>=5 holds in Fedora now
|
|
|
7d51777 |
Requires: gcc-go
|
|
|
5562fc0 |
|
|
|
e88d34d |
Provides: compiler(go-compiler) = 1
|
|
|
5562fc0 |
Provides: compiler(gcc-go)
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%description gcc-go-compiler
|
|
|
5562fc0 |
Compiler for gcc-go.
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%prep
|
|
|
5562fc0 |
# nothing to prep, just for hooks
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%build
|
|
|
5562fc0 |
# nothing to build, just for hooks
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%install
|
|
|
5562fc0 |
%ifarch %{golang_arches}
|
|
|
5562fc0 |
install -m 644 -D %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.golang-compiler
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%ifarch %{gccgo_arches}
|
|
|
5562fc0 |
install -m 644 -D %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.gcc-go-compiler
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%ifarch %{golang_arches}
|
|
|
5562fc0 |
%files golang-compiler
|
|
|
5562fc0 |
%{_rpmconfigdir}/macros.d/macros.golang-compiler
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%ifarch %{gccgo_arches}
|
|
|
5562fc0 |
%files gcc-go-compiler
|
|
|
5562fc0 |
%{_rpmconfigdir}/macros.d/macros.gcc-go-compiler
|
|
|
5562fc0 |
%endif
|
|
|
5562fc0 |
|
|
|
5562fc0 |
%changelog
|
|
|
c2fc43f |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1-17
|
|
|
c2fc43f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
c2fc43f |
|
|
|
28e047c |
* Tue Jan 16 2018 Jakub Čajka <jcajka@redhat.com> - 1-16
|
|
|
28e047c |
- use build mode pie also for testing(we are getting pie ld flag from hardening), this resolves linker issues on ppc64le
|
|
|
28e047c |
|
|
|
7d2b700 |
* Thu Nov 30 2017 Jakub Čajka <jcajka@redhat.com> - 1-15
|
|
|
7d2b700 |
- allow to specify __golang_extldflags macro to specify extldflags with go* macros
|
|
|
7d2b700 |
- Resolves: rhbz#1502305
|
|
|
7d2b700 |
|
|
|
4cc5de7 |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-14
|
|
|
4cc5de7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
4cc5de7 |
|
|
|
46135e1 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-13
|
|
|
46135e1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
46135e1 |
|
|
|
d201919 |
* Fri Jul 14 2017 Jakub Čajka <jcajka@redhat.com> - 1-12
|
|
|
d201919 |
- rebuild for ppc64 drop
|
|
|
d201919 |
|
|
|
29f5437 |
* Wed Feb 15 2017 Jakub Čajka <jcajka@redhat.com> - 1-11
|
|
|
29f5437 |
- pie is not supported on ppc64
|
|
|
29f5437 |
|
|
|
2165e58 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1-10
|
|
|
2165e58 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2165e58 |
|
|
|
a842527 |
* Fri Jan 27 2017 Jakub Čajka <jcajka@redhat.com> - 1-9
|
|
|
a842527 |
- Add crash traceback level to golang as default
|
|
|
a842527 |
- Switch to PIE and push distribution ld flags
|
|
|
a842527 |
- Resolves BZ#1413529
|
|
|
a842527 |
- Related BZ#1411242
|
|
|
a842527 |
|
|
|
fd11467 |
* Wed Jul 20 2016 Jakub Čajka <jcajka@redhat.com> - 1-8
|
|
|
fd11467 |
- Build for s390x switch to golang
|
|
|
fd11467 |
- Related: bz1357394
|
|
|
fd11467 |
|
|
|
90738b6 |
* Wed Apr 13 2016 Dan Horák <dan[at]danny.cz> - 1-7
|
|
|
90738b6 |
- fix bug in gcc-go version of gotest macro
|
|
|
90738b6 |
|
|
|
5f6f6ef |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1-6
|
|
|
5f6f6ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
5f6f6ef |
|
|
|
ada8744 |
* Thu Jan 28 2016 Jakub Čajka <jcajka@redhat.com> - 1-5
|
|
|
ada8744 |
- Build for {power64} switch to golang
|
|
|
ada8744 |
|
|
|
e88d34d |
* Fri Jan 22 2016 Jakub Čajka <jcajka@redhat.com> - 1-4
|
|
|
e88d34d |
- version provides to make seamless transition between compilers possible
|
|
|
e88d34d |
- Resolves: bz#1300717
|
|
|
e88d34d |
|
|
|
7d51777 |
* Thu Nov 12 2015 Jakub Čajka <jcajka@redhat.com> - 1-3
|
|
|
7d51777 |
- remove version requirement from gcc-go subpackage to avoid cyclic
|
|
|
7d51777 |
dependency due to macro declaration in subpackage
|
|
|
7d51777 |
|
|
|
b8c1ec6 |
* Thu Sep 10 2015 jchaloup <jchaloup@redhat.com> - 1-2
|
|
|
b8c1ec6 |
- go_compiler macro must be in go-srpm-macros package as it is used
|
|
|
b8c1ec6 |
to pick compiler(go-compiler) which would provide go_compiler
|
|
|
b8c1ec6 |
|
|
|
5562fc0 |
* Tue Jul 07 2015 Jan Chaloupka <jchaloup@redhat.com> - 1-1
|
|
|
5562fc0 |
- Initial commit
|
|
|
5562fc0 |
resolves: #1258182
|