Files
golang-github-stretchr-objx…/golang-github-stretchr-objx.spec
2025-01-13 16:14:35 +01:00

60 lines
1.2 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/stretchr/objx
%global goipath github.com/stretchr/objx
Version: 0.5.2
%global tag v0.5.2
%gometa -L -f
%global common_description %{expand:
Go package for dealing with maps, slices, JSON and other data.}
%global golicenses LICENSE
%global godocs README.md codegen/array-access.txt\\\
codegen/template.txt codegen/template_test.txt\\\
codegen/types_list.txt
Name: golang-github-stretchr-objx
Release: %autorelease
Summary: Go package for dealing with maps, slices, JSON and other data
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