# Generated by go2rpm 1.9.0 %bcond_without check %global debug_package %{nil} # https://github.com/hashicorp/golang-lru %global goipath github.com/hashicorp/golang-lru/v2 Version: 2.0.2 %gometa -f %global common_description %{expand: Golang LRU cache.} %global golicenses LICENSE simplelru/LICENSE_list %global godocs README.md Name: %{goname} Release: %autorelease Summary: Golang LRU cache License: MPL-2.0 and BSD-3-Clause URL: %{gourl} Source: %{gosource} # Remove in F43 Provides: golang-github-hashicorp-lru-2 = %{version}-%{release} Obsoletes: golang-github-hashicorp-lru-2 < 2.0.2-3 %global godevelheader %{expand: Provides: golang-github-hashicorp-lru-2-devel = %{version}-%{release} Obsoletes: golang-github-hashicorp-lru-2-devel < 2.0.2-3} %description %{common_description} %gopkg %prep %goprep %autopatch -p1 %generate_buildrequires %go_generate_buildrequires %install %gopkginstall %if %{with check} %check %gocheck %endif %gopkgfiles %changelog %autochangelog