Blob Blame History Raw
# Generated by go2rpm
%bcond_without check

# https://github.com/golang/arch
%global goipath  golang.org/x/arch
%global forgeurl https://github.com/golang/arch
Version:         0.7.0

%gometa

%global common_description %{expand:
This package holds machine architecture information used by the Go toolchain.}

%global golicenses      LICENSE PATENTS
%global godocs          AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md

Name:           %{goname}
Release:        %autorelease
Summary:        Machine architecture information used by the Go toolchain

# Upstream license specification: BSD-3-Clause
# BSD. main library
# MIT: x86/x86asm/testdata/libmach8db.c
# ASL 2.0: x86/x86avxgen/testdata/xedpath/*.txt
License:        BSD and MIT and ASL 2.0
URL:            %{gourl}
Source0:        %{gosource}

BuildRequires:  golang(rsc.io/pdf)

# See https://github.com/golang/go/issues/66005
Patch01:	disable-tests.patch

%description
%{common_description}

%gopkg

%prep
%goprep
%autopatch -v -p1

%install
%gopkginstall

%if %{with check}
%check
%gocheck
%endif

%gopkgfiles

%changelog
%autochangelog