diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-11-15 18:13:04 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2023-11-15 18:13:04 +0000 |
commit | 76fe80ac14638c2c2222ac251978de3907e5fa29 (patch) | |
tree | 3a78562cb1762f66347b71ba8cfed2486b1cb7b7 | |
parent | 91973e6e7f9dc929fa1479e1e0793f8f506b2d5c (diff) |
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | golang-github-tidwall-sjson.spec | 59 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 61 insertions, 0 deletions
@@ -0,0 +1 @@ +/sjson-1.2.5.tar.gz diff --git a/golang-github-tidwall-sjson.spec b/golang-github-tidwall-sjson.spec new file mode 100644 index 0000000..3638407 --- /dev/null +++ b/golang-github-tidwall-sjson.spec @@ -0,0 +1,59 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.3.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +# Generated by go2rpm 1.9.0 +%bcond_without check +%global debug_package %{nil} + +# https://github.com/tidwall/sjson +%global goipath github.com/tidwall/sjson +Version: 1.2.5 + +%gometa -f + + +%global common_description %{expand: +Set JSON values very quickly in Go.} + +%global golicenses LICENSE +%global godocs README.md + +Name: %{goname} +Release: %autorelease +Summary: Set JSON values very quickly in Go + +License: MIT +URL: %{gourl} +Source: %{gosource} + +%description %{common_description} + +%gopkg + +%prep +%goprep +%autopatch -p1 + +%generate_buildrequires +%go_generate_buildrequires + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Wed Nov 15 2023 John Doe <packager@example.com> - 1.2.5-1 +- Uncommitted changes @@ -0,0 +1 @@ +2fee9e7055d5c5eae4c4ecfbb3fbb491 sjson-1.2.5.tar.gz |