summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2023-11-15 18:13:04 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2023-11-15 18:13:04 +0000
commit76fe80ac14638c2c2222ac251978de3907e5fa29 (patch)
tree3a78562cb1762f66347b71ba8cfed2486b1cb7b7
parent91973e6e7f9dc929fa1479e1e0793f8f506b2d5c (diff)
automatic import of golang-github-tidwall-sjsonHEADmasterf39f38
-rw-r--r--.gitignore1
-rw-r--r--golang-github-tidwall-sjson.spec59
-rw-r--r--sources1
3 files changed, 61 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..5a1654a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..9da4c9e
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+2fee9e7055d5c5eae4c4ecfbb3fbb491 sjson-1.2.5.tar.gz