Files
golang-github-fxamacker-cbo…/golang-github-fxamacker-cbor.spec
T
2025-01-10 18:12:01 +01:00

61 lines
1.3 KiB
RPMSpec

# Generated by go2rpm 1.15.0
%bcond check 1
%bcond bootstrap 0
%global debug_package %{nil}
%if %{with bootstrap}
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
%endif
# https://github.com/fxamacker/cbor
%global goipath github.com/fxamacker/cbor
Version: 2.7.0
%gometa -L -f
%global goaltipaths github.com/fxamacker/cbor/v2
%global common_description %{expand:
CBOR codec (RFC 8949) with CBOR tags, Go struct tags (toarray, keyasint,
omitempty), float64/32/16, big.Int, and fuzz tested billions of execs.}
%global golicenses LICENSE
%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md README.md\\\
SECURITY.md
Name: golang-github-fxamacker-cbor
Release: %autorelease
Summary: CBOR codec (RFC 8949) with CBOR tags, Go struct tags (toarray, keyasint, omitempty), float64/32/16, big.Int, and fuzz tested billions of execs
License: MIT
URL: %{gourl}
Source: %{gosource}
%description %{common_description}
%gopkg
%prep
%goprep -A
%autopatch -p1 -q
%if %{without bootstrap}
%generate_buildrequires
%go_generate_buildrequires
%endif
%install
%gopkginstall
%if %{without bootstrap}
%if %{with check}
%check
%gocheck
%endif
%endif
%gopkgfiles
%changelog
%autochangelog