# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/vmihailenco/msgpack %global goipath gopkg.in/vmihailenco/msgpack.v2 %global forgeurl https://github.com/vmihailenco/msgpack Version: 2.9.1 %gometa %global common_description %{expand: MessagePack encoding for Golang.} %global golicenses LICENSE %global godocs README.md Name: %{goname} Release: %autorelease Summary: MessagePack encoding for Golang License: BSD-3-Clause URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-gopkg-vmihailenco-msgpack-2 = %{version}-%{release} Obsoletes: golang-gopkg-vmihailenco-msgpack-2 < 2.9.1-12 %global godevelheader %{expand: Provides: golang-gopkg-vmihailenco-msgpack-2-devel = %{version}-%{release} Obsoletes: golang-gopkg-vmihailenco-msgpack-2-devel < 2.9.1-12} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check for test in "TestTypes" \ ; do awk -i inplace '/^func.*'"$test"'\(/ { print; print "\tt.Skip(\"disabled failing test\")"; next}1' $(grep -rl $test) done %gocheck %endif %gopkgfiles %changelog %autochangelog