diff --git a/go-compilers.spec b/go-compilers.spec index 16b7cc6..ab3c49c 100644 --- a/go-compilers.spec +++ b/go-compilers.spec @@ -1,6 +1,6 @@ Name: go-compilers Version: 1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Go language compilers for various architectures Group: Development/Tools License: GPLv3+ @@ -70,6 +70,10 @@ install -m 644 -D %{SOURCE1} %{buildroot}%{_rpmconfigdir}/macros.d/macros.gcc-go %endif %changelog +* Thu Sep 10 2015 jchaloup - 1-2 +- go_compiler macro must be in go-srpm-macros package as it is used + to pick compiler(go-compiler) which would provide go_compiler + * Tue Jul 07 2015 Jan Chaloupka - 1-1 - Initial commit resolves: #1258182 diff --git a/macros.gcc-go-compiler b/macros.gcc-go-compiler index b2ae622..0e656b0 100644 --- a/macros.gcc-go-compiler +++ b/macros.gcc-go-compiler @@ -15,5 +15,3 @@ %gotest() go test -compiler gccgo -gccgoflags "$RPM_OPT_FLAGS ${LDFLAGS:-}" %{?**}; -# Enable use of compiler(...) virtual provide -%go_compiler 1 diff --git a/macros.golang-compiler b/macros.golang-compiler index 47c3de8..21c1949 100644 --- a/macros.golang-compiler +++ b/macros.golang-compiler @@ -12,5 +12,3 @@ # Define commands for testing %gotest() go test -compiler gc -ldflags "${LDFLAGS:-}" %{?**}; -# Enable use of compiler(...) virtual provide -%go_compiler 1