# Generated by go2rpm 1.8.2 %bcond_without check %global debug_package %{nil} # https://github.com/alecthomas/assert %global goipath github.com/alecthomas/assert/v2 Version: 2.3.0 %gometa -f %global common_description %{expand: A simple assertion library using Go generics.} %global golicenses COPYING %global godocs README.md bin/README.hermit.md Name: %{goname} Release: %autorelease Summary: A simple assertion library using Go generics License: MIT URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-github-alecthomas-assert-2 = %{version}-%{release} Obsoletes: golang-github-alecthomas-assert-2 < 2.3.0-3 %global godevelheader %{expand: Provides: golang-github-alecthomas-assert-2-devel = %{version}-%{release} Obsoletes: golang-github-alecthomas-assert-2-devel < 2.3.0-3} %description %{common_description} %gopkg %prep %goprep %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog