Files
golang-sigs-k8s-json-rpm/golang-sigs-k8s-json.spec
2025-01-10 16:53:44 +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/kubernetes-sigs/json
%global goipath sigs.k8s.io/json
%global forgeurl https://github.com/kubernetes-sigs/json
%global commit cfa47c3a1cc8ff0eff148aa9ec5b0226d0909e87
%gometa -L -f
%global common_description %{expand:
Golang JSON decoder supporting case-sensitive, number-preserving, and strict
decoding use cases.}
%global golicenses LICENSE
%global godocs CONTRIBUTING.md README.md SECURITY.md code-of-\\\
conduct.md
Name: golang-sigs-k8s-json
Version: 0
Release: %autorelease -p
Summary: Golang JSON decoder supporting case-sensitive, number-preserving, and strict decoding use cases
License: Apache-2.0
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