From d2a44abcd188944258bf3182f654df16a9a0f928 Mon Sep 17 00:00:00 2001 From: Robert-André Mauchin Date: Jun 22 2019 21:43:48 +0000 Subject: Initial import Signed-off-by: Robert-André Mauchin --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c6c6402 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/go-1.1.6.tar.gz diff --git a/golang-github-json-iterator.spec b/golang-github-json-iterator.spec new file mode 100644 index 0000000..6c05594 --- /dev/null +++ b/golang-github-json-iterator.spec @@ -0,0 +1,52 @@ +# Generated by go2rpm +%bcond_without check + +# https://github.com/json-iterator/go +%global goipath github.com/json-iterator/go +Version: 1.1.6 + +%gometa + +%global common_description %{expand: +A high-performance 100% compatible drop-in replacement of "encoding/json".} + +%global golicenses LICENSE +%global godocs README.md fuzzy_mode_convert_table.md + +Name: %{goname} +Release: 1%{?dist} +Summary: High-performance 100% compatible drop-in replacement of "encoding/json" + +License: MIT +URL: %{gourl} +Source0: %{gosource} + +BuildRequires: golang(github.com/modern-go/concurrent) +BuildRequires: golang(github.com/modern-go/reflect2) + +%if %{with check} +# Tests +BuildRequires: golang(github.com/stretchr/testify/require) +%endif + +%description +%{common_description} + +%gopkg + +%prep +%goprep + +%install +%gopkginstall + +%if %{with check} +%check +%gocheck +%endif + +%gopkgfiles + +%changelog +* Sat Apr 27 15:15:43 CEST 2019 Robert-André Mauchin - 1.1.6-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..8ec9d4e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (go-1.1.6.tar.gz) = a3e6357a1ccead33c0ba1f532a86618450c79303de181a39e8557a9ba6c62ee24c294784e4446aacbdb12bb84d9136360537f9447079085558cea4a2a6be4320