# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/seborama/govcr %global goipath gopkg.in/seborama/govcr.v4 %global forgeurl https://github.com/seborama/govcr Version: 4.5.0 %gometa %global goaltipaths github.com/seborama/govcr %global common_description %{expand: HTTP mock for Golang: record and replay HTTP/HTTPS interactions for offline testing.} %global golicenses LICENSE %global godocs examples README.md Name: %{goname} Release: %autorelease Summary: HTTP mock for Go: record and replay HTTP/HTTPS interactions for offline testing License: Apache-2.0 URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-gopkg-seborama-govcr-4 = %{version}-%{release} Obsoletes: golang-gopkg-seborama-govcr-4 < 4.5.0-2 %global godevelheader %{expand: Provides: golang-gopkg-seborama-govcr-4-devel = %{version}-%{release} Obsoletes: golang-gopkg-seborama-govcr-4-devel < 4.5.0-2} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 sed -i "s|github.com/seborama/govcr|gopkg.in/seborama/govcr.v4|" $(find . -iname "*.go" -type f) %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check rm -rfv govcr_example*_test.go %gocheck %endif %gopkgfiles %changelog %autochangelog