Files
golang-github-buger-jsonpar…/golang-github-buger-jsonparser.spec
T
2025-01-12 01:29:15 +01:00

58 lines
1.1 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/buger/jsonparser
%global goipath github.com/buger/jsonparser
Version: 1.1.1
%global commit 61b32cfdfa0f5d368ef7c7daef28ce12d538740f
%gometa -L -f
%global common_description %{expand:
One of the fastest alternative JSON parser for Go that does not require schema.}
%global golicenses LICENSE
%global godocs README.md
Name: golang-github-buger-jsonparser
Release: %autorelease
Summary: One of the fastest alternative JSON parser for Go that does not require schema
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 -d benchmark
%endif
%endif
%gopkgfiles
%changelog
%autochangelog