diff --git a/.gitignore b/.gitignore index 9af4286..4e0cb34 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gojsondiff-1.0.0.tar.gz +/gojsondiff-0525c875b75ca60b9e67ddc44496aa16f21066b0.tar.gz diff --git a/golang-github-yudai-gojsondiff.spec b/golang-github-yudai-gojsondiff.spec index dfe4e36..2ad2354 100644 --- a/golang-github-yudai-gojsondiff.spec +++ b/golang-github-yudai-gojsondiff.spec @@ -1,47 +1,55 @@ -%global goipath github.com/yudai/gojsondiff -Version: 1.0.0 +# Generated by go2rpm +%bcond_without check + +# https://github.com/yudai/gojsondiff +%global goipath github.com/yudai/gojsondiff +Version: 1.0.0 +%global commit 0525c875b75ca60b9e67ddc44496aa16f21066b0 %gometa +%global common_description %{expand: +Package Gojsondiff implements "Diff" that compares two JSON objects and +generates Deltas that describes differences between them. The package also +provides "Patch" that apply Deltas to a JSON object.} + +%global golicenses LICENSE +%global godocs README.md + Name: %{goname} Release: 1%{?dist} -Summary: Go JSON format differences -License: MIT +Summary: Go JSON Diff + +License: # FIXME URL: %{gourl} Source0: %{gosource} -%description -%{summary}. - - -%package devel -Summary: %{summary} -BuildArch: noarch +BuildRequires: golang(github.com/onsi/ginkgo) +BuildRequires: golang(github.com/sergi/go-diff/diffmatchpatch) +BuildRequires: golang(github.com/urfave/cli) +BuildRequires: golang(github.com/yudai/golcs) -%description devel -%{summary}. - -This package contains library source intended for building other packages which -use import path with %{goipath} prefix. +%description +%{common_description} +%gopkg %prep -%forgeautosetup -p1 - +%goprep %install -%goinstall - +%gopkginstall +%if %{with check} %check -%gochecks - - -%files devel -f devel.file-list -%doc README.md -%license LICENSE +%gocheck +%endif +%gopkgfiles %changelog +* Tue May 14 19:03:44 CEST 2019 Robert-André Mauchin - 1.0.0-2.20190514git0525c87 +- Bump to commit 0525c875b75ca60b9e67ddc44496aa16f21066b0 + * Fri Mar 15 2019 Nathan Scott - 1.0.0-1 - First package for Fedora diff --git a/sources b/sources index 18681a5..0d67d34 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gojsondiff-1.0.0.tar.gz) = 0e5ee336c29182efaba942c4f877b84c2ab382545e2bbbf0d1b1b3c93a63b0808578e32bea691cbd65f63385edf09120f867a3aaa29f8e5888d8ca12220bf786 +SHA512 (gojsondiff-0525c875b75ca60b9e67ddc44496aa16f21066b0.tar.gz) = 547904a92eb77adebc942bf51ad14435b2afc5f88ce15ab1d7ced96b5b98bab776ad68ef21a6d21dcb590230f2c2f5782c95c76f7853a0520788195765775acd