#48 Introduce %golang_arches_future and stop using %go_arches
Merged by gotmax23. Opened by gotmax23.
gotmax23/go-rpm-macros golang_arches_future  into  master

Download 48.patch

This introduces a new %golang_arches_future macro that is the same as
%golang_arches but without %ix86. This way, packagers can replace
ExclusvieArch: %go_arches or %golang_arches with it to exclude their
package from the aforementioned architecture. For packages that use
%gometa, they simply need to pass the -f flag, which makes the package
exclusive to %golang_arches_future, instead of %golang_arches.

%gometa was also updated to generate ExclusiveArch: %{golang_arches}
instead of on %{go_arches}, by default, as %{go_arches} includes
%{gccgo_arches}, which only includes architectures that Fedora does not
actually build against.

Related PRs:

  • distgit repo: https://src.fedoraproject.org/rpms/go-rpm-macros/pull-request/8
  • go2rpm: https://pagure.io/GoSIG/go2rpm/pull-request/21

lgtm, although, won't we need to go back to all the -f created once we are out of ix86 completely?

lgtm, although, won't we need to go back to all the -f created once we are out of ix86 completely?

That or make it no-op and print deprecation warnings. I think we can cross that bridge when we come to it.

Pull-Request has been merged by gotmax23

Metadata