diff --git a/.gitignore b/.gitignore index 85fd00d..0979dd1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ +<<<<<<< HEAD /go-cmp-0.2.0.tar.gz +======= +/go-cmp-0.3.0.tar.gz +>>>>>>> Initial import diff --git a/golang-github-google-cmp.spec b/golang-github-google-cmp.spec index 7f45dd9..5bc7120 100644 --- a/golang-github-google-cmp.spec +++ b/golang-github-google-cmp.spec @@ -1,36 +1,25 @@ -# Run tests in check section +# Generated by go2rpm %bcond_without check +# https://github.com/google/go-cmp %global goipath github.com/google/go-cmp -Version: 0.2.0 +Version: 0.3.0 -%global common_description %{expand: -This package is intended to be a more powerful and safer alternative to -reflect.DeepEqual for comparing whether two values are semantically equal. - -The primary features of cmp are: - - - When the default behavior of equality does not suit the needs of the - test, custom equality functions can override the equality operation. - For example, an equality function may report floats as equal so long as - they are within some tolerance of each other. +%gometa - - Types that have an Equal method may use that method to determine equality. - This allows package authors to determine the equality operation for the types - that they define. +%global common_description %{expand: +This package is intended to be a more powerful and safer alternative +to reflect.DeepEqual for comparing whether two values are semantically +equal.} - - If no custom equality functions are used and no Equal method is defined, - equality is determined by recursively comparing the primitive kinds on both - values, much like reflect.DeepEqual. Unlike reflect.DeepEqual, unexported - fields are not compared by default; they result in panics unless suppressed - by using an Ignore option (see cmpopts.IgnoreUnexported) or explicitly - compared using the AllowUnexported option.} - -%gometa +%global golicenses LICENSE +%global godocs CONTRIBUTING.md README.md Name: %{goname} -Release: 3%{?dist} -Summary: Package for comparing Go values in tests +Release: 1%{?dist} +Summary: Package for comparing go values in tests + +# Upstream license specification: BSD-3-Clause License: BSD URL: %{gourl} Source0: %{gosource} @@ -38,45 +27,39 @@ Source0: %{gosource} %description %{common_description} - -%package devel -Summary: %{summary} -BuildArch: noarch - -%description devel -%{common_description} - -This package contains library source intended for -building other packages which use import path with -%{goipath} prefix. - +%gopkg %prep -%forgeautosetup - +%goprep %install -%goinstall - +%gopkginstall %if %{with check} %check -%gochecks +%gocheck %endif - -%files devel -f devel.file-list -%license LICENSE -%doc README.md CONTRIBUTING.md - +%gopkgfiles %changelog -* Fri Feb 01 2019 Fedora Release Engineering - 0.2.0-3 +* Tue Apr 23 09:54:00 CEST 2019 Robert-André Mauchin - 0.3.0-1 +- Release 0.3.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 0.2.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild +* Sun Nov 11 2018 Robert-André Mauchin - 0.2.0-4 +- Update to new Go packaging + * Fri Jul 13 2018 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild -* Wed Mar 21 2018 Robert-André Mauchin - 0.2.0-1 -- First package for Fedora +* Tue Feb 20 2018 Ed Marshall - 0.2.0-1 +* Update to upstream release 0.2.0. +* Wed Feb 07 2018 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Oct 19 2017 Ed Marshall - 0.1.0-1 +- First package for Fedora diff --git a/sources b/sources index 002c344..a428e8b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (go-cmp-0.2.0.tar.gz) = 013783d62f33e2a86de43105adef7dc3ade43cb483f0da444340a60d515585b6908e0b0dbf6daf96333ce24dd5a5035824e73f200c54f801ae9e479abe72e983 +SHA512 (go-cmp-0.3.0.tar.gz) = 74c39cdf2b73cc9219082a20083ef2a104e77c539b34d697ad36d5e0a203fb77532fb5a9bac365c1d8957237a4d165dcb5ab31d32c96014e3090535f812ee1de