diff --git a/.gitignore b/.gitignore index 0702aad..58ea9d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /go-jmespath-0.2.2.tar.gz +/go-jmespath-0.4.0.tar.gz diff --git a/golang-github-jmespath.spec b/golang-github-jmespath.spec index f440711..0bb5bdf 100644 --- a/golang-github-jmespath.spec +++ b/golang-github-jmespath.spec @@ -3,17 +3,10 @@ # https://github.com/jmespath/go-jmespath %global goipath github.com/jmespath/go-jmespath -Version: 0.2.2 -%global tag 0.2.2 -%global commit c2b33e8439af944379acbdd9c3a5fe0bc44bd8a5 +Version: 0.4.0 %gometa -# Remove in F33: -%global godevelheader %{expand: -Obsoletes: golang-github-jmespath-go-jmespath-devel < 0.2.2-0.12 -} - %global common_description %{expand: A JMESPath implementation in Go.} @@ -23,7 +16,7 @@ A JMESPath implementation in Go.} %global gosupfiles glide.lock glide.yaml Name: %{goname} -Release: 6%{?dist} +Release: 1%{?dist} Summary: Golang implementation of JMESPath # Upstream license specification: Apache-2.0 @@ -33,10 +26,10 @@ Source0: %{gosource} Source1: glide.yaml Source2: glide.lock -%if %{with check} -# Tests -BuildRequires: golang(github.com/stretchr/testify/assert) -%endif +BuildRequires: golang(github.com/davecgh/go-spew/spew) +BuildRequires: golang(github.com/pmezard/go-difflib/difflib) +BuildRequires: golang(github.com/stretchr/objx) +BuildRequires: golang(gopkg.in/yaml.v2) %description %{common_description} @@ -63,13 +56,17 @@ install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %endif %files -%license %{golicenses} -%doc %{godocs} +%license LICENSE +%doc README.md %{_bindir}/* %gopkgfiles %changelog +* Sun Dec 20 14:01:53 CET 2020 Robert-André Mauchin - 0.4.0-1 +- Update to 0.4.0 +- Close: rhbz#1880704 + * Sat Aug 01 2020 Fedora Release Engineering - 0.2.2-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 425121d..0f8a52a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-jmespath-0.2.2.tar.gz) = 93d1b64f6a0c658d832c065ddcd006b1d521a71c154a55a818a20063a9f9777640fa077a29e476c4e31f0b208a3c765a32aacf65d44d65d80702dccb7faed2a6 +SHA512 (go-jmespath-0.4.0.tar.gz) = e6b8f5cc0ff9fe0cf6ada762d24778a3cf78c3f00a99f34e5e3c2b7a4d1b9d233601921b59a22859056b59f1d7d53cfd027f558d55898aa36f9d828754d17568