Blame golang-x-arch.spec

12282eb
# Generated by go2rpm
62e5e70
%bcond_without check
62e5e70
62e5e70
# https://github.com/golang/arch
21d4a43
%global goipath  golang.org/x/arch
21d4a43
%global forgeurl https://github.com/golang/arch
Packit 142aa00
Version:         0.7.0
12282eb
12282eb
%gometa
62e5e70
62e5e70
%global common_description %{expand:
12282eb
This package holds machine architecture information used by the Go toolchain.}
62e5e70
12282eb
%global golicenses      LICENSE PATENTS
12282eb
%global godocs          AUTHORS CONTRIBUTING.md CONTRIBUTORS README.md
62e5e70
62e5e70
Name:           %{goname}
6c161a7
Release:        %autorelease
62e5e70
Summary:        Machine architecture information used by the Go toolchain
12282eb
12282eb
# Upstream license specification: BSD-3-Clause
12282eb
# BSD. main library
12282eb
# MIT: x86/x86asm/testdata/libmach8db.c
12282eb
# ASL 2.0: x86/x86avxgen/testdata/xedpath/*.txt
62e5e70
License:        BSD and MIT and ASL 2.0
62e5e70
URL:            %{gourl}
62e5e70
Source0:        %{gosource}
62e5e70
12282eb
BuildRequires:  golang(rsc.io/pdf)
62e5e70
Packit 142aa00
# See https://github.com/golang/go/issues/66005
Packit 142aa00
Patch01:	disable-tests.patch
Packit 142aa00
12282eb
%description
62e5e70
%{common_description}
62e5e70
12282eb
%gopkg
62e5e70
62e5e70
%prep
12282eb
%goprep
Packit 142aa00
%autopatch -v -p1
62e5e70
62e5e70
%install
12282eb
%gopkginstall
62e5e70
62e5e70
%if %{with check}
62e5e70
%check
12282eb
%gocheck
62e5e70
%endif
62e5e70
12282eb
%gopkgfiles
62e5e70
62e5e70
%changelog
6c161a7
%autochangelog