|
|
@ -8,7 +8,7 @@ Version: 3.2.0
|
|
|
|
|
|
|
|
|
|
|
|
# Master definition that will be written to macro files
|
|
|
|
# Master definition that will be written to macro files
|
|
|
|
%global golang_arches_future x86_64 %{arm} aarch64 ppc64le s390x
|
|
|
|
%global golang_arches_future x86_64 %{arm} aarch64 ppc64le s390x
|
|
|
|
%global golang_arches %{ix86} %{golang_arches_future}
|
|
|
|
%global golang_arches %{golang_arches_future}
|
|
|
|
%global gccgo_arches %{mips}
|
|
|
|
%global gccgo_arches %{mips}
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%if 0%{?rhel} >= 9
|
|
|
|
%global golang_arches x86_64 aarch64 ppc64le s390x
|
|
|
|
%global golang_arches x86_64 aarch64 ppc64le s390x
|
|
|
@ -91,7 +91,6 @@ pull it in for Go packages only.
|
|
|
|
%package -n go-srpm-macros
|
|
|
|
%package -n go-srpm-macros
|
|
|
|
Summary: Source-stage rpm automation for Go packages
|
|
|
|
Summary: Source-stage rpm automation for Go packages
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
ExclusiveArch: %{golang_arches} %{gccgo_arches} i686
|
|
|
|
|
|
|
|
Requires: redhat-rpm-config
|
|
|
|
Requires: redhat-rpm-config
|
|
|
|
|
|
|
|
|
|
|
|
%description -n go-srpm-macros
|
|
|
|
%description -n go-srpm-macros
|
|
|
@ -115,7 +114,6 @@ This package contains the basic directory layout used by Go packages.
|
|
|
|
Summary: RPM spec templates for Go packages
|
|
|
|
Summary: RPM spec templates for Go packages
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
ExclusiveArch: %{golang_arches} %{gccgo_arches} i686
|
|
|
|
|
|
|
|
Requires: go-rpm-macros = %{version}-%{release}
|
|
|
|
Requires: go-rpm-macros = %{version}-%{release}
|
|
|
|
#https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/51
|
|
|
|
#https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/51
|
|
|
|
#Requires: redhat-rpm-templates
|
|
|
|
#Requires: redhat-rpm-templates
|
|
|
|